GeeCON Prague 2014*
The moose likes Object Relational Mapping and the fly likes Hibernate Tools / Oracle create Sequence in Mapping Ressource file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Tools / Oracle create Sequence in Mapping Ressource file" Watch "Hibernate Tools / Oracle create Sequence in Mapping Ressource file" New topic
Author

Hibernate Tools / Oracle create Sequence in Mapping Ressource file

Michael Li
Greenhorn

Joined: Aug 26, 2008
Posts: 2
Hello,

i hope somebody can help me.

I want to create *.hbm.xml Files with reverse reverse engineering (<jdbcconfiguration>).

The build script is:
build.xml


revengfile:



This way works fine, but i have more than one table, so what is the easiest way to get the sequences per table : Pattern tbl_*.

so the result should be:


Each Table tbl_* have a sequence with name seq_* (tbl_test, seq_test)

thanks





Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

ml ml , please check your private messages.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
GeeCON Prague 2014
 
subject: Hibernate Tools / Oracle create Sequence in Mapping Ressource file