Package com.valqueries
Class JdbcHelper
java.lang.Object
com.valqueries.JdbcHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
commit()
static Calendar
static boolean
isDebug()
<T> List<T>
query
(OrmStatement statement, IRowMapper<T> rowMapper) void
rollback()
static void
setCalendarTimeZone
(TimeZone calendarTimeZone) Deprecated.Do not use this method unless you have a very good reason to do so.static void
setDebug
(boolean debug) <T> Stream<T>
streamQuery
(OrmStatement statement, IRowMapper<T> rowMapper, boolean autoClose) update
(OrmStatement statement) void
-
Constructor Details
-
JdbcHelper
-
-
Method Details
-
update
-
update
-
query
-
streamQuery
public <T> Stream<T> streamQuery(OrmStatement statement, IRowMapper<T> rowMapper, boolean autoClose) -
close
public void close() -
rollback
public void rollback() -
commit
public void commit() -
isDebug
public static boolean isDebug() -
setDebug
public static void setDebug(boolean debug) -
setCalendarTimeZone
Deprecated.Do not use this method unless you have a very good reason to do so. In that case, please contact us first, to confirm that it is indeed a very good reason. Note that you have to call it on the very first run when updating past the version that introduced it, before any migrations from that version are ran. Also, once used, it has to be used forever with the same argument. -
getCalendar
-
getDialectType
- Returns:
- The dialect type of the current connection
- See Also:
-