Hibernate

Hi you there...I just wanted to take your opinion over hibernate. Should we use it, or just continue the way it was... stored procedures....Many thanks,MeTitus
[187 byte] By [Me_Titusa] at [2007-11-26 15:43:22]
# 1

Hibernat 3.x provides an XML persistence and query service for a relational database. But, the XML document structure does not get store.

Use an embedded database such as xindice.

http://www.onjava.com/pub/a/onjava/2006/03/08/storing-xml-document-with-apache-xindice.html

When databases implement the JDBC 4.0 driver and provide the 'XML' type SQL data type, JDBC 4.0 would be the most suitable for storing and retrieving XML from a database.

dvohra09a at 2007-7-8 22:02:19 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

The idea of my college was that we should change everything to Hibernate. He was a latecomer to the project, that is why he was giving this hints. Basically what he wanted was us to use entity java beans, anotations and hibernate (JPA), and according to hm everybody in the java world is now using this. I rather prefer to have old fashion views and stored procedures, but he says its better to use hibernate than JDBC. I see no reason to use it... What don you guys do?

Many thanks,

MeTitus

Me_Titusa at 2007-7-8 22:02:19 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

better to use hibernate than JDBC

For XML?

Refer

http://www.hibernate.org/hib_docs/v3/reference/en/html/xml.html

Refer Mapping with EJB3/JPA Annotations

http://www.hibernate.org/hib_docs/annotations/reference/en/html/entity.html

http://www.onjava.com/pub/a/onjava/2006/05/17/standardizing-with-ejb3-java-persistence-api.html

dvohra09a at 2007-7-8 22:02:19 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4
I will look at this info, and come later on if I still have any doubts.Many thanks, dvohra09 ;)MeTitus
Me_Titusa at 2007-7-8 22:02:19 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...