aspose file tools
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
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
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
Hibernate: confusion how to include seperate attribute in many-to-many mapping file
HibernateTools Generating Wrong Code