aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JVM does not support Statement.getGeneratedKeys()
 
Similar Threads
UnsupportedOperationException Statement.getGeneratedKeys()
Statement.getGeneratedKeys() with Sybase not working
Unable to create schema
mysql and statement.getGeneratedKeys()
purpose of using statement.getGeneratedKeys