object trade_date extends LocalDateField(this) {
override def displayName = "Trade Date"
}
-
def findAllSortByDateThisGivesAnError: List[Trade] = Trade
.orderAsc(_.trade_date)
.fetch()
仕事がありません - これがエラーメッセージです
[error] /home/neil/Workspace2/acm-web/src/main/scala/code/model/Trade.scala:98:
could not find implicit value for evidence parameter of type com.foursquare.rogue.BSONType[java.util.Calendar]
[error] /home/neil/Workspace2/acm-web/src/main/scala/code/model/Trade.scala:98: could not find implicit value for evidence parameter of type com.foursquare.rogue.BSONType[java.util.Calendar]
[error] .orderAsc(_.trade_date)
[error] ^
[error] one error found
[error] (compile:compile) Compilation failed
[error] Total time: 2 s, completed Jun 14, 2013 9:33:15 AM