Package io.nflow.engine.internal.dao
Class DaoUtil
- java.lang.Object
-
- io.nflow.engine.internal.dao.DaoUtil
-
public class DaoUtil extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDaoUtil.ColumnNamesExtractor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IntegergetInt(ResultSet rs, String columnLabel)static LonggetLong(ResultSet rs, String columnLabel)static org.joda.time.DateTimetoDateTime(Timestamp time)static TimestamptoTimestamp(org.joda.time.base.BaseDateTime time)
-
-
-
Method Detail
-
toTimestamp
public static Timestamp toTimestamp(org.joda.time.base.BaseDateTime time)
-
toDateTime
public static org.joda.time.DateTime toDateTime(Timestamp time)
-
getInt
public static Integer getInt(ResultSet rs, String columnLabel) throws SQLException
- Throws:
SQLException
-
getLong
public static Long getLong(ResultSet rs, String columnLabel) throws SQLException
- Throws:
SQLException
-
-