XMLType with TopLink-essentials JPA

April 30, 2007

TopLink-essentials is only a reference implementation of JPA at sun and does not support XMLType of oracle. for more informations about how to support XMLType with TopLink-essentials Tom Ware Principal Software Engineer for Oracle gave this solutions:
Prior to the time we implemented XMLType support in Oracle TopLink it was possible to get some basic XMLType support working using a custom Converter in TopLink. Here is a link with a brief description of what a converter is:
http://www.oracle.com/technology/products/ias/toplink/doc/10131/main/_html/relmapun002.htm#sthref3777
It should be possible to build an converter in TopLink Essentials that can handle at least basic reading and writing (more complex queries will still require using native SQL). Configuring a mapping to use a converter is an extension of the actual JPA specification and would require using a descriptor Customizer. There is a description in the
link below.
http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html#TopLinkCustomizationValidation
Hopefully, this can help you.

About

This page contains a single entry from Serge Pagop's Weblog posted on April 30, 2007 6:05 PM. The previous post in this blog was Make the different between TopLink Essentials JPA and Oracle TopLink product (10.1.3). The next post in this blog is Maven 2: JTA as dependency for Hibernate. Many more can be found on the main index page or by looking through the archives.

Trackback Pings

TrackBack URL for this entry: http://www.innoq.com/movabletype/mt-tb.cgi/2474

Comments

Post a comment




Remember Me?

(you may use HTML tags for style)