Advertisement
Guest User

Untitled

a guest
Feb 15th, 2017
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.01 KB | None | 0 0
  1. spring.datasource.url=jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
  2. spring.datasource.driverClassName=org.h2.Driver
  3. spring.datasource.username=sa
  4. spring.datasource.password=
  5. spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
  6.  
  7. o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
  8. name: default
  9. ...]
  10. org.hibernate.Version : HHH000412: Hibernate Core {4.3.5.Final}
  11. org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
  12. org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
  13. o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.4.Final}
  14. org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
  15. o.h.h.i.ast.ASTQueryTranslatorFactory : HHH000397: Using ASTQueryTranslatorFactory
  16. org.hibernate.tool.hbm2ddl.SchemaExport : HHH000227: Running hbm2ddl schema export
  17. org.hibernate.tool.hbm2ddl.SchemaExport : HHH000389: Unsuccessful: alter table key_request drop constraint FK_53shrbc21c25inskpp1yoxxss if exists
  18. org.hibernate.tool.hbm2ddl.SchemaExport : Table "KEY_REQUEST" not found; SQL statement:
  19. alter table key_request drop constraint FK_53shrbc21c25inskpp1yoxxss if exists [42102-178]
  20.  
  21. SELECT TABLE_NAME, INDEX_NAME, COLUMN_NAME, INDEX_TYPE_NAME FROM information_schema.indexes WHERE TABLE_NAME='KEY_REQUEST';
  22. TABLE_NAME INDEX_NAME COLUMN_NAME INDEX_TYPE_NAME
  23. KEY_REQUEST PRIMARY_KEY_F REQUEST_ID PRIMARY KEY
  24. KEY_REQUEST FK_53SHRBC21C25INSKPP1YOXXSS_INDEX_F USER_ID INDEX
  25.  
  26. spring.jpa.hibernate.ddl-auto=update
  27.  
  28. org.hibernate.tool.hbm2ddl.SchemaUpdate : HHH000388: Unsuccessful: alter table lti_result add constraint FK_1cnh9amy5br8owkmafsrth3as foreign key (result_id) references lti_link
  29. org.hibernate.tool.hbm2ddl.SchemaUpdate : Constraint "FK_1CNH9AMY5BR8OWKMAFSRTH3AS" already exists; SQL statement:
  30. alter table lti_result add constraint FK_1cnh9amy5br8owkmafsrth3as foreign key (result_id) references lti_link [90045-178]
  31.  
  32. hibernate.hbm2ddl.auto=create-drop
  33.  
  34. Query:{[alter table tableIdentifier drop constraint FK_202gbutq8qbxk0chvcpjsv6vn][]}
  35. ERROR [main]: o.h.t.h.SchemaExport - HHH000389: Unsuccessful: alter table tableIdentifier drop constraint FK_202gbutq8qbxk0chvcpjsv6vn
  36. ERROR [main]: o.h.t.h.SchemaExport - user lacks privilege or object not found: PUBLIC.TABLEIDENTIFIER
  37. Query:{[drop table sequenceIdentifier if exists][]}
  38. Query:{[drop table tableIdentifier if exists][]}
  39. Query:{[create table sequenceIdentifier (id bigint not null, primary key (id))][]}
  40. Query:{[create table tableIdentifier (id bigint not null, sequenceIdentifier_id bigint, primary key (id))][]}
  41. Query:{[alter table tableIdentifier add constraint FK_202gbutq8qbxk0chvcpjsv6vn foreign key (sequenceIdentifier_id) references sequenceIdentifier][]}
  42. Query:{[create sequence hibernate_sequence start with 1 increment by 1][]}
  43.  
  44. hibernate.hbm2ddl.auto=update
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement