This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Hibernate Tools / Oracle create Sequence in Mapping Ressource file
 
Similar Threads
jdk5 and ejb3 options unavailable in HibernateTools-3.2.4.GA
Error in reverse engineering from an existing database
why my oracle sequence id increases by 2 when I use hibernate to insert
HibernateTools Generating Wrong Code
Hibernate: confusion how to include seperate attribute in many-to-many mapping file