Skip to content

Instantly share code, notes, and snippets.

@jogaco
Created May 21, 2017 18:21
Show Gist options
  • Save jogaco/f23c78c48011170ba6d897e540f95b73 to your computer and use it in GitHub Desktop.
Save jogaco/f23c78c48011170ba6d897e540f95b73 to your computer and use it in GitHub Desktop.
Spring Boot Tutorial: first Repository test is passing
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.3.RELEASE)
2017-05-21 20:14:25.542 INFO 9085 --- [ main] c.o.g.SpringBootMysqlApplicationTests : Starting SpringBootMysqlApplicationTests on hal9003 with PID 9085 (started by jgarcia in /home/java-projects/spr-boot)
2017-05-21 20:14:25.544 INFO 9085 --- [ main] c.o.g.SpringBootMysqlApplicationTests : No active profile set, falling back to default profiles: default
2017-05-21 20:14:25.600 INFO 9085 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7e9131d5: startup date [Sun May 21 20:14:25 CEST 2017]; root of context hierarchy
2017-05-21 20:14:27.250 INFO 9085 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2017-05-21 20:14:27.352 INFO 9085 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-05-21 20:14:27.459 INFO 9085 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
2017-05-21 20:14:27.463 INFO 9085 --- [ main] org.hibernate.cfg.Environment : HHH000205: Loaded properties from resource hibernate.properties: {hibernate.connection.username=username, hibernate.connection.password=****, hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect, hibernate.connection.url=jdbc:mysql://localhost/game_manager?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC, hibernate.bytecode.use_reflection_optimizer=false, hibernate.connection.driver_class=com.mysql.jdbc.Driver}
2017-05-21 20:14:27.464 INFO 9085 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
2017-05-21 20:14:27.533 INFO 9085 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2017-05-21 20:14:27.705 INFO 9085 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2017-05-21 20:14:28.360 INFO 9085 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2017-05-21 20:14:28.933 INFO 9085 --- [ main] c.o.g.SpringBootMysqlApplicationTests : Started SpringBootMysqlApplicationTests in 3.709 seconds (JVM running for 4.493)
2017-05-21 20:14:29.006 INFO 9085 --- [ main] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.12 sec - in com.operatornew.gamemanager.SpringBootMysqlApplicationTests
2017-05-21 20:14:29.235 INFO 9085 --- [ Thread-3] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@7e9131d5: startup date [Sun May 21 20:14:25 CEST 2017]; root of context hierarchy
2017-05-21 20:14:29.242 INFO 9085 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
@vitolipari
Copy link

Did you solve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment