daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Dec 6th, 2016 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [16:56]% gradle run                                                          jordan@Termato:~/repo/examples-orms/java/hibernate on hibernate
  2. :compileJava UP-TO-DATE
  3. :processResources UP-TO-DATE
  4. :classes UP-TO-DATE
  5. :run
  6. Dec 06, 2016 4:56:47 PM org.hibernate.Version logVersion
  7. INFO: HHH000412: Hibernate Core {5.2.0.Final}
  8. Dec 06, 2016 4:56:47 PM org.hibernate.cfg.Environment <clinit>
  9. INFO: HHH000206: hibernate.properties not found
  10. Dec 06, 2016 4:56:47 PM org.hibernate.cfg.Environment buildBytecodeProvider
  11. INFO: HHH000021: Bytecode provider name : javassist
  12. Dec 06, 2016 4:56:48 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>
  13. INFO: HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  14. Dec 06, 2016 4:56:48 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
  15. WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
  16. Dec 06, 2016 4:56:48 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  17. INFO: HHH10001005: using driver [org.postgresql.Driver] at URL [jdbc:postgresql://127.0.0.1:26257/company?sslmode=disable]
  18. Dec 06, 2016 4:56:48 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  19. INFO: HHH10001001: Connection properties: {user=root, password=****}
  20. Dec 06, 2016 4:56:48 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  21. INFO: HHH10001003: Autocommit mode: false
  22. Dec 06, 2016 4:56:48 PM org.hibernate.engine.jdbc.connections.internal.PooledConnections <init>
  23. INFO: HHH000115: Hibernate connection pool size: 1 (min=1)
  24. Dec 06, 2016 4:56:48 PM org.hibernate.dialect.Dialect <init>
  25. INFO: HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL94Dialect
  26. Dec 06, 2016 4:56:48 PM org.hibernate.engine.jdbc.spi.TypeInfo extractTypeInfo
  27. WARN: HHH000362: Unable to retrieve type info result set : org.postgresql.util.PSQLException: ERROR: no value provided for placeholder: $1
  28. Dec 06, 2016 4:56:48 PM org.hibernate.engine.jdbc.spi.TypeInfo extractTypeInfo
  29. WARN: HHH000362: Unable to retrieve type info result set : org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
  30. Dec 06, 2016 4:56:48 PM org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl useContextualLobCreation
  31. INFO: HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
  32. Dec 06, 2016 4:56:48 PM org.hibernate.type.BasicTypeRegistry register
  33. INFO: HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@149e0f5d
  34. Hibernate: alter table customers add column ID int8 not null
  35. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl handleException
  36. Hibernate: alter table customers add column NAME varchar(255)
  37. WARN: GenerationTarget encountered exception accepting command : Unable to execute command [alter table customers add column ID int8 not null]
  38. org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [alter table customers add column ID int8 not null]
  39.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:63)
  40.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlString(SchemaMigratorImpl.java:573)
  41.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlStrings(SchemaMigratorImpl.java:596)
  42.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.migrateTable(SchemaMigratorImpl.java:365)
  43.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.performMigration(SchemaMigratorImpl.java:260)
  44.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:137)
  45.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:110)
  46.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:176)
  47.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
  48.         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:308)
  49.         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)
  50.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)
  51.         at com.cockroachlabs.Application.buildSessionFactory(Application.java:45)
  52.         at com.cockroachlabs.Application.main(Application.java:17)
  53. Caused by: org.postgresql.util.PSQLException: ERROR: duplicate column name: "ID"
  54.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
  55.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
  56.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
  57.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
  58.         at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
  59.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)
  60.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:51)
  61.         ... 13 more
  62.  
  63. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl handleException
  64. WARN: GenerationTarget encountered exception accepting command : Unable to execute command [alter table customers add column NAME varchar(255)]
  65. org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [alter table customers add column NAME varchar(255)]
  66.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:63)
  67.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlString(SchemaMigratorImpl.java:573)
  68.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlStrings(SchemaMigratorImpl.java:596)
  69.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.migrateTable(SchemaMigratorImpl.java:365)
  70.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.performMigration(SchemaMigratorImpl.java:260)
  71.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:137)
  72.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:110)
  73.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:176)
  74.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
  75.         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:308)
  76.         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)
  77.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)
  78.         at com.cockroachlabs.Application.buildSessionFactory(Application.java:45)
  79.         at com.cockroachlabs.Application.main(Application.java:17)
  80. Caused by: org.postgresql.util.PSQLException: ERROR: duplicate column name: "NAME"
  81.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
  82.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
  83.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
  84.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
  85.         at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
  86.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)
  87.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:51)
  88.         ... 13 more
  89.  
  90. Hibernate: alter table orders add column ID int8 not null
  91. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl handleException
  92. Hibernate: alter table orders add column SUBTOTAL numeric(18, 2)
  93. WARN: GenerationTarget encountered exception accepting command : Unable to execute command [alter table orders add column ID int8 not null]
  94. org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [alter table orders add column ID int8 not null]
  95.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:63)
  96.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlString(SchemaMigratorImpl.java:573)
  97.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlStrings(SchemaMigratorImpl.java:596)
  98.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.migrateTable(SchemaMigratorImpl.java:365)
  99.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.performMigration(SchemaMigratorImpl.java:260)
  100.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:137)
  101.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:110)
  102.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:176)
  103.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
  104.         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:308)
  105.         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)
  106.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)
  107.         at com.cockroachlabs.Application.buildSessionFactory(Application.java:45)
  108.         at com.cockroachlabs.Application.main(Application.java:17)
  109. Caused by: org.postgresql.util.PSQLException: ERROR: duplicate column name: "ID"
  110.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
  111.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
  112.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
  113.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
  114.         at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
  115.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)
  116.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:51)
  117.         ... 13 more
  118.  
  119. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl handleException
  120. Hibernate: alter table orders add column CUSTOMER_ID int8
  121. WARN: GenerationTarget encountered exception accepting command : Unable to execute command [alter table orders add column SUBTOTAL numeric(18, 2)]
  122. org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [alter table orders add column SUBTOTAL numeric(18, 2)]
  123.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:63)
  124.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlString(SchemaMigratorImpl.java:573)
  125.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlStrings(SchemaMigratorImpl.java:596)
  126.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.migrateTable(SchemaMigratorImpl.java:365)
  127.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.performMigration(SchemaMigratorImpl.java:260)
  128.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:137)
  129.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:110)
  130.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:176)
  131.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
  132.         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:308)
  133.         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)
  134.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)
  135.         at com.cockroachlabs.Application.buildSessionFactory(Application.java:45)
  136.         at com.cockroachlabs.Application.main(Application.java:17)
  137. Caused by: org.postgresql.util.PSQLException: ERROR: duplicate column name: "SUBTOTAL"
  138.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
  139.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
  140.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
  141.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
  142.         at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
  143.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)
  144.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:51)
  145.         ... 13 more
  146.  
  147. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl handleException
  148. WARN: GenerationTarget encountered exception accepting command : Unable to execute command [alter table orders add column CUSTOMER_ID int8]
  149. org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [alter table orders add column CUSTOMER_ID int8]
  150.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:63)
  151.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlString(SchemaMigratorImpl.java:573)
  152.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlStrings(SchemaMigratorImpl.java:596)
  153.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.migrateTable(SchemaMigratorImpl.java:365)
  154.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.performMigration(SchemaMigratorImpl.java:260)
  155.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:137)
  156.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:110)
  157.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:176)
  158.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
  159.         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:308)
  160.         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)
  161.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)
  162.         at com.cockroachlabs.Application.buildSessionFactory(Application.java:45)
  163.         at com.cockroachlabs.Application.main(Application.java:17)
  164. Caused by: org.postgresql.util.PSQLException: ERROR: duplicate column name: "CUSTOMER_ID"
  165.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
  166.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
  167.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
  168.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
  169.         at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
  170.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)
  171.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:51)
  172.         ... 13 more
  173.  
  174. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl processGetTableResults
  175. INFO: HHH000262: Table not found: PRODUCT_ORDERS
  176. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl processGetTableResults
  177. INFO: HHH000262: Table not found: PRODUCT_ORDERS
  178. Hibernate: create table PRODUCT_ORDERS (ORDER_ID int8 not null, PRODUCT_ID int8 not null, primary key (ORDER_ID, PRODUCT_ID))
  179. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl handleException
  180. WARN: GenerationTarget encountered exception accepting command : Unable to execute command [create table PRODUCT_ORDERS (ORDER_ID int8 not null, PRODUCT_ID int8 not null, primary key (ORDER_ID, PRODUCT_ID))]
  181. org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [create table PRODUCT_ORDERS (ORDER_ID int8 not null, PRODUCT_ID int8 not null, primary key (ORDER_ID, PRODUCT_ID))]
  182.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:63)
  183.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlString(SchemaMigratorImpl.java:573)
  184.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlStrings(SchemaMigratorImpl.java:557)
  185.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.createTable(SchemaMigratorImpl.java:345)
  186.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.performMigration(SchemaMigratorImpl.java:257)
  187.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:137)
  188.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:110)
  189.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:176)
  190.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
  191.         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:308)
  192.         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)
  193.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)
  194.         at com.cockroachlabs.Application.buildSessionFactory(Application.java:45)
  195.         at com.cockroachlabs.Application.main(Application.java:17)
  196. Caused by: org.postgresql.util.PSQLException: ERROR: relation "PRODUCT_ORDERS" already exists
  197.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
  198.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
  199.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
  200.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
  201.         at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
  202.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)
  203.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:51)
  204.         ... 13 more
  205.  
  206. Hibernate: alter table products add column ID int8 not null
  207. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl handleException
  208. WARN: GenerationTarget encountered exception accepting command : Unable to execute command [alter table products add column ID int8 not null]
  209. Hibernate: alter table products add column NAME varchar(255)
  210. org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [alter table products add column ID int8 not null]
  211.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:63)
  212.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlString(SchemaMigratorImpl.java:573)
  213.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlStrings(SchemaMigratorImpl.java:596)
  214.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.migrateTable(SchemaMigratorImpl.java:365)
  215.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.performMigration(SchemaMigratorImpl.java:260)
  216.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:137)
  217.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:110)
  218.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:176)
  219.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
  220.         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:308)
  221.         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)
  222.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)
  223.         at com.cockroachlabs.Application.buildSessionFactory(Application.java:45)
  224.         at com.cockroachlabs.Application.main(Application.java:17)
  225. Caused by: org.postgresql.util.PSQLException: ERROR: duplicate column name: "ID"
  226.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
  227.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
  228.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
  229.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
  230.         at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
  231.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)
  232.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:51)
  233.         ... 13 more
  234.  
  235. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl handleException
  236. WARN: GenerationTarget encountered exception accepting command : Unable to execute command [alter table products add column NAME varchar(255)]
  237. Hibernate: alter table products add column PRODUCT numeric(18, 2)
  238. org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [alter table products add column NAME varchar(255)]
  239.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:63)
  240.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlString(SchemaMigratorImpl.java:573)
  241.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlStrings(SchemaMigratorImpl.java:596)
  242.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.migrateTable(SchemaMigratorImpl.java:365)
  243.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.performMigration(SchemaMigratorImpl.java:260)
  244.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:137)
  245.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:110)
  246.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:176)
  247.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
  248.         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:308)
  249.         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)
  250.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)
  251.         at com.cockroachlabs.Application.buildSessionFactory(Application.java:45)
  252.         at com.cockroachlabs.Application.main(Application.java:17)
  253. Caused by: org.postgresql.util.PSQLException: ERROR: duplicate column name: "NAME"
  254.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
  255.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
  256.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
  257.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
  258.         at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
  259.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)
  260.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:51)
  261.         ... 13 more
  262.  
  263. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl handleException
  264. WARN: GenerationTarget encountered exception accepting command : Unable to execute command [alter table products add column PRODUCT numeric(18, 2)]
  265. org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [alter table products add column PRODUCT numeric(18, 2)]
  266.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:63)
  267.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlString(SchemaMigratorImpl.java:573)
  268.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applySqlStrings(SchemaMigratorImpl.java:596)
  269.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.migrateTable(SchemaMigratorImpl.java:365)
  270.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.performMigration(SchemaMigratorImpl.java:260)
  271.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:137)
  272.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:110)
  273.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:176)
  274.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
  275.         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:308)
  276.         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)
  277.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)
  278.         at com.cockroachlabs.Application.buildSessionFactory(Application.java:45)
  279.         at com.cockroachlabs.Application.main(Application.java:17)
  280. Caused by: org.postgresql.util.PSQLException: ERROR: duplicate column name: "PRODUCT"
  281.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
  282.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
  283.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
  284.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
  285.         at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
  286.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)
  287.         at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:51)
  288.         ... 13 more
  289.  
  290. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl processGetTableResults
  291. INFO: HHH000262: Table not found: PRODUCT_ORDERS
  292. Dec 06, 2016 4:56:49 PM org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl processGetTableResults
  293. INFO: HHH000262: Table not found: PRODUCT_ORDERS
  294. Dec 06, 2016 4:56:55 PM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
  295. WARN: SQL Error: 0, SQLState: XX000
  296. Dec 06, 2016 4:56:55 PM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
  297. ERROR: ERROR: sql: memory budget exceeded: 354191360 bytes requested, 4294967296 bytes in budget
  298. Exception in thread "main" org.hibernate.exception.GenericJDBCException: Error accessing column metadata: public.orders
  299.         at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
  300.         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
  301.         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
  302.         at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.convertSQLException(InformationExtractorJdbcDatabaseMetaDataImpl.java:97)
  303.         at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.getForeignKeys(InformationExtractorJdbcDatabaseMetaDataImpl.java:683)
  304.         at org.hibernate.tool.schema.extract.internal.TableInformationImpl.foreignKeys(TableInformationImpl.java:88)
  305.         at org.hibernate.tool.schema.extract.internal.TableInformationImpl.getForeignKey(TableInformationImpl.java:99)
  306.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.findMatchingForeignKey(SchemaMigratorImpl.java:530)
  307.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.applyForeignKeys(SchemaMigratorImpl.java:506)
  308.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.performMigration(SchemaMigratorImpl.java:315)
  309.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:137)
  310.         at org.hibernate.tool.schema.internal.SchemaMigratorImpl.doMigration(SchemaMigratorImpl.java:110)
  311.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:176)
  312.         at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
  313.         at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:308)
  314.         at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:476)
  315.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:707)
  316.         at com.cockroachlabs.Application.buildSessionFactory(Application.java:45)
  317.         at com.cockroachlabs.Application.main(Application.java:17)
  318. Caused by: org.postgresql.util.PSQLException: ERROR: sql: memory budget exceeded: 354191360 bytes requested, 4294967296 bytes in budget
  319.         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
  320.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
  321.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
  322.         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
  323.         at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
  324.         at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:284)
  325.         at org.postgresql.jdbc.PgDatabaseMetaData.getImportedExportedKeys(PgDatabaseMetaData.java:2476)
  326.         at org.postgresql.jdbc.PgDatabaseMetaData.getImportedKeys(PgDatabaseMetaData.java:2711)
  327.         at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.getForeignKeys(InformationExtractorJdbcDatabaseMetaDataImpl.java:632)
  328.         ... 14 more
  329. > Building 75% > :run
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top