You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`hibernate.mapping.precedence` | `true` or `false` (default value) |
221
+
Bu default both HBM, annotations, and JPA XML mappings are scanned.
222
+
223
+
When using JPA, to disable the automatic scanning of all entity classes, the `exclude-unlisted-classes` `persistence.xml` element must be set to false.
Used to specify the order in which metadata sources should be processed.
224
228
Value is a delimited-list whose elements are defined by `org.hibernate.cfg.MetadataSourceType`.
225
229
226
-
Default is `hbm,class"` which indicates to process `hbm.xml` files followed by annotations (combined with `orm.xml` mappings).
230
+
Default is `hbm,class"`, therefore `hbm.xml` files are processed first, followed by annotations (combined with `orm.xml` mappings).
231
+
232
+
When using JPA, the XML mapping overrides a conflicting annotation mapping that targets the same entity attribute.
227
233
228
234
3+|JDBC-related options
229
235
|`hibernate.use_nationalized_character_data` |`true` or `false` (default value) |Enable nationalized character support on all string / clob based attribute ( string, char, clob, text etc ).
0 commit comments