Hey all, Been using the OpenJPA to reverse engineer from existing database structures to create DTO and orm.xml files with great success!!!
I'm an old middlegen user, but have migrated to OpenJPA. One of the features in middlegen that I appreciated was defining the default behavior of mapping the SQL type to the Java type. For instance, one project might convert SQL to DTO fields as: SQL_INT - int SQL_LONG - long SQL_DATE - java.sql.Date While another project would be: SQL_INT - java.lang.Long SQL_LONG - java.lang.Long SQL_DATE - java.util.Date Now, I've been getting by with the reverse-customizer.properties approach, but since I need to explicitly define EACH field across an entire dataset, this is very time consuming. Is there an existing approach that would help with setting default behavior, or is this something that sounds like a reasonable enhancement and should be added to JIRA? Thanks, -D
