Hibernate creates a primary key column of type "bytea" instead of "integer" if I use @Id and @Enumerated together in the same field. I guess I should file a JIRA issue?Oh yeah, I'm using Postgresql 8.2.5.