I created all my integers as a "integer". It also didn't work for integer.
Does the "Entity from Database" Process surely use the Hibernate.dialect? Maybe the Type Transformation have to be configured in an other Part of the Programm?
Edited by: 988584 on 25.02.2013 11:35
I changed that in the persistence.xml
I add an "import org.hibernate.dialect.PostgreSQLDialect;" to a class and they are no import problems with that.
I changed that line in the persistence.xml
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
But this didnt help in both Ways "ejb-diagram" and "entity from database".
Can I check anywhere if the import is right?
Thank you for your help!
org.hibernate.dialect.PostgreSQLDialect is deprecated.
Use org.hibernate.dialect.PostgreSQL82Dialect instead.
I changed the Line to <property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect"/> and nothing changed.
If I use the "Create Entities from Tables" Dialog the columns "Type", "Column Name" and "Nullable" are grey.
Can I add the compability by my self?