I have
- The MySQL database currently used for use in the CakePHP application
- A Java SE application accessing the same database through Hibernate is currently under development.
I use the "automate" function of Netbeans to create POJO classes and XML files (do I really need XML files when using annotations?). Because the layout is quite complex, manually creating tables is too much work.
Cake expects all database tables to be multiple (the Address class is automatically mapped to an address table). When Netbeans automatic migration starts, it pluralizes the names of already pluralized tables (I get the Addresses.java and setAddresseses () methods).
I know that I am asking for problems with running two very different data layers in relation to the same database, but I would like to know if Netbeans can generate POJO classes in a single form or if there is another (better) way to manage this.
source
share