tag:blogger.com,1999:blog-25636372.post137593372959997712..comments2024-03-13T05:01:24.841-07:00Comments on Josh's Dev Blog - Java, Jakarta EE, Jython, Oracle, and More...: NetBeans Java EE Tip #1 - Entity Classes From DatabaseJosh Juneauhttp://www.blogger.com/profile/09428149784665036612noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-25636372.post-52944620275103445352016-02-14T23:21:00.981-08:002016-02-14T23:21:00.981-08:00It is a nice feature, but I quickly had a additio...It is a nice feature, but I quickly had a additional functionality. Especially the fact that once loaded, the coder is responsible for keeping the in memory representations in sync. So I created a generator that based on the foreign keys also adds setters, getters, adders and removers that called each other. These generated classes are @MappedSuperclass where everything is protected and the business logic can then be placed in the extending custom class. Works remarkably well.tbeehttps://www.blogger.com/profile/02676132703267756531noreply@blogger.com