JPA or Hibernates with Oracle Table Partitions?

I need to use the Entity framework with my application, and I used table partitions in an Oracle database. With a simple JDBC, I can select data from a specific section. But I do not know if I can do the same with hibernate or Eclipse link (JPA). If anyone knows how to do this, please let me know.

usually the select statement in JDBC-SQL is,

select * from TABLE_NAME partiton(PARTITON_NAME) where FIELD_NAME='PARAMETER_VALUE';

How can I do the same with Hibernates or JPA?

Please share at least a link to the sources of training.

Thank!!!

+3
source share
3 answers

JPA ORM Oracle ( , ).

, :

+2

- . , . , . SQL- , . , , .

+1

Source: https://habr.com/ru/post/1764480/


All Articles