+ public GigiPreparedStatement(String stmt) {
+ this(stmt, false);
+ }
+
+ public GigiPreparedStatement(String stmt, boolean scroll) {
+ try {
+ if (scroll) {
+ target = DatabaseConnection.getInstance().prepareInternalScrollable(stmt);
+ } else {
+ target = DatabaseConnection.getInstance().prepareInternal(stmt);
+ }
+ } catch (SQLException e) {
+ throw new Error(e);
+ }
+ }
+