-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hbm2hbmxml
PostPosted: Mon Jan 23, 2006 9:06 am 
Newbie

Joined: Mon Jan 23, 2006 8:54 am
Posts: 1
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.1


The generated SQL (show_sql=true):



Hi all,

i am a hibernate rooky and start training myself, so sorry for stupid question :-). I need to do reverse engeneering from a known oracle database, so i configure the hibernate.reveng.xml for select one table. It works. I got the *.hbm.xml and the java class :-) great.
No i have to implement the extend class. How is it possible to bring this into a reveng file ? Can anybody support me here ?

in my build.xml i configured the lines:
....
<jdbcconfiguration revengfile="${basedir}/hibernate.reveng.xml" configurationfile="${basedir}/lib/hibernate.cfg.xml"/>
<hbm2hbmxml/>
<hbm2java/>
.....


the hibernate.reveng.xml looks like :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-reverse-engineering SYSTEM "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" >
<hibernate-reverse-engineering>
<!-- table-filter match-name="*" exclude="true" / -->
<table-filter match-schema="HLS_1300_ALPHA" match-name="SHPS" exclude="false" />
</hibernate-reverse-engineering>


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.