users@glassfish.java.net

Re: Database view with JPA for jdbc realm

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 May 2009 01:02:41 PDT

Not the answer I was hoping for... :-)

I was afraid of that, though. Its the same problem with preloading the database with an initial dataset. E.g. inserting initial users and groups when the application is deployed.

There should be an annotation in the J2EE API like @PostDeploy, in which you could do these activities.

BR,
Mattias
[Message sent by forum member 'nightzero' (nightzero)]

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