-->
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.  [ 13 posts ] 
Author Message
 Post subject: hibernate.cfg.xml generation in hibernate-tools 3
PostPosted: Tue Jan 24, 2006 9:15 am 
Beginner
Beginner

Joined: Tue Jan 17, 2006 6:16 am
Posts: 31
i'm newbie in hibernate tools and sorry for this question.

i've hibernate-tools 3 source code.
how i can generate hibernate.cfg.xml file?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 9:17 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Ctrl+N in eclipse and select the hibernate.cfg.xml wizard.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 9:25 am 
Beginner
Beginner

Joined: Tue Jan 17, 2006 6:16 am
Posts: 31
max wrote:
Ctrl+N in eclipse and select the hibernate.cfg.xml wizard.


sorry for my english.

u didn't understand, i want write hibernate.cfg.xml generator class using hibernate-tools 3 source code.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 9:29 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
i don't understand what "write hibernate.cfg.xml generator class using hibernate-tools 3 source code" means. sorry.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 9:36 am 
Beginner
Beginner

Joined: Tue Jan 17, 2006 6:16 am
Posts: 31
ok. how does eclipse generate this file?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 9:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
by running the HibernateConfigurationExporter.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 9:53 am 
Beginner
Beginner

Joined: Tue Jan 17, 2006 6:16 am
Posts: 31
max wrote:
by running the HibernateConfigurationExporter.

thanks, that is exactly i was interested in.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 9:58 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
anything specific you want to change ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 10:09 am 
Beginner
Beginner

Joined: Tue Jan 17, 2006 6:16 am
Posts: 31
max wrote:
anything specific you want to change ?


nothing. i just want to use it. i'm writing a small prog for myself wich will generate xml and java files as eclipse does it.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 10:17 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
any reason why you dont use the ant tasks then ? :)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 10:28 am 
Beginner
Beginner

Joined: Tue Jan 17, 2006 6:16 am
Posts: 31
max wrote:
any reason why you dont use the ant tasks then ? :)


;) :) i've no resons for it becouse i'm newbie on hibernate and i' didn't know that it could be done by ant task.
can you give me some advices from where to begin plz ..


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 10:33 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
the docs found at tools.hibernate.org have instructions for using ant as well as hibernate.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 10:58 am 
Beginner
Beginner

Joined: Tue Jan 17, 2006 6:16 am
Posts: 31
max wrote:
the docs found at tools.hibernate.org have instructions for using ant as well as hibernate.

ok i'll see for sure.


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

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.