Hi,
I have a (strange) problem using Hibernate together with Spring / Struts on a Tomcat Server. When I deploy my Project (using Eclipse WTP), I get the following error in the console:
Code:
14.06.2007 14:19:13 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
SCHWERWIEGEND: could not get database metadata
com.ibm.db2.jcc.c.SQLException: DB2 SQL error: SQLCODE: -206, SQLSTATE: 42703, SQLERRMC: SEQNAME
...
...
14.06.2007 14:19:13 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
SCHWERWIEGEND: could not complete schema update
com.ibm.db2.jcc.c.SQLException: DB2 SQL error: SQLCODE: -206, SQLSTATE: 42703, SQLERRMC: SEQNAME
But after this the deployment continues and I can access the tables with hibernate. I don't know why this appears, does anybody has an idea?
To access hibernate I'm using the org.springframework.orm.hibernate3.LocalSessionFactoryBean-Class. For the datasource I'm using the com.mchange.v2.c3p0.ComboPooledDataSource-Class.
And my database is a DB2-Database
Thanks in advance