Class ch.std.jumpstart.SQLControllerTests

2

tests

0

failures

0

ignored

1.141s

duration

100%

successful

Tests

Test Duration Result
contextLoads 1.050s passed
testSelectCity 0.091s passed

Standard output

18:36:02.004 [Test worker] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class ch.std.jumpstart.SQLControllerTests]
18:36:02.021 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
18:36:02.038 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
18:36:02.057 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [ch.std.jumpstart.SQLControllerTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
18:36:02.073 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [ch.std.jumpstart.SQLControllerTests], using SpringBootContextLoader
18:36:02.076 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [ch.std.jumpstart.SQLControllerTests]: class path resource [ch/std/jumpstart/SQLControllerTests-context.xml] does not exist
18:36:02.077 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [ch.std.jumpstart.SQLControllerTests]: class path resource [ch/std/jumpstart/SQLControllerTestsContext.groovy] does not exist
18:36:02.077 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [ch.std.jumpstart.SQLControllerTests]: no resource found for suffixes {-context.xml, Context.groovy}.
18:36:02.079 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [ch.std.jumpstart.SQLControllerTests]: SQLControllerTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
18:36:02.243 [Test worker] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/home/user/eclipse-workspace/genericcontroller/build/classes/java/main/ch/std/jumpstart/JumpstartApplication.class]
18:36:02.245 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration ch.std.jumpstart.JumpstartApplication for test class ch.std.jumpstart.SQLControllerTests
18:36:02.399 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [ch.std.jumpstart.SQLControllerTests]: using defaults.
18:36:02.399 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
18:36:02.422 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1d5ebb00, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2dd8e44c, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@254a63d6, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@5247a1c3, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3aa99630, org.springframework.test.context.transaction.TransactionalTestExecutionListener@50b9efad, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@269b72bf, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@49bd9616, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@3fd38107, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@2008d5d7, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@5d7b45e3, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@7853757c]
18:36:02.426 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ch.std.jumpstart.SQLControllerTests]
18:36:02.427 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ch.std.jumpstart.SQLControllerTests]
18:36:02.428 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ch.std.jumpstart.SQLControllerTests]
18:36:02.428 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ch.std.jumpstart.SQLControllerTests]
18:36:02.434 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@6b7aa74 testClass = SQLControllerTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@19e3998 testClass = SQLControllerTests, locations = '{}', classes = '{class ch.std.jumpstart.JumpstartApplication}', contextInitializerClasses = '[]', activeProfiles = '{test}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=0}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@54cbe843, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4968025, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@534e159, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@288518fe], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> false]], class annotated with @DirtiesContext [false] with mode [null].
18:36:02.435 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ch.std.jumpstart.SQLControllerTests]
18:36:02.436 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ch.std.jumpstart.SQLControllerTests]
18:36:02.444 [Test worker] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@6b7aa74 testClass = SQLControllerTests, testInstance = ch.std.jumpstart.SQLControllerTests@509e037c, testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@19e3998 testClass = SQLControllerTests, locations = '{}', classes = '{class ch.std.jumpstart.JumpstartApplication}', contextInitializerClasses = '[]', activeProfiles = '{test}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=0}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@54cbe843, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4968025, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@534e159, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@288518fe], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> false]]].
18:36:02.492 [Test worker] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=0}
     ____.                     _________ __                 __   
    |    |__ __  _____ ______ /   _____//  |______ ________/  |_ 
    |    |  |  \/     \\____ \\_____  \\   __\__  \\_  __ \   __\
/\__|    |  |  /  Y Y  \  |_> >        \|  |  / __ \|  | \/|  |  
\________|____/|__|_|  /   __/_______  /|__| (____  /__|   |__|  
                     \/|__|          \/           \/             


2019-03-07 18:36:03.041  WARN 4212 --- [    Test worker] ory$DuplicateJsonObjectContextCustomizer : 

Found multiple occurrences of org.json.JSONObject on the class path:

	jar:file:/home/user/.gradle/caches/modules-2/files-2.1/org.json/json/20180813/8566b2b0391d9d4479ea225645c6ed47ef17fe41/json-20180813.jar!/org/json/JSONObject.class
	jar:file:/home/user/.gradle/caches/modules-2/files-2.1/com.vaadin.external.google/android-json/0.0.20131108.vaadin1/fa26d351fe62a6a17f5cda1287c1c6110dec413f/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class

You may wish to exclude one of them to ensure predictable runtime behavior

2019-03-07 18:36:03.068  INFO 4212 --- [    Test worker] ch.std.jumpstart.SQLControllerTests      : Starting SQLControllerTests on ubuntu with PID 4212 (started by user in /home/user/eclipse-workspace/genericcontroller)
2019-03-07 18:36:03.069  INFO 4212 --- [    Test worker] ch.std.jumpstart.SQLControllerTests      : The following profiles are active: test
2019-03-07 18:36:04.775  INFO 4212 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2019-03-07 18:36:04.879  INFO 4212 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 96ms. Found 1 repository interfaces.
2019-03-07 18:36:05.723  INFO 4212 --- [    Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f3b2d73b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-03-07 18:36:05.794  INFO 4212 --- [    Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.hateoas.config.HateoasConfiguration' of type [org.springframework.hateoas.config.HateoasConfiguration$$EnhancerBySpringCGLIB$$7333246d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-03-07 18:36:06.753  INFO 4212 --- [    Test worker] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 0 (http)
2019-03-07 18:36:06.790  INFO 4212 --- [    Test worker] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2019-03-07 18:36:06.791  INFO 4212 --- [    Test worker] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/9.0.12
2019-03-07 18:36:06.810  INFO 4212 --- [    Test worker] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
2019-03-07 18:36:06.957  INFO 4212 --- [    Test worker] o.a.c.c.C.[.[localhost].[/jumpstart]     : Initializing Spring embedded WebApplicationContext
2019-03-07 18:36:06.958  INFO 4212 --- [    Test worker] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 3855 ms
2019-03-07 18:36:07.098  INFO 4212 --- [    Test worker] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
2019-03-07 18:36:07.104  INFO 4212 --- [    Test worker] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2019-03-07 18:36:07.105  INFO 4212 --- [    Test worker] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2019-03-07 18:36:07.106  INFO 4212 --- [    Test worker] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'formContentFilter' to: [/*]
2019-03-07 18:36:07.106  INFO 4212 --- [    Test worker] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2019-03-07 18:36:07.106  INFO 4212 --- [    Test worker] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestLoggingFilter' to: [/*]
2019-03-07 18:36:07.138 DEBUG 4212 --- [    Test worker] o.s.w.f.CommonsRequestLoggingFilter      : Filter 'requestLoggingFilter' configured for use
2019-03-07 18:36:07.361  INFO 4212 --- [    Test worker] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2019-03-07 18:36:07.598  INFO 4212 --- [    Test worker] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2019-03-07 18:36:07.697  INFO 4212 --- [    Test worker] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [
	name: default
	...]
2019-03-07 18:36:07.899  INFO 4212 --- [    Test worker] org.hibernate.Version                    : HHH000412: Hibernate Core {5.3.7.Final}
2019-03-07 18:36:07.902  INFO 4212 --- [    Test worker] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2019-03-07 18:36:08.378  INFO 4212 --- [    Test worker] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.4.Final}
2019-03-07 18:36:08.708  INFO 4212 --- [    Test worker] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.MySQL57Dialect
2019-03-07 18:36:09.833 DEBUG 4212 --- [    Test worker] org.hibernate.SQL                        : 
    
    drop table if exists city
Hibernate: 
    
    drop table if exists city
2019-03-07 18:36:09.852 DEBUG 4212 --- [    Test worker] org.hibernate.SQL                        : 
    
    drop table if exists hibernate_sequence
Hibernate: 
    
    drop table if exists hibernate_sequence
2019-03-07 18:36:09.858 DEBUG 4212 --- [    Test worker] org.hibernate.SQL                        : 
    
    create table city (
       id bigint not null,
        name varchar(128),
        primary key (id)
    ) engine=InnoDB
Hibernate: 
    
    create table city (
       id bigint not null,
        name varchar(128),
        primary key (id)
    ) engine=InnoDB
2019-03-07 18:36:09.923 DEBUG 4212 --- [    Test worker] org.hibernate.SQL                        : 
    
    create table hibernate_sequence (
       next_val bigint
    ) engine=InnoDB
Hibernate: 
    
    create table hibernate_sequence (
       next_val bigint
    ) engine=InnoDB
2019-03-07 18:36:09.999 DEBUG 4212 --- [    Test worker] org.hibernate.SQL                        : 
    
    insert into hibernate_sequence values ( 1 )
Hibernate: 
    
    insert into hibernate_sequence values ( 1 )
2019-03-07 18:36:10.009 DEBUG 4212 --- [    Test worker] org.hibernate.SQL                        : 
    
    alter table city 
       add constraint UK_qsstlki7ni5ovaariyy9u8y79 unique (name)
Hibernate: 
    
    alter table city 
       add constraint UK_qsstlki7ni5ovaariyy9u8y79 unique (name)
2019-03-07 18:36:10.060  INFO 4212 --- [    Test worker] o.h.t.schema.internal.SchemaCreatorImpl  : HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@345add12'
2019-03-07 18:36:10.064  INFO 4212 --- [    Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-03-07 18:36:10.598  INFO 4212 --- [    Test worker] o.h.h.i.QueryTranslatorFactoryInitiator  : HHH000397: Using ASTQueryTranslatorFactory
2019-03-07 18:36:12.420  INFO 4212 --- [    Test worker] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2019-03-07 18:36:12.559  WARN 4212 --- [    Test worker] aWebConfiguration$JpaWebMvcConfiguration : 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
2019-03-07 18:36:13.324  INFO 4212 --- [    Test worker] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 39521 (http) with context path '/jumpstart'
2019-03-07 18:36:13.330  INFO 4212 --- [    Test worker] ch.std.jumpstart.SQLControllerTests      : Started SQLControllerTests in 10.836 seconds (JVM running for 12.58)
2019-03-07 18:36:13.336  INFO 4212 --- [    Test worker] ch.std.jumpstart.JumpstartApplication    : Access URL = http://ubuntu:0/jumpstart
2019-03-07 18:36:13.445  INFO 4212 --- [    Test worker] ch.std.jumpstart.SQLControllerTests      : SQLControllerTests.setup
2019-03-07 18:36:13.451  INFO 4212 --- [    Test worker] ch.std.jumpstart.SQLControllerTests      : SQLControllerTests.setup, postUrl = http://localhost:39521/jumpstart/rest/city
2019-03-07 18:36:13.880  INFO 4212 --- [o-auto-1-exec-1] o.a.c.c.C.[.[localhost].[/jumpstart]     : Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-03-07 18:36:13.886  INFO 4212 --- [o-auto-1-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2019-03-07 18:36:13.940  INFO 4212 --- [o-auto-1-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 52 ms
2019-03-07 18:36:13.968 DEBUG 4212 --- [o-auto-1-exec-1] o.s.w.f.CommonsRequestLoggingFilter      : Before request [uri=/jumpstart/rest/city;client=127.0.0.1]
2019-03-07 18:36:14.064  INFO 4212 --- [o-auto-1-exec-1] c.s.j.rest.GenericRestController         : >> generic post call request = {body={city={name=Bern, id=null}}, head={}}
2019-03-07 18:36:14.138 DEBUG 4212 --- [o-auto-1-exec-1] org.hibernate.SQL                        : 
    /* select
        generatedAlias0 
    from
        City as generatedAlias0 
    where
        generatedAlias0.name=:param0 */ select
            city0_.id as id1_0_,
            city0_.name as name2_0_ 
        from
            city city0_ 
        where
            city0_.name=?
Hibernate: 
    /* select
        generatedAlias0 
    from
        City as generatedAlias0 
    where
        generatedAlias0.name=:param0 */ select
            city0_.id as id1_0_,
            city0_.name as name2_0_ 
        from
            city city0_ 
        where
            city0_.name=?
2019-03-07 18:36:14.177 TRACE 4212 --- [o-auto-1-exec-1] o.h.type.descriptor.sql.BasicBinder      : binding parameter [1] as [VARCHAR] - [Bern]
2019-03-07 18:36:14.247 DEBUG 4212 --- [o-auto-1-exec-1] org.hibernate.SQL                        : 
    select
        next_val as id_val 
    from
        hibernate_sequence for update
            
Hibernate: 
    select
        next_val as id_val 
    from
        hibernate_sequence for update
            
2019-03-07 18:36:14.251 DEBUG 4212 --- [o-auto-1-exec-1] org.hibernate.SQL                        : 
    update
        hibernate_sequence 
    set
        next_val= ? 
    where
        next_val=?
Hibernate: 
    update
        hibernate_sequence 
    set
        next_val= ? 
    where
        next_val=?
2019-03-07 18:36:14.340 DEBUG 4212 --- [o-auto-1-exec-1] org.hibernate.SQL                        : 
    /* insert ch.std.jumpstart.jpa.City
        */ insert 
        into
            city
            (name, id) 
        values
            (?, ?)
Hibernate: 
    /* insert ch.std.jumpstart.jpa.City
        */ insert 
        into
            city
            (name, id) 
        values
            (?, ?)
2019-03-07 18:36:14.343 TRACE 4212 --- [o-auto-1-exec-1] o.h.type.descriptor.sql.BasicBinder      : binding parameter [1] as [VARCHAR] - [Bern]
2019-03-07 18:36:14.344 TRACE 4212 --- [o-auto-1-exec-1] o.h.type.descriptor.sql.BasicBinder      : binding parameter [2] as [BIGINT] - [1]
2019-03-07 18:36:14.354  INFO 4212 --- [o-auto-1-exec-1] ch.std.jumpstart.rest.CityController     : city City [id=1, name=Bern] new created
2019-03-07 18:36:14.391 DEBUG 4212 --- [o-auto-1-exec-1] o.s.w.f.CommonsRequestLoggingFilter      : After request [uri=/jumpstart/rest/city;client=127.0.0.1;payload={
  "body" : {
    "city" : {
      "name" : "Bern]
2019-03-07 18:36:14.392  INFO 4212 --- [    Test worker] ch.std.jumpstart.SQLControllerTests      : SQLControllerTests.setup, responseCity = City [id=1, name=Bern]
2019-03-07 18:36:14.406  INFO 4212 --- [    Test worker] ch.std.jumpstart.SQLControllerTests      : SQLControllerTests.setup
2019-03-07 18:36:14.406  INFO 4212 --- [    Test worker] ch.std.jumpstart.SQLControllerTests      : SQLControllerTests.setup, postUrl = http://localhost:39521/jumpstart/rest/city
2019-03-07 18:36:14.411 DEBUG 4212 --- [o-auto-1-exec-2] o.s.w.f.CommonsRequestLoggingFilter      : Before request [uri=/jumpstart/rest/city;client=127.0.0.1]
2019-03-07 18:36:14.415  INFO 4212 --- [o-auto-1-exec-2] c.s.j.rest.GenericRestController         : >> generic post call request = {body={city={name=Bern, id=null}}, head={}}
2019-03-07 18:36:14.418 DEBUG 4212 --- [o-auto-1-exec-2] org.hibernate.SQL                        : 
    /* select
        generatedAlias0 
    from
        City as generatedAlias0 
    where
        generatedAlias0.name=:param0 */ select
            city0_.id as id1_0_,
            city0_.name as name2_0_ 
        from
            city city0_ 
        where
            city0_.name=?
Hibernate: 
    /* select
        generatedAlias0 
    from
        City as generatedAlias0 
    where
        generatedAlias0.name=:param0 */ select
            city0_.id as id1_0_,
            city0_.name as name2_0_ 
        from
            city city0_ 
        where
            city0_.name=?
2019-03-07 18:36:14.420 TRACE 4212 --- [o-auto-1-exec-2] o.h.type.descriptor.sql.BasicBinder      : binding parameter [1] as [VARCHAR] - [Bern]
2019-03-07 18:36:14.441  INFO 4212 --- [o-auto-1-exec-2] ch.std.jumpstart.rest.CityController     : city City [id=null, name=Bern] is already exsting
2019-03-07 18:36:14.447 DEBUG 4212 --- [o-auto-1-exec-2] o.s.w.f.CommonsRequestLoggingFilter      : After request [uri=/jumpstart/rest/city;client=127.0.0.1;payload={
  "body" : {
    "city" : {
      "name" : "Bern]
2019-03-07 18:36:14.447  INFO 4212 --- [    Test worker] ch.std.jumpstart.SQLControllerTests      : SQLControllerTests.setup, responseCity = City [id=1, name=Bern]
2019-03-07 18:36:14.464 DEBUG 4212 --- [o-auto-1-exec-4] o.s.w.f.CommonsRequestLoggingFilter      : Before request [uri=/jumpstart/rest/query?sql=select%20*%20from%20city;client=127.0.0.1]
2019-03-07 18:36:14.469  INFO 4212 --- [o-auto-1-exec-4] c.s.j.rest.GenericRestController         : generic get call
2019-03-07 18:36:14.472  INFO 4212 --- [o-auto-1-exec-4] ch.std.jumpstart.rest.SQLController      : query, sql = select * from city
2019-03-07 18:36:14.489 DEBUG 4212 --- [o-auto-1-exec-4] o.s.w.f.CommonsRequestLoggingFilter      : After request [uri=/jumpstart/rest/query?sql=select%20*%20from%20city;client=127.0.0.1]