Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
11 lines (10 sloc) 279 Bytes
package skinny.orm
/**
* Basic SkinnyMapper implementation.
*
* @tparam Entity entity
*/
trait SkinnyMapper[Entity] extends SkinnyMapperWithId[Long, Entity] {
override def rawValueToId(value: Any) = value.toString.toLong
override def idToRawValue(id: Long) = id
}
You can’t perform that action at this time.