-->
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: underscore in insert statment.
PostPosted: Sat Apr 19, 2008 7:47 am 
Newbie

Joined: Fri Apr 18, 2008 5:53 pm
Posts: 4
I've set up my hibernate from looking at the info on this site and after going through multiple iterations with different errors I'm finally able to get hibernate to see the database and try to insert data. Two underscores are being inserted between my schema and table.

Insert statment looks like

Hibernate: insert into __TABLE(......)

error looks like

java.sql.BatchUpdateException: Table 'SCHEMA.__TABLE' doesn't exist

I would imagine this is some kinda of configuration issues, but I'm not sure. Anyone run across this .

I'm using the latest hibernate jars.. 3.2.6
fedora 8 Linux
Mysql 5
java 1.7.0


Top
 Profile  
 
 Post subject: fixed
PostPosted: Sat Apr 19, 2008 9:45 am 
Newbie

Joined: Fri Apr 18, 2008 5:53 pm
Posts: 4
Incase anyone else has this problem. I can't point to the exact jar file, but it was a problem with jar files in my web-inf/lib folder. I solved the problem by deleting all the jars in the folder and pulling the lib folder from the hibernate jar into my project. Worked like a charm after that.


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.