Hi Folks,

this seems to be ridiculously trivial but I can't seem to get it
right:

I need to have a field in a model class to be not null and have an
annotation on the field

@Persistent(nullValue=NullValue.EXCEPTION)
private String foo;

As see here:
http://www.datanucleus.org/products/accessplatform_1_1/jdo/annotations.html#Persistent

It doesn't throw an exception though if i try to persist the object.
Can anyone help me out how to do this?

Thanks,
Fred

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to