-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Problem with Struts + Spring + Hibernate
PostPosted: Thu Jun 14, 2007 8:23 am 
Newbie

Joined: Thu Jun 14, 2007 8:10 am
Posts: 7
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 16, 2007 3:19 am 
Newbie

Joined: Thu Jun 14, 2007 8:10 am
Posts: 7
Hi,

found a solution on the spring-forum. Here's the link:
http://forum.springframework.org/showthread.php?t=40096


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.