-->
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: JDK 5 annotations in generated Java code?
PostPosted: Tue Apr 04, 2006 1:52 pm 
Newbie

Joined: Fri Mar 10, 2006 6:32 pm
Posts: 3
I'm trying to find out if it is possible to put something in my mapping files (.hbm.xml) to get hbm2java to include some JDK 5 annotations on the classes/fields/methods it produces. For example, is there a way to get Hibernate to put @SomeAnno(somevalue) above each field or each method?

I'm fairly new to Hibernate and code generation technologies, so very clear, verbose answers are very appreciated. Of course, even short, turse answers will probably be helpful.

Thanks in advance.


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.