feat(postgres_java): refactored class JavaPostgreSqlVersion

This commit is contained in:
dancingCycle 2021-12-09 10:23:20 -05:00
parent aa535c0e3f
commit 7a91a0dd90
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public class JavaPostgreSqlVersion {
Statement st = con.createStatement();
ResultSet rs = st.executeQuery("SELECT VERSION()")) {
if (rs.next()) {
while (rs.next()) {
System.out.println(rs.getString(1));
}