The table is defined as follows:
CREATE TABLE Session ( id bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, something varchar(32), PRIMARY KEY (id) ); 
And my request looks like this:
 SQL("SELECT something FROM Session WHERE id={id}").on("id" -> id).as(str("something") ?) 
While this gives the correct type ( Option[String] ) at compile time, it throws a RuntimeException(UnexpectedNullableFound(SESSION.SOMETHING)) at runtime.
For recording, I use Play 1.2.4, Play Scala 0.9.1 and a nested H2 database.
source share