3

Is there a way to configure Eclipse JPA DDL generation to specify a trailing ';' for each statement on the output file? For example:

CREATE TABLE PHYSICAL_OBJECT (ID BIGINT NOT NULL, PRIMARY KEY (ID))

would become

CREATE TABLE PHYSICAL_OBJECT (ID BIGINT NOT NULL, PRIMARY KEY (ID));
Karen Butzke
  • 1,442
  • 12
  • 18
  • What platform are you using? EclipseLink, Hibernate? – Karen Butzke Feb 20 '13 at 14:39
  • EclipseLink. In the Eclipse JPA Perspective I Right-click the JPA project in the Project Explorer and select JPA Tools > Generate Tables from Entities. The resulting SQL DDL doesn't have any statement terminination, e.g., the ;. I've looked through the JPA Preferences dialog but don't see any way to specify this. – user2088211 Feb 20 '13 at 18:01
  • http://stackoverflow.com/questions/3606825/problems-with-generating-sql-via-eclipselink-missing-separator – Alex K. Sep 20 '15 at 15:40
  • Possible duplicate of [Problems with generating sql via eclipseLink - missing separator](https://stackoverflow.com/questions/3606825/problems-with-generating-sql-via-eclipselink-missing-separator) – nwinkler Jun 18 '17 at 14:10

0 Answers0