DemoApplicationTests

1

tests

0

failures

0

ignored

0.610s

duration

100%

successful

Tests

Test Duration Result
contextLoads() 0.610s passed

Standard output

20:00:13.821 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [org.zheng.demo.DemoApplicationTests]: DemoApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
20:00:13.936 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration org.zheng.demo.DemoApplication for test class org.zheng.demo.DemoApplicationTests

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.4.0)

2025-01-11T20:00:14.530-06:00  INFO 29436 --- [demo] [    Test worker] org.zheng.demo.DemoApplicationTests      : Starting DemoApplicationTests using Java 17 with PID 29436 (started by azpm0 in C:\MaryTools\workspace\demomapsid)
2025-01-11T20:00:14.533-06:00  INFO 29436 --- [demo] [    Test worker] org.zheng.demo.DemoApplicationTests      : No active profile set, falling back to 1 default profile: "default"
2025-01-11T20:00:15.309-06:00  INFO 29436 --- [demo] [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-01-11T20:00:15.387-06:00  INFO 29436 --- [demo] [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 65 ms. Found 4 JPA repository interfaces.
2025-01-11T20:00:15.865-06:00  INFO 29436 --- [demo] [    Test worker] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-01-11T20:00:15.956-06:00  INFO 29436 --- [demo] [    Test worker] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.6.2.Final
2025-01-11T20:00:16.033-06:00  INFO 29436 --- [demo] [    Test worker] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-01-11T20:00:16.500-06:00  INFO 29436 --- [demo] [    Test worker] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-01-11T20:00:16.560-06:00  INFO 29436 --- [demo] [    Test worker] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2025-01-11T20:00:16.769-06:00  INFO 29436 --- [demo] [    Test worker] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:c6d225dd-604b-41ea-bd60-9e28d6af5dc7 user=SA
2025-01-11T20:00:16.771-06:00  INFO 29436 --- [demo] [    Test worker] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2025-01-11T20:00:16.801-06:00  WARN 29436 --- [demo] [    Test worker] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-01-11T20:00:16.838-06:00  INFO 29436 --- [demo] [    Test worker] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
2025-01-11T20:00:18.140-06:00  INFO 29436 --- [demo] [    Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: 
    create table t_order (
        id integer generated by default as identity,
        name varchar(255),
        primary key (id)
    )
Hibernate: 
    create table t_order_item (
        quantity integer,
        order_id integer not null,
        product_id integer not null,
        primary key (order_id, product_id)
    )
Hibernate: 
    create table t_product (
        id integer generated by default as identity,
        name varchar(255),
        primary key (id)
    )
Hibernate: 
    create table t_product_profile (
        id integer generated by default as identity,
        product_detail varchar(255),
        primary key (id)
    )
Hibernate: 
    alter table if exists t_order_item 
       add constraint FK2y83rerik30vumt2a1mff6606 
       foreign key (order_id) 
       references t_order
Hibernate: 
    alter table if exists t_order_item 
       add constraint FKn4krp2vsjtox6l7sj5h55inx0 
       foreign key (product_id) 
       references t_product
Hibernate: 
    alter table if exists t_product_profile 
       add constraint FKghkpnmy480sm9k7nwayvyj6c1 
       foreign key (id) 
       references t_product
2025-01-11T20:00:18.270-06:00  INFO 29436 --- [demo] [    Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-01-11T20:00:19.110-06:00  WARN 29436 --- [demo] [    Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2025-01-11T20:00:19.577-06:00  INFO 29436 --- [demo] [    Test worker] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:c6d225dd-604b-41ea-bd60-9e28d6af5dc7'
2025-01-11T20:00:19.736-06:00  INFO 29436 --- [demo] [    Test worker] org.zheng.demo.DemoApplicationTests      : Started DemoApplicationTests in 5.643 seconds (process running for 6.948)