Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mag 08, 2016 6:29:50 PM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation
- INFO: HHH000204: Processing PersistenceUnitInfo [
- name: commerce-unit
- ...]
- mag 08, 2016 6:29:50 PM org.hibernate.Version logVersion
- INFO: HHH000412: Hibernate Core {5.1.0.Final}
- mag 08, 2016 6:29:50 PM org.hibernate.cfg.Environment <clinit>
- INFO: HHH000206: hibernate.properties not found
- mag 08, 2016 6:29:50 PM org.hibernate.cfg.Environment buildBytecodeProvider
- INFO: HHH000021: Bytecode provider name : javassist
- mag 08, 2016 6:29:50 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>
- INFO: HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
- mag 08, 2016 6:29:50 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
- WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
- mag 08, 2016 6:29:50 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
- INFO: HHH10001005: using driver [org.postgresql.Driver] at URL [jdbc:postgresql://localhost/commerce]
- mag 08, 2016 6:29:50 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
- INFO: HHH10001001: Connection properties: {user=postgres, password=****}
- mag 08, 2016 6:29:50 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
- INFO: HHH10001003: Autocommit mode: false
- mag 08, 2016 6:29:50 PM org.hibernate.engine.jdbc.connections.internal.PooledConnections <init>
- INFO: HHH000115: Hibernate connection pool size: 20 (min=1)
- mag 08, 2016 6:29:50 PM org.hibernate.dialect.Dialect <init>
- INFO: HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
- mag 08, 2016 6:29:50 PM org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl useContextualLobCreation
- INFO: HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
- mag 08, 2016 6:29:50 PM org.hibernate.type.BasicTypeRegistry register
- INFO: HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@524d6d96
- Hibernate:
- alter table Customer
- drop constraint FKfok4ytcqy7lovuiilldbebpd9
- Hibernate:
- alter table order_line
- drop constraint FKn2kcjpsik53mvru6nfqlu6ejn
- Hibernate:
- alter table order_line
- drop constraint FK2aqxln75q7fo8yvewbbws5mx9
- Hibernate:
- alter table orders
- drop constraint FKlxvrjb6oyfjjffp0vvusn22uy
- Hibernate:
- alter table Provider
- drop constraint FKt9vbbwgnd3e4di9f8lcgtc43k
- Hibernate:
- alter table Provider_Product
- drop constraint FKfgpx34j94m2ialpk9eprimjdd
- Hibernate:
- alter table Provider_Product
- drop constraint FKf4ah0t40tl5x9ddllwv3pmemh
- Hibernate:
- drop table if exists Address cascade
- Hibernate:
- drop table if exists Customer cascade
- Hibernate:
- drop table if exists order_line cascade
- Hibernate:
- drop table if exists orders cascade
- Hibernate:
- drop table if exists Product cascade
- Hibernate:
- drop table if exists Provider cascade
- Hibernate:
- drop table if exists Provider_Product cascade
- Hibernate:
- drop sequence hibernate_sequence
- Hibernate: create sequence hibernate_sequence start 1 increment 1
- Hibernate:
- create table Address (
- id int8 not null,
- city varchar(255) not null,
- country varchar(255) not null,
- state varchar(255) not null,
- street varchar(255) not null,
- zipCode varchar(255) not null,
- primary key (id)
- )
- Hibernate:
- create table Customer (
- id int8 not null,
- creationTime timestamp,
- dateOfBirth date,
- email varchar(255),
- firstname varchar(255) not null,
- lastname varchar(255) not null,
- phoneNumber varchar(255) not null,
- address_id int8,
- primary key (id)
- )
- Hibernate:
- create table order_line (
- id int8 not null,
- quantity int4 not null,
- unitPrice float4 not null,
- product_id int8,
- orders_id int8,
- primary key (id)
- )
- Hibernate:
- create table orders (
- id int8 not null,
- creationTime timestamp not null,
- customer_id int8,
- primary key (id)
- )
- Hibernate:
- create table Product (
- id int8 not null,
- code varchar(255) not null,
- description varchar(2000),
- name varchar(255) not null,
- price float4,
- primary key (id)
- )
- Hibernate:
- create table Provider (
- id int8 not null,
- email varchar(255),
- name varchar(255) not null,
- phoneNumber varchar(255) not null,
- vatin varchar(255),
- address_id int8,
- primary key (id)
- )
- Hibernate:
- create table Provider_Product (
- providers_id int8 not null,
- products_id int8 not null
- )
- Hibernate:
- alter table Customer
- add constraint FKfok4ytcqy7lovuiilldbebpd9
- foreign key (address_id)
- references Address
- Hibernate:
- alter table order_line
- add constraint FKn2kcjpsik53mvru6nfqlu6ejn
- foreign key (product_id)
- references Product
- Hibernate:
- alter table order_line
- add constraint FK2aqxln75q7fo8yvewbbws5mx9
- foreign key (orders_id)
- references orders
- Hibernate:
- alter table orders
- add constraint FKlxvrjb6oyfjjffp0vvusn22uy
- foreign key (customer_id)
- references Customer
- Hibernate:
- alter table Provider
- add constraint FKt9vbbwgnd3e4di9f8lcgtc43k
- foreign key (address_id)
- references Address
- Hibernate:
- alter table Provider_Product
- add constraint FKfgpx34j94m2ialpk9eprimjdd
- foreign key (products_id)
- references Product
- Hibernate:
- alter table Provider_Product
- add constraint FKf4ah0t40tl5x9ddllwv3pmemh
- foreign key (providers_id)
- references Provider
- mag 08, 2016 6:29:51 PM org.hibernate.tool.schema.internal.SchemaCreatorImpl applyImportSources
- INFO: HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@62ea3440'
- mag 08, 2016 6:29:51 PM org.hibernate.hql.internal.QueryTranslatorFactoryInitiator initiateService
- INFO: HHH000397: Using ASTQueryTranslatorFactory
- Hibernate:
- select
- nextval ('hibernate_sequence')
- Hibernate:
- select
- nextval ('hibernate_sequence')
- Hibernate:
- select
- nextval ('hibernate_sequence')
- Hibernate:
- select
- nextval ('hibernate_sequence')
- Hibernate:
- select
- nextval ('hibernate_sequence')
- Hibernate:
- insert
- into
- Address
- (city, country, state, street, zipCode, id)
- values
- (?, ?, ?, ?, ?, ?)
- Hibernate:
- insert
- into
- Customer
- (address_id, creationTime, dateOfBirth, email, firstname, lastname, phoneNumber, id)
- values
- (?, ?, ?, ?, ?, ?, ?, ?)
- Hibernate:
- insert
- into
- orders
- (creationTime, customer_id, id)
- values
- (?, ?, ?)
- Hibernate:
- insert
- into
- orders
- (creationTime, customer_id, id)
- values
- (?, ?, ?)
- Hibernate:
- insert
- into
- orders
- (creationTime, customer_id, id)
- values
- (?, ?, ?)
- mag 08, 2016 6:29:51 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl stop
- INFO: HHH10001008: Cleaning up connection pool [jdbc:postgresql://localhost/commerce]
- mag 08, 2016 6:29:51 PM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation
- INFO: HHH000204: Processing PersistenceUnitInfo [
- name: commerce-unit
- ...]
- mag 08, 2016 6:29:51 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
- WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
- mag 08, 2016 6:29:51 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
- INFO: HHH10001005: using driver [org.postgresql.Driver] at URL [jdbc:postgresql://localhost/commerce]
- mag 08, 2016 6:29:51 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
- INFO: HHH10001001: Connection properties: {user=postgres, password=****}
- mag 08, 2016 6:29:51 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
- INFO: HHH10001003: Autocommit mode: false
- mag 08, 2016 6:29:51 PM org.hibernate.engine.jdbc.connections.internal.PooledConnections <init>
- INFO: HHH000115: Hibernate connection pool size: 20 (min=1)
- mag 08, 2016 6:29:51 PM org.hibernate.dialect.Dialect <init>
- INFO: HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
- mag 08, 2016 6:29:51 PM org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl useContextualLobCreation
- INFO: HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
- mag 08, 2016 6:29:51 PM org.hibernate.type.BasicTypeRegistry register
- INFO: HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@524d6d96
- Hibernate:
- alter table Customer
- drop constraint FKfok4ytcqy7lovuiilldbebpd9
- Hibernate:
- alter table order_line
- drop constraint FKn2kcjpsik53mvru6nfqlu6ejn
- Hibernate:
- alter table order_line
- drop constraint FK2aqxln75q7fo8yvewbbws5mx9
- Hibernate:
- alter table orders
- drop constraint FKlxvrjb6oyfjjffp0vvusn22uy
- Hibernate:
- alter table Provider
- drop constraint FKt9vbbwgnd3e4di9f8lcgtc43k
- Hibernate:
- alter table Provider_Product
- drop constraint FKfgpx34j94m2ialpk9eprimjdd
- Hibernate:
- alter table Provider_Product
- drop constraint FKf4ah0t40tl5x9ddllwv3pmemh
- Hibernate:
- drop table if exists Address cascade
- Hibernate:
- drop table if exists Customer cascade
- Hibernate:
- drop table if exists order_line cascade
- Hibernate:
- drop table if exists orders cascade
- Hibernate:
- drop table if exists Product cascade
- Hibernate:
- drop table if exists Provider cascade
- Hibernate:
- drop table if exists Provider_Product cascade
- Hibernate:
- drop sequence hibernate_sequence
- Hibernate: create sequence hibernate_sequence start 1 increment 1
- Hibernate:
- create table Address (
- id int8 not null,
- city varchar(255) not null,
- country varchar(255) not null,
- state varchar(255) not null,
- street varchar(255) not null,
- zipCode varchar(255) not null,
- primary key (id)
- )
- Hibernate:
- create table Customer (
- id int8 not null,
- creationTime timestamp,
- dateOfBirth date,
- email varchar(255),
- firstname varchar(255) not null,
- lastname varchar(255) not null,
- phoneNumber varchar(255) not null,
- address_id int8,
- primary key (id)
- )
- Hibernate:
- create table order_line (
- id int8 not null,
- quantity int4 not null,
- unitPrice float4 not null,
- product_id int8,
- orders_id int8,
- primary key (id)
- )
- Hibernate:
- create table orders (
- id int8 not null,
- creationTime timestamp not null,
- customer_id int8,
- primary key (id)
- )
- Hibernate:
- create table Product (
- id int8 not null,
- code varchar(255) not null,
- description varchar(2000),
- name varchar(255) not null,
- price float4,
- primary key (id)
- )
- Hibernate:
- create table Provider (
- id int8 not null,
- email varchar(255),
- name varchar(255) not null,
- phoneNumber varchar(255) not null,
- vatin varchar(255),
- address_id int8,
- primary key (id)
- )
- Hibernate:
- create table Provider_Product (
- providers_id int8 not null,
- products_id int8 not null
- )
- Hibernate:
- alter table Customer
- add constraint FKfok4ytcqy7lovuiilldbebpd9
- foreign key (address_id)
- references Address
- Hibernate:
- alter table order_line
- add constraint FKn2kcjpsik53mvru6nfqlu6ejn
- foreign key (product_id)
- references Product
- Hibernate:
- alter table order_line
- add constraint FK2aqxln75q7fo8yvewbbws5mx9
- foreign key (orders_id)
- references orders
- Hibernate:
- alter table orders
- add constraint FKlxvrjb6oyfjjffp0vvusn22uy
- foreign key (customer_id)
- references Customer
- Hibernate:
- alter table Provider
- add constraint FKt9vbbwgnd3e4di9f8lcgtc43k
- foreign key (address_id)
- references Address
- Hibernate:
- alter table Provider_Product
- add constraint FKfgpx34j94m2ialpk9eprimjdd
- foreign key (products_id)
- references Product
- Hibernate:
- alter table Provider_Product
- add constraint FKf4ah0t40tl5x9ddllwv3pmemh
- foreign key (providers_id)
- references Provider
- mag 08, 2016 6:29:51 PM org.hibernate.tool.schema.internal.SchemaCreatorImpl applyImportSources
- INFO: HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@62ea3440'
- mag 08, 2016 6:29:51 PM org.hibernate.hql.internal.QueryTranslatorFactoryInitiator initiateService
- INFO: HHH000397: Using ASTQueryTranslatorFactory
- Unable to delete Customer [id=1, firstname=Alessandro, lastname=Giannetti, email=ale.giannetti@hotmail.it, phoneNumber=32412421, creationTime=null, dateOfBirth=null]: there are references to it.
- mag 08, 2016 6:29:51 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl stop
- INFO: HHH10001008: Cleaning up connection pool [jdbc:postgresql://localhost/commerce]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement