primary key using sequences

Sagar B <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
Hi All,
Should be a simple question for all you middlegen veterans out there..
 
I am using the middlegen-hibernate plug in to read an existing schema and
generate the appropriate hbm.xml files. I can specifiy which tables I want
the mapping files for ( by using the <table> but in cases where I want the primary key of the table to be generated using a sequence, I cant seem to find the syntax or the
construct to specify that in the middlegen ant task.
 
 Any pointers on this?
 
Thanks in advance

		
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
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.