Changeset 34899 for gs2-extensions
- Timestamp:
- 2021-02-18T16:19:01+13:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/tipple-bridge/trunk/src/src/main/java/sqlCli.java
r34897 r34899 137 137 138 138 int dbColumn = resultMetaData.getColumnCount(); 139 System.out.println(" 139 System.out.println(" Number of columns in table retrieved: " + dbColumn); 140 140 141 141 //create gson object and have the file write the opening bracket for valid json 142 142 Gson myGSon = new Gson(); 143 143 file.write("["); 144 145 //does nothing, assuming the try catch picks up the error first,146 if(!myResult.next()){147 System.out.println("Access denied");148 }149 144 150 145 while(myResult.next()){
Note:
See TracChangeset
for help on using the changeset viewer.