Those who works with Eclipse and JDBC can take a gross benefit from this little template.
Simply add the template. I use as name: ‘while’, context: ‘Java statement’, description: ‘iterate ResultSet’. You can certainly change them.
while (${en:var(java.sql.ResultSet)}.next()) {
${cursor}
}
Related posts:
0 Responses to “Eclipse Tips: Template for iterating ResultSet”