Hi!
I am trying the Spring and Hibernate plugins. Looks great but I have one problem. If I try to configure Hibernate within Spring with the
<property name="hbm2ddl.auto">update</property>
directive nothing happens, I get the error, that the table I am trying to access does not exist (tried create and create-drop too, no difference).
Anybody an idea?
The exception (in short: table not found. How if it is not created *smiles*)
Exception in thread “main” org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: could not load an entity: [pfad…MeinObjektle]; bad SQL grammar
[select x0_.id as id0_, x0_.averageAccessTime as averageA2_0_0_ from MeinObjektle x0_ where x0_.id=?]; nested exception is java.sql.SQLException: Table not found in statement [select x0_.id as id0_, x0_.averageAccessTime as averageA2_0_0_ from MeinObjektle x0_ where x0_.id=?]