users@glassfish.java.net

persistence: ommiting sequence for ID?

From: <glassfish_at_javadesktop.org>
Date: Thu, 24 May 2007 06:50:02 PDT

Hello.

Maybe someone knows if I can change in the runtime configuration of entities? I have one entity used in various databases in one application, and I need to make It use sequence generator in one database, but the another should use ID that I provide from within the code.
Is it possible?

Thanks in advance?
[Message sent by forum member 'kretes' (kretes)]

http://forums.java.net/jive/thread.jspa?messageID=218716