Hibernates is generating a VARBINARY column with JPA @Enumerated annotation. I'm using SQL Server 2005 w/ JTDS driver. The mapping is dirt simple:
@Basic
@Enumerated(EnumType.ORDINAL)
private MyEnum foo;
I would have expected Hibernate to generate an integer column? I've also tried EnumType.STRING (expecting a varchar column) with no success.
Note that my app works fine; the column type makes it hard to inspect the DB, and to issue adhoc SQL when poking at the database.