Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Tools / Oracle create Sequence in Mapping Ressource file

 
Michael Li
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ml ml , please check your private messages.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!