persistence icon indicating copy to clipboard operation
persistence copied to clipboard

Unclear whether first writing or reading ddl sources files for schema generation

Open lukasj opened this issue 8 years ago • 5 comments

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.

lukasj avatar Sep 20 '16 19:09 lukasj

  • Issue Imported From: https://github.com/javaee/jpa-spec/issues/136
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: @ldemichiel

lukasj avatar Aug 31 '18 16:08 lukasj

@glassfishrobot Commented Reported by JesperTejlgaard

lukasj avatar Sep 20 '16 19:09 lukasj

@glassfishrobot Commented jespertejlgaard said: Simple tests showed that Hibernate 5.2.2 is apparently reading and executing sources before writing to targets.

lukasj avatar Sep 20 '16 21:09 lukasj

@glassfishrobot Commented This issue was imported from java.net JIRA JPA_SPEC-136

lukasj avatar May 05 '17 06:05 lukasj

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.

m-reza-rahman avatar May 06 '21 21:05 m-reza-rahman

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.

gavinking avatar Aug 15 '23 21:08 gavinking