persistence
persistence copied to clipboard
Unclear whether first writing or reading ddl sources files for schema generation
It is unclear in section 9.4 of the JPA 2.1 spec whether data is written to e.g. the javax.persistence.schema-generation.scripts.drop-target before reading from javax.persistence.schema-generation.drop-script-source and executing changes or the other way round.
- Issue Imported From: https://github.com/javaee/jpa-spec/issues/136
- Original Issue Raised By:@glassfishrobot
- Original Issue Assigned To: @ldemichiel
@glassfishrobot Commented Reported by JesperTejlgaard
@glassfishrobot Commented jespertejlgaard said: Simple tests showed that Hibernate 5.2.2 is apparently reading and executing sources before writing to targets.
@glassfishrobot Commented This issue was imported from java.net JIRA JPA_SPEC-136
This seems like low-hanging fruit that could be looked at in the next release and resolved one way or the other? It does appear to be a fairly low priority either way.
Reza Rahman Jakarta EE Ambassador, Author, Blogger, Speaker
Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.
This cryptic issue report is seven years old, has no activity, and no votes, does not explain what problem it's trying to solve, nor suggest what the correct solution might be.
You can guess what I'm about to do here.