java - hibernate 4 - sessionFactory.addPackage - configuration file analogue? -
I think hibernate 3 was the key to a property hibernate.packagesToScan
Set a session code at the factory level at hibernate.cfg.xml .
Is this key changed to Hibernate 4 and if so, what is its related key?
I am using final version 4.3.8.
"post-text" itemprop = "text">
In the hibernate properties, you should:
& lt; Property Name = "Hibernate.archive.autodetection" Value = "Class, HBM" /> In perseverance. Xml should:
& lt; Excluded-unlisted-sections & gt; Wrong & lt; / Excluded-unlisted-sections & gt;
Comments
Post a Comment