cancel
Showing results for 
Search instead for 
Did you mean: 

GetResultSetSchema on PreparedStatement on Android

Former Member
2,606

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

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

Former Member
0 Kudos

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

Former Member

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

Answers (0)