on 2011 Oct 14 4:13 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
75 | |
9 | |
9 | |
8 | |
8 | |
7 | |
7 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.