|
So actually what is not working is the attempt to determine quoting from the JDBC metadata. I have this working locally for my tests. I may pull in a test based on your model as well after I get a chance to take a look.
Also, I am not exactly sure what the $ubejct means here. If I had to guess, what it sounds like you are describing is JPA schema generation and Hibernate schema update happening during the same bootstrap. That actually is a possibility, but that would be due to the user asking for both. If the user (or Spring) specifies javax.persistence.schema-generation.database.action Hibernate will perform JPA schema generation against the database as required by the JPA specification. If the user (or Spring) also sets hibernate.hbm2ddl.auto they will get Hibernate schema management as well. If that is not the intended behavior, that part is actually a user (or Spring) error. You will see a nice big fat warning logged if this is the case to the effect that
log.warnf( "Hibernate hbm2ddl-auto setting was specified [%s] in combination with JPA schema-generation; " + "combination will likely cause trouble", hbm2ddl );
|