I see the issue. Spring jdbc only works one way on enums. Working on a fix for that.



> On Dec 5, 2013, at 3:02 PM, Joseph Wu <notifications@github.com> wrote:
> 
> In lib/jdomodels/src/test/java/org/sagebionetworks/repo/model/dbo/DBOAnnotatedExample.java:
> 
> > +	private Long numberOrNull;
> > +	@Field(name = "BLOB_ONE", blob = "mediumblob")
> > +	private byte[] blob;
> > +	@Field(name = "CUSTOM", blob = "blob")
> > +	private List<String> custom;
> > +	@Field(name = "COMMENT", varchar = 256, defaultNull = true)
> > +	private String comment;
> > +	@Field(name = "NAME", fixedchar = 16, defaultNull = true)
> > +	private String name;
> > +	@Field(name = "ETAG", etag = true, defaultNull = true)
> > +	private String etag;
> > +	@Field(name = "MODIFIED_BY", varchar = 256, nullable = false)
> > +	private String modifiedBy;
> > +	@Field(name = "MODIFIED_ON", nullable = false)
> > +	private Long modifiedOn;
> > +
> Example of enum usage?
> 
> —
> Reply to this email directly or view it on GitHub.