Themes for NetBeans JPA Modeler

The latest release, which came out today, of the awesome JPA Modeler plugin for NetBeans (by Gaurav Gupta) provides a theme switcher. Click to enlarge the image below.

Not one line of code in the many classes you see above was created by me. Instead, they were all generated from the diagram, which was generated from my database.

Get it here:

http://plugins.netbeans.org/plugin/53057/jpa-modeler

Comments:

Hello Gertjan

I'm starting a new project and installed the JPA-Plugin.

My problem:
- I built the JPA-Diagram
- then I generated the source code -> it worked well
- then I generated the persistence, also ok
- then I created the JPATest.java (with createEntityManagerFactory and EntityManager), which generates the tables. It all works well and I can see the tables from the classes
- after that I changed different code (like attributes and some Java-Code in direct) direct in the classes

-> now I tried to generate a new JPA-Diagram from the changed classes with right-mouse-click -> new -> "JPA-Diagram from reverse engineering (Classes)-> filled in the expected forms and pressed "finish"
-> unfortunately it didn't generate any new diagram!

-> My intention was, that after programming I update the JPA-Diagramm
-> An other problem is, that if I generate once more the source code from the JPA-Diagram (as an example I added some new relations to the diagram), it overwrites all the changes I made before direct in the classes.
-> A third problem is, that if I generate the JPA-Diagram from the Database-Table it generates the diagram with all the connections, but it does not generate the embeddable JPA-Classes which are repesented as a table in the database? -> Is that because I can not add a primary-key?

Do you know any solution?

Thanks in advance,

Alexander

Posted by Alexander Schugg on April 25, 2014 at 12:28 AM PDT #

You think the solution might be to file an issue?

https://java.net/projects/jpamodeler

Posted by Geertjan on April 25, 2014 at 03:47 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« May 2015
SunMonTueWedThuFriSat
     
2
3
8
9
10
19
24
25
26
27
28
29
30
31
      
Today