2
I have a database with many tables, I have to create the Pojo of each table? If yes, have to automate?
2
I have a database with many tables, I have to create the Pojo of each table? If yes, have to automate?
2
Web project, my brother?
If you’re using JPA with provider Hibernate, to IDE Eclipse for Java EE has a feature for creating entities from tables, just select the project with the right click go on JPA tools and choose Genereted Entities from Tables. From this, it will open a configuration dialog for the procedure. Of course, your project will have to be connected to the database in question, the persistence.xlm
should also agree.
0
Yes, by Eclipse you can reverse engineer your table for a JPA entity.
https://www.eclipse.org/webtools/dali/docs/3.2/user_guide/tasks007.htm
Browser other questions tagged java pojo
You are not signed in. Login or sign up in order to post.