• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate 2  RSS feed

 
Tiago Fernandez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!
I'm using Hibernate 2 in my web application, and works fine with MySQL, but when I switch the hibernate.properties to use the same DB with the IBM DB2 8.x, I got the followin' error message:
"The user must supply a JDBC connection"
hibernate.properties:
...
dialect = net.sf.hibernate.dialect.DB2Dialect
driverclass = COM.ibm.db2.jdbc.app.DB2Driver
url = jdbc b2:struts
Anybody know what's going on?
Tks,
 
Tiago Fernandez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hum...
Forget about it, I found out myself.
The problem is that the Hibernator 0.9.5 (plug-in for Eclipse) don't work at all. I get this solved writing a hibernate.properties file inside /WEB-INF/classes directory, and configurin' it appropriately.
Thanks anyway,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!