wwadge / hbnpojogen

Hibernate Pojo Generator
30 stars 20 forks source link

PostGreSQL 10 support #14

Closed mrjavascript closed 5 years ago

mrjavascript commented 6 years ago

I tried out generating entities with pgsql 10 and received the following exception (I can roll back to 9.6 in the meantime):

org.postgresql.util.PSQLException: ERROR: column t1.tgconstrname does not exist Position: 113 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:254) at org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getImportedExportedKeys(AbstractJdbc2DatabaseMetaData.java:3477) at org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getImportedKeys(AbstractJdbc2DatabaseMetaData.java:3670) at com.github.wwadge.hbnpojogen.SyncUtils.getCommitOrder(SyncUtils.java:229) at com.github.wwadge.hbnpojogen.SyncUtils.getCommitOrder(SyncUtils.java:507) at com.github.wwadge.hbnpojogen.HbnPojoGen.sync(HbnPojoGen.java:168) at com.github.wwadge.hbnpojogen.HbnPojoGen.run(HbnPojoGen.java:448) at com.github.wwadge.hbnpojogen.HbnPojoGen.main(HbnPojoGen.java:481)

wwadge commented 5 years ago

This is a driver issue