· 6 years ago · Nov 15, 2019, 12:10 AM
1➜ java-10 git:(master) ✗ ./mvnw spring-boot:run
2[INFO] Scanning for projects...
3[INFO]
4[INFO] -------------------< com.challenge:spring-data-ddl >--------------------
5[INFO] Building spring-data-ddl 0.0.1-SNAPSHOT
6[INFO] --------------------------------[ jar ]---------------------------------
7[INFO]
8[INFO] >>> spring-boot-maven-plugin:2.1.6.RELEASE:run (default-cli) > test-compile @ spring-data-ddl >>>
9[INFO]
10[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ spring-data-ddl ---
11[INFO] Using 'UTF-8' encoding to copy filtered resources.
12[INFO] Copying 1 resource
13[INFO] Copying 0 resource
14[INFO]
15[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ spring-data-ddl ---
16[INFO] Nothing to compile - all classes are up to date
17[INFO]
18[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ spring-data-ddl ---
19[INFO] Using 'UTF-8' encoding to copy filtered resources.
20[INFO] Copying 0 resource
21[INFO]
22[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ spring-data-ddl ---
23[INFO] Nothing to compile - all classes are up to date
24[INFO]
25[INFO] <<< spring-boot-maven-plugin:2.1.6.RELEASE:run (default-cli) < test-compile @ spring-data-ddl <<<
26[INFO]
27[INFO]
28[INFO] --- spring-boot-maven-plugin:2.1.6.RELEASE:run (default-cli) @ spring-data-ddl ---
29
30 . ____ _ __ _ _
31 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
32( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
33 \\/ ___)| |_)| | | | | || (_| | ) ) ) )
34 ' |____| .__|_| |_|_| |_\__, | / / / /
35 =========|_|==============|___/=/_/_/_/
36 :: Spring Boot :: (v2.1.6.RELEASE)
37
382019-11-14 22:06:36.926 INFO 9794 --- [ main] c.challenge.SpringChallengeApplication : Starting SpringChallengeApplication on MacBook-Pro-de-Daniel.local with PID 9794 (/Users/daniel/codenation/java-10/target/classes started by daniel in /Users/daniel/codenation/java-10)
392019-11-14 22:06:36.930 INFO 9794 --- [ main] c.challenge.SpringChallengeApplication : No active profile set, falling back to default profiles: default
402019-11-14 22:06:37.353 INFO 9794 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
412019-11-14 22:06:37.459 INFO 9794 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 96ms. Found 6 repository interfaces.
422019-11-14 22:06:37.929 INFO 9794 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
432019-11-14 22:06:38.212 INFO 9794 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
442019-11-14 22:06:38.299 INFO 9794 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
45 name: default
46 ...]
472019-11-14 22:06:38.377 INFO 9794 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.3.10.Final}
482019-11-14 22:06:38.379 INFO 9794 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
492019-11-14 22:06:38.548 INFO 9794 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.4.Final}
502019-11-14 22:06:38.718 INFO 9794 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
51Hibernate: drop table acceleration if exists
52Hibernate: drop table candidate if exists
53Hibernate: drop table challenge if exists
54Hibernate: drop table company if exists
55Hibernate: drop table submission if exists
56Hibernate: drop table users if exists
57Hibernate: create table acceleration (id bigint generated by default as identity, created_at timestamp, name varchar(255), slug varchar(255), challenge_id bigint, primary key (id))
58Hibernate: create table candidate (created_at timestamp, status integer, user_id bigint not null, company_id bigint not null, acceleration_id bigint not null, primary key (acceleration_id, company_id, user_id))
59Hibernate: create table challenge (id bigint generated by default as identity, created_at timestamp, name varchar(255), slug varchar(255), primary key (id))
60Hibernate: create table company (id bigint generated by default as identity, created_at timestamp, name varchar(255), slug varchar(255), primary key (id))
61Hibernate: create table submission (created_at timestamp, score float, user_id bigint not null, challenge_id bigint not null, primary key (challenge_id, user_id))
62Hibernate: create table users (id bigint generated by default as identity, created_at timestamp, email varchar(255), full_name varchar(255), nickname varchar(255), password varchar(255), primary key (id))
63Hibernate: alter table acceleration add constraint FK6bucejmky2hqhcmj6vexf9tkp foreign key (challenge_id) references challenge
64Hibernate: alter table candidate add constraint FKc23nbdgfce6rnt56ofltvxu71 foreign key (user_id) references users
65Hibernate: alter table candidate add constraint FK5859evebv1forwxno1dj2x73m foreign key (company_id) references company
66Hibernate: alter table candidate add constraint FK9wdl31wkstau7n5wckm5prkdg foreign key (acceleration_id) references acceleration
67Hibernate: alter table submission add constraint FKioe5xddu66v3aktrkyxj4vfx9 foreign key (user_id) references users
68Hibernate: alter table submission add constraint FK5w6mihcq53t1j5x2cmgy640cm foreign key (challenge_id) references challenge
692019-11-14 22:06:39.521 INFO 9794 --- [ main] o.h.t.schema.internal.SchemaCreatorImpl : HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@5fea3a62'
702019-11-14 22:06:39.524 INFO 9794 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
712019-11-14 22:06:39.980 INFO 9794 --- [ main] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory
722019-11-14 22:06:40.629 INFO 9794 --- [ main] c.challenge.SpringChallengeApplication : Started SpringChallengeApplication in 19.03 seconds (JVM running for 22.45)
73[INFO] ------------------------------------------------------------------------
74[INFO] BUILD SUCCESS
75[INFO] ------------------------------------------------------------------------
76[INFO] Total time: 21.211 s
77[INFO] Finished at: 2019-11-14T22:06:40-02:00
78[INFO] ------------------------------------------------------------------------
792019-11-14 22:06:40.643 INFO 9794 --- [ Thread-4] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
802019-11-14 22:06:40.643 INFO 9794 --- [ Thread-4] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
81Hibernate: drop table acceleration if exists
82Hibernate: drop table candidate if exists
83Hibernate: drop table challenge if exists
84Hibernate: drop table company if exists
85Hibernate: drop table submission if exists
86Hibernate: drop table users if exists
872019-11-14 22:06:40.652 INFO 9794 --- [ Thread-4] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
882019-11-14 22:06:40.656 INFO 9794 --- [ Thread-4] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
89➜ java-10 git:(master) ✗