I am working on a project with MySQL,Hibernate,Java,GWT
I am making an entity class where i am making each and every field as per the fields in mysql like there is a table UserInfo with fields ,id,name,password,and many other fields in MySQL
now when i am making an entity class in java/hibernate I have to create each field i.e id,name,password and others with my hand
I was just wondering if there's a way with which my entity class automatically detects all fields which are in my Database table and make all the fields in java itself and link them with the database fields.
thanks