Changes

Jump to navigation Jump to search
14 bytes added ,  19:27, 22 December 2015
|- valign="top"
| Variable
| <code>Q{java.lang.Integer}MIN_VALUE()#0</code>
| <code>Integer#MIN_VALUE</code>
|- valign="top"
| Function
| <code>Q{java.lang.Object}hash-code()#0</code>
| <code>Object#hashCode()</code>
|}
As XQuery and Java have different type systems, XQuery arguments must be are converted to equivalent Java typesvalues, and the result must be of a Java function is converted back to an XQuery typesvalue. A table with all mappings is listed [[#Data Types|at the end]] of this article.
If a Java function is not found, it may help to explicitly cast your XQuery values. For example, if a Java function expects a primitive {{Code|int}} value, you will need to convert your XQuery integers to {{Code|xs:int}}.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu