Change java.sql.Date to java.sql.Timestamp.

This commit is contained in:
takezoe
2013-06-22 14:41:20 +09:00
parent 0294c32fb8
commit 2881df65a7
5 changed files with 14 additions and 14 deletions

View File

@@ -28,6 +28,6 @@ trait AccountService {
def updateLastLoginDate(userName: String): Unit =
Query(Accounts).filter(_.userName is userName.bind).map(_.lastLoginDate)
.update(new java.sql.Date(System.currentTimeMillis))
.update(new java.sql.Timestamp(System.currentTimeMillis))
}