The forum will be down for maintenance over the weekend of August 18-20, 2017. The forum will be shut down on the evening (EDT) of Friday, August 18. Downtime is unknown but may be up to two days. The forum will be restarted as soon as maintenance is complete.

Is there a way to get the resultset schema from the preparedStatement on Android without executing the resultset? Is there a plan to include this functionality just like the iOS operation where I use this: ((ULPreparedStatement *)prepStmt)->GetResultSetSchema();?


Renato Pedrosa

asked 14 Oct '11, 15:13

Renato's gravatar image

accept rate: 0%


With UltraLiteJ you can get ResultSet schema information by calling the method ResultSet.getResultSetMetadata(). You must execute the query to get a ResultSet object. It is not a big performance impact to execute a query in UltraLiteJ.

This is a difference between the UltraLiteJ and C UltraLite APIs. Even though UltraLiteJ for Android uses the C UltraLite runtime, the UltraLiteJ API is used.


Andy Quick

permanent link

answered 14 Oct '11, 16:11

Andy%20Quick's gravatar image

Andy Quick
accept rate: 45%


Getting the schema from an executed resultset I already do, but I really want to know if it will be available to get it from PreparedStatement.


Renato Pedrosa

(18 Oct '11, 15:12) Renato

There are currently no plans to alter the UltraLiteJ API for this case. However, plans can change if there is a good reason to change them :-)


Andy Quick

(26 Oct '11, 10:11) Andy Quick
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 Oct '11, 15:13

question was seen: 1,093 times

last updated: 26 Oct '11, 10:11