-->
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: Hibernate Code Generation
PostPosted: Tue Sep 17, 2013 9:07 am 
Newbie

Joined: Tue Sep 17, 2013 8:18 am
Posts: 1
Hi!

I'm new here and this is my first post =D

Here is my question:

Is it possible to generate composite-id classes (*VOId.java) but instead of creating separate files, include the code inside its parent class?

ie: Hibernate Code Generation spitted out CatVetVO.java and CarVetVOId.java. Is there a way of telling Code generation to include the classes, properties etc of the CarVetVOId.java inside CatVetVo.java automatically?

I'm asking this because here where I work all VOs include its composite-id classes in the same file.

Thanks!


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.