Questions Tagged With dataclasshttps://answers.axonivy.com/tags/dataclass/?type=rss&user=Stelt0questions tagged <span class="tag">dataclass</span>enWed, 21 Dec 2016 09:19:58 -0500Eager Loadinghttps://answers.axonivy.com/questions/2311/eager-loading<p>Hello Ivy Team,</p> <p>In my project, I had to switch from the default Eager loading to the Lazy loading of the Entity classes. The reason was that the queries were not optimized. Now I have the following problem, every time I try to inspect the variables in debug mode, the Designer is throwing errors and it is almost impossible for debugging:</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/Capture_JJL7IfL.JPG"></p> <p>Best Regards, Yordan Yunchov</p>Stelt0Wed, 21 Dec 2016 09:19:58 -0500https://answers.axonivy.com/questions/2311/eager-loadingprocessdebuggingdesignerjavadataclassEnums in Entity Classeshttps://answers.axonivy.com/questions/1899/enums-in-entity-classes<p>Hi All,</p> <p>What is the best practice in ivy to manage Enums in persistence classes ?</p> <p>this example looks fine to me <a href="http://www.codejava.net/frameworks/hibernate/hibernate-enum-type-mapping-example">http://www.codejava.net/frameworks/hibernate/hibernate-enum-type-mapping-example</a> </p> <p>but how do I implemented in in ivy ? how to add @Enumerated to a field ?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Mon, 18 Jul 2016 08:58:08 -0400https://answers.axonivy.com/questions/1899/enums-in-entity-classesdataclasshibernateenumEntity Class Migrationshttps://answers.axonivy.com/questions/1872/entity-class-migrations<p>Hello Guys,</p> <p>I`m new to Hibernate and JPA. I have an Axon.Ivy project that has couple of Entity Classes. I want to move them in a separate project and separate namespace(package) and also to add some additional fields.</p> <p>What are the implications when I`m changing the data model and the namespaces ? How do I migrate the changes to the production server ?</p> <p>In .Net Entity Framework there is a concept of 'migrations' where the changes to the database are applied automatically when the code is deploys.</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Wed, 06 Jul 2016 10:08:37 -0400https://answers.axonivy.com/questions/1872/entity-class-migrationsdataclassmigrationpersistence