Forcing sequences in PostgreSQL

Tomasz Kochanek <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
I am using PostgreSQl and sequences. I have tried to use midllegen to 
generate Hibernate mapping. The problem is that for all tables I get 
generator type="assigned" even if table is based on sequence.

According to hibernate docs it's not recommendedto use type assigned.
Is it ok? Is it possible to use sequences ??

Thanks for help

----------------------------------------------------------------------
Portal INTERIA.PL zaprasza... >>> http://link.interia.pl/f17cb



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.