domain ->entity,SQL -> lowercase
domain ->entity,SQL -> lowercase
This commit is contained in:
@@ -55,7 +55,7 @@ public class DerbyTest {
|
||||
/*interact with Derby*/
|
||||
Statement s = conn.createStatement();
|
||||
|
||||
ResultSet rs = s.executeQuery("SELECT * FROM SECONDTABLE");
|
||||
ResultSet rs = s.executeQuery("select * from secondtable");
|
||||
|
||||
while(rs.next()){
|
||||
System.out.println("key : "+rs.getInt("ID")+" ,name : "+rs.getString("NAME"));
|
||||
|
||||
Reference in New Issue
Block a user