I need to get the value of the primarykey for the most reciently created entry in an h2 database only problem is i cant figure out how to call scope_identity() which is supposed to return a resultSet with the most reciently created key. Here is the function i am using: public int getPrimaryKeyOfMostRecientlyUpdatedRow() throws Exception { return queryDatabase("CALL SCOPE_IDENTITY()").getInt(1); } when i call it after creating a new row i get this stack trace im not sure why the .getInt(1) is comming up null but that appears to be the problem: Aug 23, 2013 8:38:46 PM awana.database.DatabaseWrapper newRecord SEVERE: null …

Member Avatar
Member Avatar
+0 forum 1

Dear All, How many tags we can use on single Page? Also please how we can analytize to which tag for content? Regards, David Kroj

Member Avatar
Member Avatar
+0 forum 5

The End.