Monday, February 21, 2011

Hibernate with Oracle xmltype

Tested with Hibernate 3.3.2 GA and Oracle 9i , source codes can be downloaded here.



1. Create a table in oracle database




2. POJO




3. Hibernate hbm




4. Hibernate User Defiined Type




5. Hibernate User Defined Dialect




6. Hibernate configuration




7. Testor




8. maven pom.xml

1 comment:

:) said...

Here is a fresh blog entry on this topic:
http://leakfromjavaheap.blogspot.com/2013/11/oracles-xmltype-with-hibernate-4.html