File tree 3 files changed +7
-2
lines changed
main/scala/scalikejdbc/async/internal
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,10 @@ private[scalikejdbc] class AsyncResultSetImpl(rows: IndexedSeq[RowData])
109
109
case any => any.toString
110
110
}
111
111
112
+ override def stringOpt (columnIndex : Int ): Option [String ] = Option (string(columnIndex))
113
+
114
+ override def stringOpt (columnLabel : String ): Option [String ] = Option (string(columnLabel))
115
+
112
116
override def time (columnIndex : Int ): java.sql.Time = any(columnIndex) match {
113
117
case null => null
114
118
case t : java.sql.Time => t
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ object AsyncLover extends SQLSyntaxSupport[AsyncLover] {
23
23
24
24
def apply (c : ResultName [AsyncLover ])(rs : WrappedResultSet ): AsyncLover = new AsyncLover (
25
25
id = rs.long(c.id),
26
- name = rs.string(c.name),
26
+ // name = rs.string(c.name),
27
+ name = rs.stringOpt(c.name).get,
27
28
rating = rs.int(c.rating),
28
29
isReactive = rs.boolean(c.isReactive),
29
30
lunchtime = rs.timeOpt(c.lunchtime),
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import play.Project._
4
4
5
5
object ScalikeJDBCAsyncProject extends Build {
6
6
7
- lazy val _version = " 0.3.1 "
7
+ lazy val _version = " 0.3.2 "
8
8
lazy val scalikejdbcVersion = " 1.7.0"
9
9
lazy val mauricioVersion = " 0.2.8"
10
10
lazy val defaultPlayVersion = " 2.2.1"
You can’t perform that action at this time.
0 commit comments