-->
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.  [ 6 posts ] 
Author Message
 Post subject: EJB3 annotations & hbm2ddl
PostPosted: Fri Feb 17, 2006 1:14 am 
Newbie

Joined: Fri Feb 17, 2006 1:10 am
Posts: 3
I am working on a project that uses EJB3 with Hibernate 3.0 and we use EJB3 annotations to map objects to database. My questions are:

1. Is it possible to generate ddl from EJB3 annotations?

2. Is it possible to generate hibernate mapping xml from EJB3 annotations?

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 17, 2006 3:37 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
1) yes

2) yes (to a certain extent)

tools.hibernate.org

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: hbm2ddl works with EJB3 annotations?
PostPosted: Fri Feb 17, 2006 1:40 pm 
Newbie

Joined: Fri Feb 17, 2006 1:10 am
Posts: 3
Max,

Thanks for the feedback. Could you please explain to me how to generate ddl from EJB3 annotations?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 17, 2006 4:36 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
did you try and go to the url i posted and read the docs ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: url ?
PostPosted: Fri Feb 17, 2006 6:09 pm 
Newbie

Joined: Fri Feb 17, 2006 1:10 am
Posts: 3
I dont see any url in your post. Did I miss something?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 17, 2006 6:17 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
http://tools.hibernate.org

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.