Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] The DirectToXMLTypeMapping's abilities

EclipseLink currently only supports updating the entire XML.  You may be able
to use custom SQL or functions.

Feel free to load an enhancement request for supporting the XML type
functions.



dmitryerkin wrote:
> 
> Hi
> I am interested in an Eclipselink's ability to insert a sub-element to a
> xml-document which is stored as a record in Oracle XMLDB table.
> I mean I have an ejb3 bean whose attribute is mapped to a xmltype's field
> in Oracle XMLDB table by the DirectToXMLTypeMapping.
> As you know this attribute can be of type org.w3c.Document.
> My java-code changes the particular part of content of this attribute, for
> example, adds a sub-element.
> Can Eclipselink use the xmltype.insertChildXML() function instead of
> updating a whole field to persist an instance of my bean?
> Or can Eclipselink use the xmltype.updateXML() to update an existing
> nodes?
> 
> Regards,
> Dmitry
> 


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/The-DirectToXMLTypeMapping%27s-abilities-tp19453575p19494655.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top