Executes a query through the native code.
1 native.executeQuery
<native.executeQuery />
Returns | |
---|---|
Type | Description |
resultSet | resultSet with the processed data. |
Exceptions
WARNING: nativesql returns data, resultset auto closed!
Example
Executes a query in native.
Copy
<xsql-script name='native_execute_Query_sample1'> <body> <println> <native.executeQuery>select * from cthird</native.executeQuery> </println> </body> </xsql-script>