Sequence is specified for pk as follows:
        <entity-command name="postgresql-fetch-seq">
                my_sequence
        </entity-command>

it there any way to tell JBoss to create the sequence when ear deployed (as for 
all tables, etc)?
I digged and I couldn't find how.

One can say: do it youselft is is just one sql: 'create sequence my_sequence' 
s. But I think many preffers when whole DB is created by container and not to 
bother with additional scripts/sql code.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878332#3878332

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878332


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to