|
@@ -63,7 +63,7 @@ public class ViewController extends Controller {
|
|
public void executeSql2() {
|
|
public void executeSql2() {
|
|
try {
|
|
try {
|
|
String sqlString = this.getPara("str");
|
|
String sqlString = this.getPara("str");
|
|
- List<Record> d = Db.use("connected").find(sqlString);
|
|
|
|
|
|
+ List<Record> d = Db.use("connected2").find(sqlString);
|
|
this.renderJson(d);
|
|
this.renderJson(d);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
// TODO: handle exception
|
|
// TODO: handle exception
|