public class TestSqlRowUUID extends BaseTestCase {
@Test
public void test() {
TUuidEntity e = new TUuidEntity();
e.setName("blah");
Ebean.save(e);
SqlQuery q = Ebean.createSqlQuery("select * from tuuid_entity where id = :id");
q.setParameter("id", e.getId());
SqlRow sqlRow = q.findUnique();
UUID id = sqlRow.getUUID("id");
Assert.assertNotNull(id);