Hi I'm trying to do some kind of rapid schema evolution where I use JPA for schema development.
I develop/test on H2 but will end up on mysql or perhaps postgres. It would be nice if the H2 database instantiated by the JPADatabase generator could be controlled so you could put H2 into compat mode < http://www.h2database.com/html/features.html#compatibility>. I checked the source <https://github.com/jOOQ/jOOQ/blob/ddc47a36c9302954d1cdff0e75b6a186389ac7b0/jOOQ-meta-extensions/src/main/java/org/jooq/meta/extensions/jpa/JPADatabase.java#L137> and currently the jdbc url is hardcoded as: connection = new org.h2.Driver().connect("jdbc:h2:mem:jooq-meta-extensions-" + UUID.randomUUID(), info); So either you could overide first argument to connect completely with a property or a property that is appended (so you can give a value like: ;MODE=MySQL;DATABASE_TO_LOWER=TRUE). Does it make sense? I can probably create a PR for this but would like to know which approach you would prefer. Best regards Jens -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/1790eb64-9f2f-449a-89e2-a7a45d3ebda5%40googlegroups.com.
