• Post Reply Bookmark Topic Watch Topic
  • New Topic

JVM does not support Statement.getGeneratedKeys()  RSS feed

 
Ramona Gabriela
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am developing a struts + hibernate application under IBM Portal. I keep getting this error though, when trying to initialize hibernate:

net.sf.hibernate.cfg.Environment: JVM does not support Statement.getGeneratedKeys()

java.lang.ExceptionInInitializerError: java.lang.SecurityException: Prohibited package name: java.util


Does anyone have any idea what's going on?

Thanks a lot in advance.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like your driver doesn't support the getGeneratedKeys method. Check your driver documentation.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!