CreateUsersHibernate #70

Closed h-fuji wants to merge 2 commits into nitta-lab-2019:master from nitta-lab-2019:CreateUsersHibernate
Showing 4 changed files
View
99
logFilePath_IS_UNDEFINED2019/07/25.log 0 → 100644
2019/07/25 19:01:08 INFO [main] - Starting CosmosServerSbApplication on NITTA-LAB-3 with PID 10344 (C:\Desktop\CosmosS\out\production\classes started by Student in C:\Desktop\CosmosS)
2019/07/25 19:01:08 INFO [main] - The following profiles are active: development
2019/07/25 19:01:09 INFO [main] - Bootstrapping Spring Data repositories in DEFAULT mode.
2019/07/25 19:01:09 INFO [main] - Finished Spring Data repository scanning in 32ms. Found 0 repository interfaces.
2019/07/25 19:01:09 INFO [main] - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$e1fe75a6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019/07/25 19:01:09 INFO [main] - Tomcat initialized with port(s): 8080 (http)
2019/07/25 19:01:09 INFO [main] - Starting service [Tomcat]
2019/07/25 19:01:09 INFO [main] - Starting Servlet engine: [Apache Tomcat/9.0.17]
2019/07/25 19:01:09 INFO [main] - Initializing Spring embedded WebApplicationContext
2019/07/25 19:01:09 INFO [main] - Root WebApplicationContext: initialization completed in 1622 ms
2019/07/25 19:01:10 INFO [main] - HikariPool-1 - Starting...
2019/07/25 19:01:10 INFO [main] - HikariPool-1 - Start completed.
2019/07/25 19:01:10 INFO [main] - HHH000204: Processing PersistenceUnitInfo [name: default]
2019/07/25 19:01:10 INFO [main] - HHH000412: Hibernate Core {5.4.2.Final}
2019/07/25 19:01:10 INFO [main] - HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2019/07/25 19:01:10 INFO [main] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/07/25 19:01:11 INFO [main] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/07/25 19:01:11 INFO [main] - Initialized JPA EntityManagerFactory for persistence unit 'default'
2019/07/25 19:01:11 INFO [main] - Initializing ExecutorService 'applicationTaskExecutor'
2019/07/25 19:01:11 WARN [main] - 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/07/25 19:01:11 WARN [main] - Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2019/07/25 19:01:11 INFO [main] - Tomcat started on port(s): 8080 (http) with context path ''
2019/07/25 19:01:11 INFO [main] - Started CosmosServerSbApplication in 3.978 seconds (JVM running for 6.29)
2019/07/25 19:01:21 WARN [http-nio-8080-exec-2] - A servlet request to the URI http://localhost:8080/users contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
2019/07/25 19:01:22 WARN [http-nio-8080-exec-2] - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:sampledb;DB_CLOSE_DELAY=-1;MVCC=TRUE]
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH10001001: Connection properties: {user=sa, password=****}
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH10001003: Autocommit mode: false
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH000115: Hibernate connection pool size: 1 (min=1)
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/07/25 19:01:22 WARN [http-nio-8080-exec-2] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/25 19:01:22 WARN [http-nio-8080-exec-2] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@118d981] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@859ad3] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/07/25 19:01:22 WARN [http-nio-8080-exec-2] - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:sampledb;DB_CLOSE_DELAY=-1;MVCC=TRUE]
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH10001001: Connection properties: {user=sa, password=****}
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH10001003: Autocommit mode: false
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH000115: Hibernate connection pool size: 1 (min=1)
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/07/25 19:01:22 WARN [http-nio-8080-exec-2] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/25 19:01:22 WARN [http-nio-8080-exec-2] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@1e2053b] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@d899cc] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/25 19:01:22 INFO [http-nio-8080-exec-2] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/07/25 19:01:23 INFO [http-nio-8080-exec-2] - インコ さんのアカウント作成が完了しました。
2019/07/25 19:02:29 INFO [http-nio-8080-exec-5] - uId:092818ac-dc16-4148-9b55-d58ff76dd0ef の方のデータを送信します
2019/07/25 19:03:22 INFO [http-nio-8080-exec-7] - uId:092818ac-dc16-4148-9b55-d58ff76dd0ef の方のデータを送信します
2019/07/25 19:03:27 INFO [http-nio-8080-exec-8] - uId:092818ac-dc16-4148-9b55-d58ff76dd0ef の方のデータを送信します
2019/07/25 19:05:03 INFO [main] - Starting CosmosServerSbApplication on NITTA-LAB-3 with PID 4848 (C:\Desktop\CosmosS\out\production\classes started by Student in C:\Desktop\CosmosS)
2019/07/25 19:05:03 INFO [main] - The following profiles are active: development
2019/07/25 19:05:03 INFO [main] - Bootstrapping Spring Data repositories in DEFAULT mode.
2019/07/25 19:05:03 INFO [main] - Finished Spring Data repository scanning in 16ms. Found 0 repository interfaces.
2019/07/25 19:05:04 INFO [main] - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c21d7c6b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019/07/25 19:05:04 INFO [main] - Tomcat initialized with port(s): 8080 (http)
2019/07/25 19:05:04 INFO [main] - Starting service [Tomcat]
2019/07/25 19:05:04 INFO [main] - Starting Servlet engine: [Apache Tomcat/9.0.17]
2019/07/25 19:05:04 INFO [main] - Initializing Spring embedded WebApplicationContext
2019/07/25 19:05:04 INFO [main] - Root WebApplicationContext: initialization completed in 1543 ms
2019/07/25 19:05:05 INFO [main] - HikariPool-1 - Starting...
2019/07/25 19:05:05 INFO [main] - HikariPool-1 - Start completed.
2019/07/25 19:05:05 INFO [main] - HHH000204: Processing PersistenceUnitInfo [name: default]
2019/07/25 19:05:05 INFO [main] - HHH000412: Hibernate Core {5.4.2.Final}
2019/07/25 19:05:05 INFO [main] - HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2019/07/25 19:05:05 INFO [main] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/07/25 19:05:05 INFO [main] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/07/25 19:05:05 INFO [main] - Initialized JPA EntityManagerFactory for persistence unit 'default'
2019/07/25 19:05:06 INFO [main] - Initializing ExecutorService 'applicationTaskExecutor'
2019/07/25 19:05:06 WARN [main] - 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/07/25 19:05:06 WARN [main] - Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2019/07/25 19:05:06 INFO [main] - Tomcat started on port(s): 8080 (http) with context path ''
2019/07/25 19:05:06 INFO [main] - Started CosmosServerSbApplication in 3.674 seconds (JVM running for 4.324)
2019/07/25 19:05:16 WARN [http-nio-8080-exec-2] - A servlet request to the URI http://localhost:8080/users contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
2019/07/25 19:05:17 WARN [http-nio-8080-exec-2] - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:sampledb;DB_CLOSE_DELAY=-1;MVCC=TRUE]
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH10001001: Connection properties: {user=sa, password=****}
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH10001003: Autocommit mode: false
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH000115: Hibernate connection pool size: 1 (min=1)
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/07/25 19:05:17 WARN [http-nio-8080-exec-2] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/25 19:05:17 WARN [http-nio-8080-exec-2] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@4bd05d] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@14e55a9] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/07/25 19:05:17 WARN [http-nio-8080-exec-2] - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:sampledb;DB_CLOSE_DELAY=-1;MVCC=TRUE]
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH10001001: Connection properties: {user=sa, password=****}
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH10001003: Autocommit mode: false
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH000115: Hibernate connection pool size: 1 (min=1)
2019/07/25 19:05:17 INFO [http-nio-8080-exec-2] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/07/25 19:05:17 WARN [http-nio-8080-exec-2] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/25 19:05:17 WARN [http-nio-8080-exec-2] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/25 19:05:18 INFO [http-nio-8080-exec-2] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@dcf712] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/25 19:05:18 INFO [http-nio-8080-exec-2] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@7a4502] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/25 19:05:18 INFO [http-nio-8080-exec-2] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/07/25 19:05:18 INFO [http-nio-8080-exec-2] - インコ さんのアカウント作成が完了しました。
2019/07/25 19:05:36 INFO [http-nio-8080-exec-3] - uId:84f86d5d-f0bc-4193-b384-6b3252d78594 の方のデータを送信します
View
50
logFilePath_IS_UNDEFINED2019/07/29.log 0 → 100644
2019/07/29 14:11:24 INFO [main] - Starting CosmosServerSbApplication on NITTA-LAB-3 with PID 5988 (C:\Desktop\CosmosS\out\production\classes started by Student in C:\Desktop\CosmosS)
2019/07/29 14:11:24 INFO [main] - The following profiles are active: development
2019/07/29 14:11:25 INFO [main] - Bootstrapping Spring Data repositories in DEFAULT mode.
2019/07/29 14:11:25 INFO [main] - Finished Spring Data repository scanning in 16ms. Found 0 repository interfaces.
2019/07/29 14:11:26 INFO [main] - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$610e42b5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019/07/29 14:11:26 INFO [main] - Tomcat initialized with port(s): 8080 (http)
2019/07/29 14:11:26 INFO [main] - Starting service [Tomcat]
2019/07/29 14:11:26 INFO [main] - Starting Servlet engine: [Apache Tomcat/9.0.17]
2019/07/29 14:11:26 INFO [main] - Initializing Spring embedded WebApplicationContext
2019/07/29 14:11:26 INFO [main] - Root WebApplicationContext: initialization completed in 1730 ms
2019/07/29 14:11:26 INFO [main] - HikariPool-1 - Starting...
2019/07/29 14:11:26 INFO [main] - HikariPool-1 - Start completed.
2019/07/29 14:11:27 INFO [main] - HHH000204: Processing PersistenceUnitInfo [name: default]
2019/07/29 14:11:27 INFO [main] - HHH000412: Hibernate Core {5.4.2.Final}
2019/07/29 14:11:27 INFO [main] - HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2019/07/29 14:11:27 INFO [main] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/07/29 14:11:27 INFO [main] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/07/29 14:11:27 INFO [main] - Initialized JPA EntityManagerFactory for persistence unit 'default'
2019/07/29 14:11:27 INFO [main] - Initializing ExecutorService 'applicationTaskExecutor'
2019/07/29 14:11:27 WARN [main] - 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/07/29 14:11:28 WARN [main] - Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2019/07/29 14:11:28 INFO [main] - Tomcat started on port(s): 8080 (http) with context path ''
2019/07/29 14:11:28 INFO [main] - Started CosmosServerSbApplication in 4.188 seconds (JVM running for 5.068)
2019/07/29 14:12:07 WARN [http-nio-8080-exec-6] - A servlet request to the URI http://localhost:8080/users contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
2019/07/29 14:12:08 WARN [http-nio-8080-exec-6] - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2019/07/29 14:12:08 INFO [http-nio-8080-exec-6] - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:sampledb;DB_CLOSE_DELAY=-1;MVCC=TRUE]
2019/07/29 14:12:08 INFO [http-nio-8080-exec-6] - HHH10001001: Connection properties: {user=sa, password=****}
2019/07/29 14:12:08 INFO [http-nio-8080-exec-6] - HHH10001003: Autocommit mode: false
2019/07/29 14:12:08 INFO [http-nio-8080-exec-6] - HHH000115: Hibernate connection pool size: 1 (min=1)
2019/07/29 14:12:08 INFO [http-nio-8080-exec-6] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/07/29 14:12:08 WARN [http-nio-8080-exec-6] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/29 14:12:08 WARN [http-nio-8080-exec-6] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@7a44b4] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@3afeee] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/07/29 14:12:09 WARN [http-nio-8080-exec-6] - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:sampledb;DB_CLOSE_DELAY=-1;MVCC=TRUE]
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH10001001: Connection properties: {user=sa, password=****}
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH10001003: Autocommit mode: false
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH000115: Hibernate connection pool size: 1 (min=1)
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/07/29 14:12:09 WARN [http-nio-8080-exec-6] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/29 14:12:09 WARN [http-nio-8080-exec-6] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@19848d9] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@fde132] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/07/29 14:12:09 INFO [http-nio-8080-exec-6] - インコ さんのアカウント作成が完了しました。
2019/07/29 14:14:52 WARN [http-nio-8080-exec-5] - A servlet request to the URI http://localhost:8080/users/d984407a-a610-4f8f-bc13-45c73e71f04c contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
2019/07/29 14:14:52 INFO [http-nio-8080-exec-5] - uId:d984407a-a610-4f8f-bc13-45c73e71f04c ユーザを削除しました
View
50
logFilePath_IS_UNDEFINED2019/09/17.log 0 → 100644
2019/09/17 15:18:25 INFO [main] - Starting CosmosServerSbApplication on NITTA-LAB-3 with PID 8524 (C:\Desktop\CosmosS\out\production\classes started by Student in C:\Desktop\CosmosS)
2019/09/17 15:18:25 INFO [main] - The following profiles are active: development
2019/09/17 15:18:27 INFO [main] - Bootstrapping Spring Data repositories in DEFAULT mode.
2019/09/17 15:18:27 INFO [main] - Finished Spring Data repository scanning in 20ms. Found 0 repository interfaces.
2019/09/17 15:18:27 INFO [main] - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$26db462d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019/09/17 15:18:27 INFO [main] - Tomcat initialized with port(s): 8080 (http)
2019/09/17 15:18:27 INFO [main] - Starting service [Tomcat]
2019/09/17 15:18:27 INFO [main] - Starting Servlet engine: [Apache Tomcat/9.0.17]
2019/09/17 15:18:28 INFO [main] - Initializing Spring embedded WebApplicationContext
2019/09/17 15:18:28 INFO [main] - Root WebApplicationContext: initialization completed in 1975 ms
2019/09/17 15:18:28 INFO [main] - HikariPool-1 - Starting...
2019/09/17 15:18:28 INFO [main] - HikariPool-1 - Start completed.
2019/09/17 15:18:28 INFO [main] - HHH000204: Processing PersistenceUnitInfo [name: default]
2019/09/17 15:18:28 INFO [main] - HHH000412: Hibernate Core {5.4.2.Final}
2019/09/17 15:18:28 INFO [main] - HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2019/09/17 15:18:29 INFO [main] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/09/17 15:18:29 INFO [main] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/09/17 15:18:29 INFO [main] - Initialized JPA EntityManagerFactory for persistence unit 'default'
2019/09/17 15:18:29 INFO [main] - Initializing ExecutorService 'applicationTaskExecutor'
2019/09/17 15:18:29 WARN [main] - 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/09/17 15:18:29 WARN [main] - Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2019/09/17 15:18:29 INFO [main] - Tomcat started on port(s): 8080 (http) with context path ''
2019/09/17 15:18:29 INFO [main] - Started CosmosServerSbApplication in 5.196 seconds (JVM running for 6.093)
2019/09/17 15:18:33 INFO [http-nio-8080-exec-1] - Invalid chunk starting at byte [0] and ending at byte [37] with a value of [=6a4abde6-e366-4f36-981d-c6684cd69e80] ignored
Note: further occurrences of Parameter errors will be logged at DEBUG level.
2019/09/17 15:18:33 WARN [http-nio-8080-exec-1] - A servlet request to the URI http://localhost:8080/users?=6a4abde6-e366-4f36-981d-c6684cd69e80 contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
2019/09/17 15:18:34 WARN [http-nio-8080-exec-1] - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2019/09/17 15:18:34 INFO [http-nio-8080-exec-1] - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:sampledb;DB_CLOSE_DELAY=-1;MVCC=TRUE]
2019/09/17 15:18:34 INFO [http-nio-8080-exec-1] - HHH10001001: Connection properties: {user=sa, password=****}
2019/09/17 15:18:34 INFO [http-nio-8080-exec-1] - HHH10001003: Autocommit mode: false
2019/09/17 15:18:34 INFO [http-nio-8080-exec-1] - HHH000115: Hibernate connection pool size: 1 (min=1)
2019/09/17 15:18:34 INFO [http-nio-8080-exec-1] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/09/17 15:18:34 WARN [http-nio-8080-exec-1] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/09/17 15:18:34 WARN [http-nio-8080-exec-1] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@4c814c] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@137af9c] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/09/17 15:18:35 WARN [http-nio-8080-exec-1] - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:sampledb;DB_CLOSE_DELAY=-1;MVCC=TRUE]
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH10001001: Connection properties: {user=sa, password=****}
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH10001003: Autocommit mode: false
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH000115: Hibernate connection pool size: 1 (min=1)
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2019/09/17 15:18:35 WARN [http-nio-8080-exec-1] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/09/17 15:18:35 WARN [http-nio-8080-exec-1] - HHH90000009: The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join="false", use lazy="extra" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@16796b1] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@1f7d135] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019/09/17 15:18:35 INFO [http-nio-8080-exec-1] - インコ さんのアカウント作成が完了しました。
View
12
src/main/java/com/example/cosmos_serversb/models/Users.java
// System.out.println(mapper.valueToTree(findUser).toString());
return findUser;
}
}
throw new WebApplicationException(404);
//例外処理
return null;
}
 
public static User getUserByToken(String token) {
//与えられたTokenに紐づくUser情報を返す
if(checkPassword(uId,pw)) {
Token testtoken = getInstance().createToken(uId);
return testtoken;//testToken
}else{
throw new WebApplicationException(401);
//例外処理
return null;
}
}
 
public static DeleteResult logout(String uId,String token) {
return DeleteResult.SUCCESS;
}
}
}
throw new WebApplicationException(400);
//例外処理
return null;
}
 
public static boolean checkToken(String uId, String token) {
/**