javaCast()
function available to you. So if you are using a primary key that is an Integer
you might have to do the following in order to match your variable to the underlying Java type:nullValue()
autoCast( entity, propertyName, value )
entity
argument can be the entity name or an entity object.idCast( entity, id )
entity
argument can be the entity name or an entity object.