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();?

tks

Renato Pedrosa

asked 14 Oct '11, 15:13

Renato's gravatar image

Renato
2266614
accept rate: 0%


Renato,

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.

Regards,

Andy Quick

permanent link

answered 14 Oct '11, 16:11

Andy%20Quick's gravatar image

Andy Quick
2.2k2737
accept rate: 45%

Andy,

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.

tks

Renato Pedrosa

(18 Oct '11, 15:12) Renato
1

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 :-)

Regards,

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×75
×22
×13

question asked: 14 Oct '11, 15:13

question was seen: 1,041 times

last updated: 26 Oct '11, 10:11