A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
JVM does not support Statement.getGeneratedKeys()
Joined: Jul 16, 2007
Aug 10, 2007 07:49:00
I am developing a
+ 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()
: Prohibited package name: java.util
Does anyone have any idea what's going on?
Thanks a lot in advance.
Joined: Apr 14, 2004
Aug 10, 2007 07:56:00
Sounds like your driver doesn't support the getGeneratedKeys method. Check your driver documentation.
It is sorta covered in the
JavaRanch Style Guide
subject: JVM does not support Statement.getGeneratedKeys()
mysql and statement.getGeneratedKeys()
purpose of using statement.getGeneratedKeys
Unable to create schema
Statement.getGeneratedKeys() with Sybase not working
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013