I want to use hibernate to store and retrieve datas instead using jdbc.
I have read some about Hibernate and at the end i reached that We need xml files for mapping to tables.
This is something painful. For every query i need an xml file. what if the project is very huge?For example a job of 500 /1000 servlets and helper classes?
Now i need 500 xml files.Every where is going to filled up with xml files.
Originally posted by sinasi susam: I want to use hibernate to store and retrieve datas instead using jdbc.
For every query i need an xml file.
You dont need a xml file for a query. You can have a single xml file which contains mappings for your database tables with the java objects. The xml files are used for mapping the tables with the java objects.