-->
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 gradle + reveng + immutability
PostPosted: Tue Dec 09, 2014 9:50 pm 
Newbie

Joined: Fri Feb 28, 2014 9:35 am
Posts: 2
Dear,

I would like to generate java class as immutable, for this attributes are marked as final and entity is build from constructor with any setter.

How to do this with gradle ?
what is the use of:
- hibernate-gradle-plugin.gradle: https://github.com/hibernate/hibernate-orm/blob/master/tooling/hibernate-gradle-plugin/hibernate-gradle-plugin.gradle
- hibernate-jpamodelgen.gradle: https://github.com/hibernate/hibernate-orm/blob/master/tooling/metamodel-generator/hibernate-jpamodelgen.gradle
- source-generation.gradle: https://github.com/hibernate/hibernate-orm/blob/master/source-generation.gradle

Thanks you full and partial answers are welcome

Regards


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.