Difference between revisions of "Netbeans"
From Blue-IT.org Wiki
(→Database Roundtrip Engeneering with Jeddit) |
(→Database Roundtrip Engeneering with Jeddit) |
||
Line 9: | Line 9: | ||
I am combining Eclipse (Java) and Netbeans with Jeddit (DB design and maintaining) sharing the same project. | I am combining Eclipse (Java) and Netbeans with Jeddit (DB design and maintaining) sharing the same project. | ||
+ | |||
+ | [[Category: Java]] | ||
+ | [[Category: UML]] | ||
+ | [[Category: Netbeans]] | ||
== Tips == | == Tips == | ||
* '''Create Get-Setters:''' simply press Alt+Insert somewhere in the code. | * '''Create Get-Setters:''' simply press Alt+Insert somewhere in the code. |
Revision as of 13:09, 30 April 2017
Database Roundtrip Engeneering with Jeddit
Unfortunately there is no (free) database plugin for roundtrip engeneering in Eclipse. But within Netbeans there exists such a tool: Jeddit.
- Requires Java > 1.8
- https://jeddict.github.io/page.html?l=tutorial/QuickStart
You will be given a visual database editor which a lot of possibilities of various database types. But most important: the tool allows you to generate entity classes with all getter an setter methods, the persitance xml. But the best is: you can alter your (visual) database model, work with stored procedures and a lot more e.g. a simple MVC Web App support or a concept to build " Dockerize Java EE Application". Try it out.
Advantage: manually altered or added source code to the entity classes will not be touched upon a new export of the db ui model! This is no complete reverse engeneering, where a reinport of source code into the model would be possible - but you really won't need this.
I am combining Eclipse (Java) and Netbeans with Jeddit (DB design and maintaining) sharing the same project.
Tips
- Create Get-Setters: simply press Alt+Insert somewhere in the code.