File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes JVM does not support Statement.getGeneratedKeys() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "JVM does not support Statement.getGeneratedKeys()" Watch "JVM does not support Statement.getGeneratedKeys()" New topic
Author

JVM does not support Statement.getGeneratedKeys()

Ramona Gabriela
Greenhorn

Joined: Jul 16, 2007
Posts: 4
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

Joined: Apr 14, 2004
Posts: 10336

Sounds like your driver doesn't support the getGeneratedKeys method. Check your driver documentation.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
wood burning stoves
 
subject: JVM does not support Statement.getGeneratedKeys()