You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Fernando Padilla <fe...@alum.mit.edu> on 2009/01/02 19:47:29 UTC

default @Enumerated and @Temporal

So I am using JPA, and I was wondering if I could set the defaults for 
@Enumerated(EnumType.STRING) and @Temporal(TemporalType.Timestamp).

Currently I am overriding the Mapping defaults (to have defaults be 
closer to kodo defaults), but I don't know where I can tell OpenJPA the 
default values for Enumerated and Temporal.

Any clues would be appreciated! :)