Created
April 8, 2015 20:55
-
-
Save volgar1x/e365c1c1258cff962be2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!rset.last()) { | |
return new int[0]; | |
} | |
int[] ids = new int[rset.getRow()]; | |
rset.beforeFirst(); | |
for (int i = 0; i < ids.length; i++) { | |
rset.next(); | |
ids[i] = rset.getInt(1); | |
} | |
return ids; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment