Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Specifying namespaces when querying xml

Thanks for the tip. getFunctionWithArguments() worked nicely. I've logged a bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=308450

/Steven

James Sutherland wrote

>EclipseLink only currently provides support for EXTRACT without the namespace
>argument.  Please log a bug for this.
>
>As a workaround you can either define your own operator, or use the
>getFunction() API, or use custom SQL.



Steven Hale-2 wrote:
>
> I've been struggling to query xmltype data using Expression extract().
> extract() only has one parameter (xpath) and as far as I can see there
> doesn't seem to be any way to specify namespaces. Am I missing something?
>
> /Steven
>
>


-----
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://old.nabble.com/Specifying-namespaces-when-querying-xml-tp28151618p28166333.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.

_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users

Back to the top