-->
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.  [ 3 posts ] 
Author Message
 Post subject: Rev eng POJOs with JPA annotations
PostPosted: Mon Aug 23, 2010 11:05 am 
Newbie

Joined: Mon Aug 23, 2010 11:02 am
Posts: 2
Hi!

Is it possible to generate annotated POJO classes with JPA annotations in such a way that every String field will have an @Column annotation containing "length" attribute resolved from VARCHAR length?

I was unable to figure it out in eclipse.

thanks!


Top
 Profile  
 
 Post subject: Re: Rev eng POJOs with JPA annotations
PostPosted: Mon Aug 23, 2010 11:34 am 
Beginner
Beginner

Joined: Fri Aug 24, 2007 9:47 am
Posts: 21
Yes it is, with hibernate tools :)

_________________
recherche-programmeur.fr


Top
 Profile  
 
 Post subject: Re: Rev eng POJOs with JPA annotations
PostPosted: Mon Aug 23, 2010 12:06 pm 
Newbie

Joined: Mon Aug 23, 2010 11:02 am
Posts: 2
I was using newest HT 3.2 but still could not figure it out. I check JPA annotations in Configuration. Do I need some special resolver?


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