|
|
|
[
Permlink
| « Hide
]
Alexander Chernikov - 20 Mar 08 17:06
8240: still the same, BTW.
Now Tab overwrites the rest of the package name, as expected
8838: yes, it overwrites the package name. In specified case it produces the following wrong code:
<property name="dialect">org.hibernate.dialect.DerbyDialect.DerbyDialect</property> Because this property's completion suggests not the package names one by one, but full qualified names. To configure the hibernate do the following:
1. Add Hibernate facet to the module. 2. In Hibernate facet properties, Descriptor table do Add descriptor. Agree to add some hibernate.cfg.xml into a source root. 3. If the module has no dependencies to libraries required for Hibernate, then facet properties show Fix button. Use to to add jars. 4. Apply properties, go to hibernate.cfg.xml in editor. Insert an element like: <property name="dialect">org.hibernate.dialect.DerbyDialect</property> inside <session-factory> element. |
|||||||||||||||||||||||||||||||||||||||||||||||||