diff --git a/rest-controller-practice/.gitignore b/rest-controller-practice/.gitignore index c2065bc2..03c8c58b 100644 --- a/rest-controller-practice/.gitignore +++ b/rest-controller-practice/.gitignore @@ -4,6 +4,7 @@ build/ !gradle/wrapper/gradle-wrapper.jar !**/src/main/**/build/ !**/src/test/**/build/ +src/main/resources/application.yml ### STS ### .apt_generated diff --git a/rest-controller-practice/build.gradle b/rest-controller-practice/build.gradle index 1ade5743..7705b0dc 100644 --- a/rest-controller-practice/build.gradle +++ b/rest-controller-practice/build.gradle @@ -27,6 +27,7 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-web' + implementation 'org.springframework.boot:spring-boot-starter-mail' implementation("org.springframework.boot:spring-boot-starter-validation") diff --git a/rest-controller-practice/logs/spring-jpa.log b/rest-controller-practice/logs/spring-jpa.log index 73eb59ed..360b8faf 100644 --- a/rest-controller-practice/logs/spring-jpa.log +++ b/rest-controller-practice/logs/spring-jpa.log @@ -4218,3 +4218,6049 @@ Using generated security password: 65594739-5ead-44f6-bf22-fba435a2d572 2021-03-21 16:48:40.533 INFO 3492 --- [http-nio-8080-exec-5] c.e.r.common.aop.BoardLogger : ############################################################ 2021-03-21 16:48:40.533 INFO 3492 --- [http-nio-8080-exec-5] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 후! 2021-03-21 16:48:40.533 INFO 3492 --- [http-nio-8080-exec-5] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 18:24:12.312 INFO 6376 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 6376 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 18:24:12.316 INFO 6376 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 18:24:13.686 INFO 6376 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 18:24:13.944 INFO 6376 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 244 ms. Found 15 JPA repository interfaces. +2021-03-21 18:24:14.849 INFO 6376 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 18:24:14.862 INFO 6376 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 18:24:14.863 INFO 6376 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 18:24:15.029 INFO 6376 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 18:24:15.029 INFO 6376 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2640 ms +2021-03-21 18:24:15.105 INFO 6376 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 18:24:15.258 INFO 6376 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 18:24:15.265 INFO 6376 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 18:24:15.482 INFO 6376 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 18:24:15.564 INFO 6376 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 18:24:15.766 INFO 6376 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 18:24:15.809 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@6615237 +2021-03-21 18:24:15.810 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@6615237 +2021-03-21 18:24:15.810 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@6615237 +2021-03-21 18:24:15.811 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@611c3eae +2021-03-21 18:24:15.811 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@17176b18 +2021-03-21 18:24:15.812 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@57b9389f +2021-03-21 18:24:15.814 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@3f0ce0d1 +2021-03-21 18:24:15.814 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@3f0ce0d1 +2021-03-21 18:24:15.814 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@3f0ce0d1 +2021-03-21 18:24:15.816 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@350ff014 +2021-03-21 18:24:15.816 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@350ff014 +2021-03-21 18:24:15.816 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@350ff014 +2021-03-21 18:24:15.817 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@3b28b7b0 +2021-03-21 18:24:15.818 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@3b28b7b0 +2021-03-21 18:24:15.818 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@3b28b7b0 +2021-03-21 18:24:15.819 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@374c3975 +2021-03-21 18:24:15.819 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@374c3975 +2021-03-21 18:24:15.820 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@374c3975 +2021-03-21 18:24:15.821 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@60807fd9 +2021-03-21 18:24:15.821 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@60807fd9 +2021-03-21 18:24:15.822 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@60807fd9 +2021-03-21 18:24:15.823 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@3b218c74 +2021-03-21 18:24:15.823 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@3b218c74 +2021-03-21 18:24:15.823 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@3b218c74 +2021-03-21 18:24:15.824 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@b56ec6c +2021-03-21 18:24:15.825 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@b56ec6c +2021-03-21 18:24:15.825 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@b56ec6c +2021-03-21 18:24:15.826 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@38c460e8 +2021-03-21 18:24:15.827 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@38c460e8 +2021-03-21 18:24:15.827 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@67763ebe +2021-03-21 18:24:15.828 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@67763ebe +2021-03-21 18:24:15.829 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@383cdd4d +2021-03-21 18:24:15.829 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@383cdd4d +2021-03-21 18:24:15.830 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@685d7ba5 +2021-03-21 18:24:15.830 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@26d0ece6 +2021-03-21 18:24:15.831 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@35ac9ebd +2021-03-21 18:24:15.831 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@35ac9ebd +2021-03-21 18:24:15.832 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@4df7d9ee +2021-03-21 18:24:15.833 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@4df7d9ee +2021-03-21 18:24:15.834 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@7f4e5a39 +2021-03-21 18:24:15.834 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@7f4e5a39 +2021-03-21 18:24:15.836 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@64a1116a +2021-03-21 18:24:15.836 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@64a1116a +2021-03-21 18:24:15.837 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@d84b3a2 +2021-03-21 18:24:15.837 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@d84b3a2 +2021-03-21 18:24:15.839 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@537b3b2e +2021-03-21 18:24:15.839 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@537b3b2e +2021-03-21 18:24:15.841 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@7d47dfed +2021-03-21 18:24:15.841 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@7d47dfed +2021-03-21 18:24:15.843 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@237b2852 +2021-03-21 18:24:15.843 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@237b2852 +2021-03-21 18:24:15.845 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@539fc5d1 +2021-03-21 18:24:15.845 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@539fc5d1 +2021-03-21 18:24:15.847 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@71567f33 +2021-03-21 18:24:15.847 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@71567f33 +2021-03-21 18:24:15.848 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@3855d9b2 +2021-03-21 18:24:15.849 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@3855d9b2 +2021-03-21 18:24:15.860 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@587f4f63 +2021-03-21 18:24:15.860 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@587f4f63 +2021-03-21 18:24:15.860 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@587f4f63 +2021-03-21 18:24:15.862 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@2f4d01b6 +2021-03-21 18:24:15.865 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@621624b1 +2021-03-21 18:24:15.865 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@621624b1 +2021-03-21 18:24:15.865 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@621624b1 +2021-03-21 18:24:15.866 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@5be4be74 +2021-03-21 18:24:15.868 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@64dc86c6 +2021-03-21 18:24:15.870 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@5e68be2 +2021-03-21 18:24:15.870 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@5e68be2 +2021-03-21 18:24:15.872 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@2424cb9d +2021-03-21 18:24:15.873 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@2424cb9d +2021-03-21 18:24:15.875 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@4567fb2b +2021-03-21 18:24:15.875 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@4567fb2b +2021-03-21 18:24:15.876 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@36ad5f2a +2021-03-21 18:24:15.876 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@36ad5f2a +2021-03-21 18:24:15.877 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@7c901203 +2021-03-21 18:24:15.878 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@7c901203 +2021-03-21 18:24:15.878 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@edb83f8 +2021-03-21 18:24:15.880 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@aa752bb +2021-03-21 18:24:15.880 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@aa752bb +2021-03-21 18:24:15.881 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@aa752bb +2021-03-21 18:24:15.882 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@389a5022 +2021-03-21 18:24:15.882 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@389a5022 +2021-03-21 18:24:15.882 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@389a5022 +2021-03-21 18:24:15.884 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@41a16eb3 +2021-03-21 18:24:15.885 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@53cb0bcb +2021-03-21 18:24:15.886 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@7574d4ad +2021-03-21 18:24:15.886 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@7574d4ad +2021-03-21 18:24:15.886 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@7574d4ad +2021-03-21 18:24:15.887 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@7a55fb81 +2021-03-21 18:24:15.887 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@7a55fb81 +2021-03-21 18:24:15.888 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@7a55fb81 +2021-03-21 18:24:15.888 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@61911947 +2021-03-21 18:24:15.889 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@1b409a79 +2021-03-21 18:24:15.890 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@3e0a9b1d +2021-03-21 18:24:15.890 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@3e0a9b1d +2021-03-21 18:24:15.891 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@4e3283f6 +2021-03-21 18:24:15.893 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@21516c88 +2021-03-21 18:24:15.893 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@21516c88 +2021-03-21 18:24:15.894 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@32da97fd +2021-03-21 18:24:15.894 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@32da97fd +2021-03-21 18:24:15.895 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@464aeb09 +2021-03-21 18:24:15.895 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@27df5806 +2021-03-21 18:24:15.897 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@7308c820 +2021-03-21 18:24:15.900 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@4e4894d +2021-03-21 18:24:15.900 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@4e4894d +2021-03-21 18:24:15.901 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@dc1fadd +2021-03-21 18:24:15.901 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@3ef3f661 +2021-03-21 18:24:15.901 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@baa9ce4 +2021-03-21 18:24:15.901 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@5b332439 +2021-03-21 18:24:15.901 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@59262a90 +2021-03-21 18:24:15.901 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@78479f2b +2021-03-21 18:24:15.901 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@2755617b +2021-03-21 18:24:15.901 DEBUG 6376 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@65859b44 +2021-03-21 18:24:15.971 INFO 6376 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 18:24:16.065 DEBUG 6376 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@3095d401] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@2037f12b] +2021-03-21 18:24:16.314 DEBUG 6376 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 18:24:16.315 DEBUG 6376 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 18:24:16.516 DEBUG 6376 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@3095d401] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@6a902015] +2021-03-21 18:24:17.461 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 18:24:17.468 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 18:24:17.468 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 18:24:17.468 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 18:24:17.469 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 18:24:17.469 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 18:24:17.469 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 18:24:17.470 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 18:24:17.470 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 18:24:17.470 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 18:24:17.470 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 18:24:17.470 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 18:24:17.471 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 18:24:17.471 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 18:24:17.471 DEBUG 6376 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 18:24:17.476 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:17.500 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:17.501 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:17.503 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:17.505 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:17.508 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 18:24:17.510 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:17.513 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 18:24:17.515 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 18:24:17.517 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:17.519 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:17.523 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 18:24:17.528 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:17.529 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 18:24:17.531 DEBUG 6376 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:17.533 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 18:24:17.542 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 18:24:17.561 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 18:24:17.564 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 18:24:17.566 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 18:24:17.568 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 18:24:17.574 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 18:24:17.577 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 18:24:17.580 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 18:24:17.582 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 18:24:17.585 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 18:24:17.590 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 18:24:17.606 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 18:24:17.609 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 18:24:17.612 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 18:24:17.615 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 18:24:17.618 DEBUG 6376 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 18:24:17.626 INFO 6376 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 18:24:17.644 TRACE 6376 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@6a902015] for TypeConfiguration +2021-03-21 18:24:17.649 INFO 6376 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 18:24:20.035 WARN 6376 --- [main] 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 +2021-03-21 18:24:20.627 INFO 6376 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 2ca675ba-9a1c-4783-a10b-92c0fe51f53d + +2021-03-21 18:24:20.819 INFO 6376 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3f04fb07, org.springframework.security.web.context.SecurityContextPersistenceFilter@341c0dfc, org.springframework.security.web.header.HeaderWriterFilter@4cb59398, org.springframework.security.web.authentication.logout.LogoutFilter@5f1a3c4, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@507fecf3, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@55cf5626, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4718d320, org.springframework.security.web.session.SessionManagementFilter@3dd27116, org.springframework.security.web.access.ExceptionTranslationFilter@423d662a, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@5b1cedfd] +2021-03-21 18:24:21.207 INFO 6376 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 18:24:21.835 INFO 6376 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 18:24:21.858 INFO 6376 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 10.378 seconds (JVM running for 12.478) +2021-03-21 18:24:40.763 INFO 23828 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 23828 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 18:24:40.768 INFO 23828 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 18:24:42.494 INFO 23828 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 18:24:42.938 INFO 23828 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 420 ms. Found 15 JPA repository interfaces. +2021-03-21 18:24:44.530 INFO 23828 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 18:24:44.550 INFO 23828 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 18:24:44.552 INFO 23828 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 18:24:44.798 INFO 23828 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 18:24:44.798 INFO 23828 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3936 ms +2021-03-21 18:24:44.888 INFO 23828 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 18:24:45.064 INFO 23828 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 18:24:45.075 INFO 23828 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 18:24:45.354 INFO 23828 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 18:24:45.441 INFO 23828 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 18:24:45.602 INFO 23828 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 18:24:45.633 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@54895681 +2021-03-21 18:24:45.635 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@54895681 +2021-03-21 18:24:45.635 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@54895681 +2021-03-21 18:24:45.635 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@935d3f9 +2021-03-21 18:24:45.636 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@589fb74d +2021-03-21 18:24:45.637 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@37d699a1 +2021-03-21 18:24:45.639 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@267ff4df +2021-03-21 18:24:45.640 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@267ff4df +2021-03-21 18:24:45.640 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@267ff4df +2021-03-21 18:24:45.642 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@1b17d8ab +2021-03-21 18:24:45.642 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@1b17d8ab +2021-03-21 18:24:45.643 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@1b17d8ab +2021-03-21 18:24:45.644 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@28989415 +2021-03-21 18:24:45.645 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@28989415 +2021-03-21 18:24:45.645 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@28989415 +2021-03-21 18:24:45.646 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@7282af25 +2021-03-21 18:24:45.647 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@7282af25 +2021-03-21 18:24:45.647 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@7282af25 +2021-03-21 18:24:45.649 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@21dea711 +2021-03-21 18:24:45.649 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@21dea711 +2021-03-21 18:24:45.649 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@21dea711 +2021-03-21 18:24:45.651 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@759a678a +2021-03-21 18:24:45.651 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@759a678a +2021-03-21 18:24:45.651 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@759a678a +2021-03-21 18:24:45.652 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@6b832551 +2021-03-21 18:24:45.653 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@6b832551 +2021-03-21 18:24:45.653 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@6b832551 +2021-03-21 18:24:45.655 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@6615237 +2021-03-21 18:24:45.655 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@6615237 +2021-03-21 18:24:45.656 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@177ede17 +2021-03-21 18:24:45.656 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@177ede17 +2021-03-21 18:24:45.657 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@41f785e3 +2021-03-21 18:24:45.658 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@41f785e3 +2021-03-21 18:24:45.658 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@6b25ef1c +2021-03-21 18:24:45.659 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@3f0ce0d1 +2021-03-21 18:24:45.660 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@350ff014 +2021-03-21 18:24:45.660 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@350ff014 +2021-03-21 18:24:45.661 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@3b28b7b0 +2021-03-21 18:24:45.661 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@3b28b7b0 +2021-03-21 18:24:45.662 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@374c3975 +2021-03-21 18:24:45.662 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@374c3975 +2021-03-21 18:24:45.663 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@60807fd9 +2021-03-21 18:24:45.663 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@60807fd9 +2021-03-21 18:24:45.664 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@3b218c74 +2021-03-21 18:24:45.664 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@3b218c74 +2021-03-21 18:24:45.665 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@b56ec6c +2021-03-21 18:24:45.665 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@b56ec6c +2021-03-21 18:24:45.666 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@38c460e8 +2021-03-21 18:24:45.667 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@38c460e8 +2021-03-21 18:24:45.668 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@67763ebe +2021-03-21 18:24:45.668 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@67763ebe +2021-03-21 18:24:45.670 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@26d0ece6 +2021-03-21 18:24:45.670 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@26d0ece6 +2021-03-21 18:24:45.672 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@6826b70f +2021-03-21 18:24:45.672 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@6826b70f +2021-03-21 18:24:45.673 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@30159886 +2021-03-21 18:24:45.673 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@30159886 +2021-03-21 18:24:45.675 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@10fb4575 +2021-03-21 18:24:45.676 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@10fb4575 +2021-03-21 18:24:45.676 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@10fb4575 +2021-03-21 18:24:45.678 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@69feb4d9 +2021-03-21 18:24:45.680 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@119d4443 +2021-03-21 18:24:45.680 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@119d4443 +2021-03-21 18:24:45.680 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@119d4443 +2021-03-21 18:24:45.681 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@7e0f9528 +2021-03-21 18:24:45.682 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@7336fd8f +2021-03-21 18:24:45.683 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@852ef8d +2021-03-21 18:24:45.683 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@852ef8d +2021-03-21 18:24:45.684 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@147e0734 +2021-03-21 18:24:45.685 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@147e0734 +2021-03-21 18:24:45.686 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@270d5060 +2021-03-21 18:24:45.686 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@270d5060 +2021-03-21 18:24:45.688 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@987a0bb +2021-03-21 18:24:45.688 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@987a0bb +2021-03-21 18:24:45.689 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@47a3d56a +2021-03-21 18:24:45.689 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@47a3d56a +2021-03-21 18:24:45.690 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@6d7b001b +2021-03-21 18:24:45.691 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@7f426ddd +2021-03-21 18:24:45.692 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@7f426ddd +2021-03-21 18:24:45.692 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@7f426ddd +2021-03-21 18:24:45.693 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@38de5daf +2021-03-21 18:24:45.693 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@38de5daf +2021-03-21 18:24:45.693 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@38de5daf +2021-03-21 18:24:45.694 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@13ca16bf +2021-03-21 18:24:45.695 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@59d5a6fd +2021-03-21 18:24:45.697 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@1e734eee +2021-03-21 18:24:45.697 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@1e734eee +2021-03-21 18:24:45.697 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@1e734eee +2021-03-21 18:24:45.698 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@3bc20984 +2021-03-21 18:24:45.698 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@3bc20984 +2021-03-21 18:24:45.698 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@3bc20984 +2021-03-21 18:24:45.699 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@2424cb9d +2021-03-21 18:24:45.699 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@69a373fd +2021-03-21 18:24:45.701 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@36ad5f2a +2021-03-21 18:24:45.701 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@36ad5f2a +2021-03-21 18:24:45.702 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@4044589a +2021-03-21 18:24:45.703 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@1a497286 +2021-03-21 18:24:45.703 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@1a497286 +2021-03-21 18:24:45.705 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@1b31af02 +2021-03-21 18:24:45.705 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@1b31af02 +2021-03-21 18:24:45.706 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@389a5022 +2021-03-21 18:24:45.706 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@6c995c5d +2021-03-21 18:24:45.708 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@41f964f9 +2021-03-21 18:24:45.711 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@7272ee51 +2021-03-21 18:24:45.711 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@7272ee51 +2021-03-21 18:24:45.712 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@795f6681 +2021-03-21 18:24:45.712 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@66d3b881 +2021-03-21 18:24:45.712 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@3a45afd4 +2021-03-21 18:24:45.713 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@762a10b6 +2021-03-21 18:24:45.713 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@74431b9c +2021-03-21 18:24:45.713 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@f2fb225 +2021-03-21 18:24:45.713 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@1883871b +2021-03-21 18:24:45.713 DEBUG 23828 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@3e0a9b1d +2021-03-21 18:24:45.785 INFO 23828 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 18:24:45.901 DEBUG 23828 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@2964511] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@6e9a10cd] +2021-03-21 18:24:46.143 DEBUG 23828 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 18:24:46.144 DEBUG 23828 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 18:24:46.333 DEBUG 23828 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@2964511] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@4ab455e2] +2021-03-21 18:24:46.982 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 18:24:46.985 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 18:24:46.985 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 18:24:46.986 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 18:24:46.986 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 18:24:46.986 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 18:24:46.986 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 18:24:46.986 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 18:24:46.986 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 18:24:46.986 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 18:24:46.987 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 18:24:46.987 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 18:24:46.987 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 18:24:46.987 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 18:24:46.987 DEBUG 23828 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 18:24:46.991 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:47.007 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:47.008 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:47.010 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:47.012 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:47.013 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 18:24:47.016 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:47.017 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 18:24:47.019 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 18:24:47.020 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:47.023 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:47.026 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 18:24:47.029 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:47.031 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 18:24:47.033 DEBUG 23828 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 18:24:47.034 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 18:24:47.040 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 18:24:47.054 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 18:24:47.057 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 18:24:47.060 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 18:24:47.062 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 18:24:47.064 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 18:24:47.067 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 18:24:47.069 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 18:24:47.072 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 18:24:47.074 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 18:24:47.078 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 18:24:47.080 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 18:24:47.082 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 18:24:47.084 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 18:24:47.086 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 18:24:47.088 DEBUG 23828 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 18:24:47.095 INFO 23828 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 18:24:47.107 TRACE 23828 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@4ab455e2] for TypeConfiguration +2021-03-21 18:24:47.111 INFO 23828 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 18:24:48.612 WARN 23828 --- [main] 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 +2021-03-21 18:24:49.039 INFO 23828 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: aa79dee9-8bbc-4fc1-816f-269354b5d4e5 + +2021-03-21 18:24:49.153 INFO 23828 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@32675dd4, org.springframework.security.web.context.SecurityContextPersistenceFilter@6b64921f, org.springframework.security.web.header.HeaderWriterFilter@55cf5626, org.springframework.security.web.authentication.logout.LogoutFilter@543a7605, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6e475994, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5b3c2a9f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2351255a, org.springframework.security.web.session.SessionManagementFilter@1da61a29, org.springframework.security.web.access.ExceptionTranslationFilter@345af277, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@432b883] +2021-03-21 18:24:49.375 INFO 23828 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 18:24:49.746 INFO 23828 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 18:24:49.758 INFO 23828 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 10.041 seconds (JVM running for 12.893) +2021-03-21 18:27:28.306 INFO 23828 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2021-03-21 18:27:28.308 INFO 23828 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2021-03-21 18:27:28.314 INFO 23828 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 4 ms +2021-03-21 18:27:28.689 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 18:27:28.690 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 18:27:28.690 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 18:27:28.728 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 18:27:28.729 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 18:27:28.730 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 18:27:28.803 DEBUG 23828 --- [http-nio-8080-exec-1] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 18:27:28.813 TRACE 23828 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [addUser@naver.com] +2021-03-21 18:27:29.092 DEBUG 23828 --- [http-nio-8080-exec-1] org.hibernate.SQL : + insert + into + user + (id, email, lock_yn, password, phone, reg_date, status, update_date, user_name) + values + (null, ?, ?, ?, ?, ?, ?, ?, ?) +2021-03-21 18:27:29.093 TRACE 23828 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [addUser@naver.com] +2021-03-21 18:27:29.094 TRACE 23828 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BOOLEAN] - [false] +2021-03-21 18:27:29.094 TRACE 23828 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [VARCHAR] - [$2a$10$H1ykD29jJmlljVZQqO20nemRLNfzGthc1sXXw.rnQqhjpqDHiBd/G] +2021-03-21 18:27:29.094 TRACE 23828 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [VARCHAR] - [010-3333-2225] +2021-03-21 18:27:29.095 TRACE 23828 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [TIMESTAMP] - [2021-03-21T18:27:29.013819500] +2021-03-21 18:27:29.095 TRACE 23828 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [6] as [VARCHAR] - [USING] +2021-03-21 18:27:29.095 TRACE 23828 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [7] as [TIMESTAMP] - [null] +2021-03-21 18:27:29.096 TRACE 23828 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [8] as [VARCHAR] - [jo] +2021-03-21 18:27:29.113 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 18:27:29.113 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 후! +2021-03-21 18:27:29.114 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 18:27:29.127 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 18:27:29.127 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 후! +2021-03-21 18:27:29.127 INFO 23828 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 18:57:24.713 INFO 10892 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 10892 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 18:57:24.723 INFO 10892 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 18:57:26.656 INFO 10892 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 18:57:27.256 INFO 10892 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 574 ms. Found 15 JPA repository interfaces. +2021-03-21 18:57:28.813 INFO 10892 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 18:57:28.839 INFO 10892 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 18:57:28.841 INFO 10892 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 18:57:29.190 INFO 10892 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 18:57:29.191 INFO 10892 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 4306 ms +2021-03-21 18:57:29.306 INFO 10892 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 18:57:29.583 INFO 10892 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 18:57:29.591 INFO 10892 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 18:57:29.834 INFO 10892 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 18:57:29.947 INFO 10892 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 18:57:30.181 INFO 10892 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 18:57:30.222 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@4e67cfe1 +2021-03-21 18:57:30.223 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@4e67cfe1 +2021-03-21 18:57:30.223 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@4e67cfe1 +2021-03-21 18:57:30.224 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@67763ebe +2021-03-21 18:57:30.224 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@6b16de91 +2021-03-21 18:57:30.225 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@65036e8d +2021-03-21 18:57:30.227 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@76d0ecd7 +2021-03-21 18:57:30.227 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@76d0ecd7 +2021-03-21 18:57:30.227 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@76d0ecd7 +2021-03-21 18:57:30.229 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@5dcf0772 +2021-03-21 18:57:30.229 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@5dcf0772 +2021-03-21 18:57:30.229 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@5dcf0772 +2021-03-21 18:57:30.231 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@5e67a490 +2021-03-21 18:57:30.231 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@5e67a490 +2021-03-21 18:57:30.231 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@5e67a490 +2021-03-21 18:57:30.232 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@5d66ae3a +2021-03-21 18:57:30.233 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@5d66ae3a +2021-03-21 18:57:30.233 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@5d66ae3a +2021-03-21 18:57:30.235 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@6682e6a5 +2021-03-21 18:57:30.235 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@6682e6a5 +2021-03-21 18:57:30.236 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@6682e6a5 +2021-03-21 18:57:30.237 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@37c1cfa +2021-03-21 18:57:30.237 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@37c1cfa +2021-03-21 18:57:30.238 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@37c1cfa +2021-03-21 18:57:30.239 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@28b458e6 +2021-03-21 18:57:30.239 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@28b458e6 +2021-03-21 18:57:30.239 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@28b458e6 +2021-03-21 18:57:30.241 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@401788d5 +2021-03-21 18:57:30.241 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@401788d5 +2021-03-21 18:57:30.242 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@2b01c689 +2021-03-21 18:57:30.242 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@2b01c689 +2021-03-21 18:57:30.244 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@439f2d87 +2021-03-21 18:57:30.244 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@439f2d87 +2021-03-21 18:57:30.245 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@7e94e331 +2021-03-21 18:57:30.245 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@3962ec84 +2021-03-21 18:57:30.247 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@639c7f9c +2021-03-21 18:57:30.247 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@639c7f9c +2021-03-21 18:57:30.248 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@4c04216f +2021-03-21 18:57:30.248 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@4c04216f +2021-03-21 18:57:30.250 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@39f42d0e +2021-03-21 18:57:30.250 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@39f42d0e +2021-03-21 18:57:30.251 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@da09250 +2021-03-21 18:57:30.251 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@da09250 +2021-03-21 18:57:30.252 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@112c2930 +2021-03-21 18:57:30.253 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@112c2930 +2021-03-21 18:57:30.264 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@beabd6b +2021-03-21 18:57:30.265 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@beabd6b +2021-03-21 18:57:30.267 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@5980fa73 +2021-03-21 18:57:30.267 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@5980fa73 +2021-03-21 18:57:30.269 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@4357524b +2021-03-21 18:57:30.270 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@4357524b +2021-03-21 18:57:30.272 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@f017dd0 +2021-03-21 18:57:30.272 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@f017dd0 +2021-03-21 18:57:30.276 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@1002d192 +2021-03-21 18:57:30.276 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@1002d192 +2021-03-21 18:57:30.278 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@1e721583 +2021-03-21 18:57:30.279 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@1e721583 +2021-03-21 18:57:30.281 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@7d401cdc +2021-03-21 18:57:30.281 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@7d401cdc +2021-03-21 18:57:30.282 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@7d401cdc +2021-03-21 18:57:30.284 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@77fc19cf +2021-03-21 18:57:30.287 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@6c995c5d +2021-03-21 18:57:30.287 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@6c995c5d +2021-03-21 18:57:30.287 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@6c995c5d +2021-03-21 18:57:30.288 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@53cb0bcb +2021-03-21 18:57:30.290 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@7574d4ad +2021-03-21 18:57:30.292 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@7a55fb81 +2021-03-21 18:57:30.293 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@7a55fb81 +2021-03-21 18:57:30.294 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@7272ee51 +2021-03-21 18:57:30.294 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@7272ee51 +2021-03-21 18:57:30.296 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@762a10b6 +2021-03-21 18:57:30.296 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@762a10b6 +2021-03-21 18:57:30.297 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@240a2619 +2021-03-21 18:57:30.297 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@240a2619 +2021-03-21 18:57:30.299 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@3070f3e6 +2021-03-21 18:57:30.299 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@3070f3e6 +2021-03-21 18:57:30.300 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@21516c88 +2021-03-21 18:57:30.302 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@32da97fd +2021-03-21 18:57:30.303 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@32da97fd +2021-03-21 18:57:30.303 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@32da97fd +2021-03-21 18:57:30.304 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@365cef67 +2021-03-21 18:57:30.305 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@365cef67 +2021-03-21 18:57:30.305 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@365cef67 +2021-03-21 18:57:30.307 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@b7d2d51 +2021-03-21 18:57:30.308 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@66b0e207 +2021-03-21 18:57:30.309 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@c0c8f96 +2021-03-21 18:57:30.309 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@c0c8f96 +2021-03-21 18:57:30.309 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@c0c8f96 +2021-03-21 18:57:30.312 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@482a58c7 +2021-03-21 18:57:30.312 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@482a58c7 +2021-03-21 18:57:30.312 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@482a58c7 +2021-03-21 18:57:30.313 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@4e4894d +2021-03-21 18:57:30.313 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@dc1fadd +2021-03-21 18:57:30.315 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@45b7c97f +2021-03-21 18:57:30.315 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@45b7c97f +2021-03-21 18:57:30.316 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@6009cd34 +2021-03-21 18:57:30.318 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@6e0d16a4 +2021-03-21 18:57:30.318 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@6e0d16a4 +2021-03-21 18:57:30.320 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@32a8ca06 +2021-03-21 18:57:30.320 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@32a8ca06 +2021-03-21 18:57:30.322 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@799c8758 +2021-03-21 18:57:30.322 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@77663cd7 +2021-03-21 18:57:30.330 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@62735b13 +2021-03-21 18:57:30.334 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@59f45950 +2021-03-21 18:57:30.334 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@59f45950 +2021-03-21 18:57:30.335 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@6a7a1a0d +2021-03-21 18:57:30.335 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@1c6e3ff9 +2021-03-21 18:57:30.335 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@76e6c070 +2021-03-21 18:57:30.335 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@184afb78 +2021-03-21 18:57:30.336 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@22da200e +2021-03-21 18:57:30.336 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@4f26425b +2021-03-21 18:57:30.336 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@f03ee8f +2021-03-21 18:57:30.336 DEBUG 10892 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@40dd552c +2021-03-21 18:57:30.428 INFO 10892 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 18:57:30.524 DEBUG 10892 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@e162a35] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@1124910c] +2021-03-21 18:57:30.852 DEBUG 10892 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 18:57:30.854 DEBUG 10892 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 18:57:31.104 DEBUG 10892 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@e162a35] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@3fd5d679] +2021-03-21 18:57:31.813 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 18:57:31.818 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 18:57:31.819 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 18:57:31.819 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 18:57:31.819 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 18:57:31.819 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 18:57:31.819 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 18:57:31.819 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 18:57:31.820 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 18:57:31.820 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 18:57:31.820 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 18:57:31.820 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 18:57:31.821 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 18:57:31.821 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 18:57:31.821 DEBUG 10892 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 18:57:31.825 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:57:31.839 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 18:57:31.840 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:57:31.841 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:57:31.842 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:57:31.843 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 18:57:31.845 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 18:57:31.846 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 18:57:31.847 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 18:57:31.848 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 18:57:31.849 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:57:31.852 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 18:57:31.854 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 18:57:31.855 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 18:57:31.857 DEBUG 10892 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 18:57:31.858 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 18:57:31.862 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 18:57:31.874 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 18:57:31.877 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 18:57:31.878 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 18:57:31.880 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 18:57:31.882 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 18:57:31.894 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 18:57:31.896 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 18:57:31.898 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 18:57:31.899 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 18:57:31.901 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 18:57:31.904 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 18:57:31.905 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 18:57:31.907 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 18:57:31.909 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 18:57:31.911 DEBUG 10892 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 18:57:31.917 INFO 10892 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 18:57:31.926 TRACE 10892 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@3fd5d679] for TypeConfiguration +2021-03-21 18:57:31.929 INFO 10892 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 18:57:33.308 WARN 10892 --- [main] 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 +2021-03-21 18:57:33.728 INFO 10892 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: ba3f2f7a-839d-40e7-8b8a-d0ef07a310d7 + +2021-03-21 18:57:33.893 INFO 10892 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@154208f2, org.springframework.security.web.context.SecurityContextPersistenceFilter@89ff043, org.springframework.security.web.header.HeaderWriterFilter@5f69462f, org.springframework.security.web.authentication.logout.LogoutFilter@7712df76, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1f57fa23, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@51d76ad3, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@318a81a0, org.springframework.security.web.session.SessionManagementFilter@2a4f1bc5, org.springframework.security.web.access.ExceptionTranslationFilter@34525143, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@11d0bff5] +2021-03-21 18:57:34.187 INFO 10892 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 18:57:34.599 INFO 10892 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 18:57:34.612 INFO 10892 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 10.874 seconds (JVM running for 13.36) +2021-03-21 18:57:58.613 INFO 10892 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2021-03-21 18:57:58.615 INFO 10892 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2021-03-21 18:57:58.618 INFO 10892 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 3 ms +2021-03-21 18:57:58.822 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 18:57:58.823 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 18:57:58.823 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 18:57:58.852 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 18:57:58.852 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 18:57:58.852 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 18:57:58.901 DEBUG 10892 --- [http-nio-8080-exec-1] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 18:57:58.908 TRACE 10892 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 18:57:59.134 DEBUG 10892 --- [http-nio-8080-exec-1] org.hibernate.SQL : + insert + into + user + (id, email, lock_yn, password, phone, reg_date, status, update_date, user_name) + values + (null, ?, ?, ?, ?, ?, ?, ?, ?) +2021-03-21 18:57:59.134 TRACE 10892 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 18:57:59.135 TRACE 10892 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BOOLEAN] - [false] +2021-03-21 18:57:59.135 TRACE 10892 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [VARCHAR] - [$2a$10$g73uk8dxPtyZiY8qsSanG.tFVagiodEwxf0X3ZXaOhm0rPpVKmBOi] +2021-03-21 18:57:59.135 TRACE 10892 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [VARCHAR] - [010-3333-2225] +2021-03-21 18:57:59.136 TRACE 10892 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [TIMESTAMP] - [2021-03-21T18:57:59.072393300] +2021-03-21 18:57:59.136 TRACE 10892 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [6] as [VARCHAR] - [USING] +2021-03-21 18:57:59.136 TRACE 10892 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [7] as [TIMESTAMP] - [null] +2021-03-21 18:57:59.136 TRACE 10892 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [8] as [VARCHAR] - [jo] +2021-03-21 18:58:01.266 INFO 10892 --- [http-nio-8080-exec-1] c.e.restcontroller.common.MailComponent : Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 534-5.7.9 Application-specific password required. Learn more at +534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor g21sm10275311pjl.28 - gsmtp + +2021-03-21 18:58:01.269 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 18:58:01.269 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 후! +2021-03-21 18:58:01.269 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 18:58:01.277 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 18:58:01.277 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 후! +2021-03-21 18:58:01.277 INFO 10892 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:02:34.290 INFO 10892 --- [http-nio-8080-exec-10] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:02:34.291 INFO 10892 --- [http-nio-8080-exec-10] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 19:02:34.291 INFO 10892 --- [http-nio-8080-exec-10] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:02:34.291 INFO 10892 --- [http-nio-8080-exec-10] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:02:34.291 INFO 10892 --- [http-nio-8080-exec-10] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 19:02:34.292 INFO 10892 --- [http-nio-8080-exec-10] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:02:34.293 DEBUG 10892 --- [http-nio-8080-exec-10] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 19:02:34.294 TRACE 10892 --- [http-nio-8080-exec-10] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 19:02:34.296 TRACE 10892 --- [http-nio-8080-exec-10] o.h.type.descriptor.sql.BasicExtractor : extracted value ([id1_11_] : [BIGINT]) - [5] +2021-03-21 19:02:34.305 TRACE 10892 --- [http-nio-8080-exec-10] o.h.type.descriptor.sql.BasicExtractor : extracted value ([email2_11_] : [VARCHAR]) - [haerong22@gmail.com] +2021-03-21 19:02:34.307 TRACE 10892 --- [http-nio-8080-exec-10] o.h.type.descriptor.sql.BasicExtractor : extracted value ([lock_yn3_11_] : [BOOLEAN]) - [false] +2021-03-21 19:02:34.307 TRACE 10892 --- [http-nio-8080-exec-10] o.h.type.descriptor.sql.BasicExtractor : extracted value ([password4_11_] : [VARCHAR]) - [$2a$10$g73uk8dxPtyZiY8qsSanG.tFVagiodEwxf0X3ZXaOhm0rPpVKmBOi] +2021-03-21 19:02:34.307 TRACE 10892 --- [http-nio-8080-exec-10] o.h.type.descriptor.sql.BasicExtractor : extracted value ([phone5_11_] : [VARCHAR]) - [010-3333-2225] +2021-03-21 19:02:34.307 TRACE 10892 --- [http-nio-8080-exec-10] o.h.type.descriptor.sql.BasicExtractor : extracted value ([reg_date6_11_] : [TIMESTAMP]) - [2021-03-21T18:57:59.072393] +2021-03-21 19:02:34.308 TRACE 10892 --- [http-nio-8080-exec-10] o.h.type.descriptor.sql.BasicExtractor : extracted value ([status7_11_] : [VARCHAR]) - [USING] +2021-03-21 19:02:34.308 TRACE 10892 --- [http-nio-8080-exec-10] o.h.type.descriptor.sql.BasicExtractor : extracted value ([update_d8_11_] : [TIMESTAMP]) - [null] +2021-03-21 19:02:34.308 TRACE 10892 --- [http-nio-8080-exec-10] o.h.type.descriptor.sql.BasicExtractor : extracted value ([user_nam9_11_] : [VARCHAR]) - [jo] +2021-03-21 19:02:34.324 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.boardBookmarkList#5] +2021-03-21 19:02:34.325 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.boardCommentList#5] +2021-03-21 19:02:34.325 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.boardHitsList#5] +2021-03-21 19:02:34.325 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.boardLikeList#5] +2021-03-21 19:02:34.325 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.boardList#5] +2021-03-21 19:02:34.325 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.boardScrapList#5] +2021-03-21 19:02:34.326 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.noticeLikeList#5] +2021-03-21 19:02:34.326 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.noticeList#5] +2021-03-21 19:02:34.326 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.userInterestList#5] +2021-03-21 19:02:34.326 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.userList#5] +2021-03-21 19:02:34.326 TRACE 10892 --- [http-nio-8080-exec-10] org.hibernate.type.CollectionType : Created collection wrapper: [com.example.restcontroller.user.entity.User.userPointList#5] +2021-03-21 19:02:34.331 INFO 10892 --- [http-nio-8080-exec-10] c.e.r.common.GlobalExceptionHandler : com.example.restcontroller.common.exception.BizException이미 가입된 이메일 입니다 +2021-03-21 19:02:48.018 INFO 15680 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 15680 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 19:02:48.023 INFO 15680 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 19:02:49.297 INFO 15680 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 19:02:49.531 INFO 15680 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 224 ms. Found 15 JPA repository interfaces. +2021-03-21 19:02:50.362 INFO 15680 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 19:02:50.373 INFO 15680 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 19:02:50.374 INFO 15680 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 19:02:50.538 INFO 15680 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 19:02:50.539 INFO 15680 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2444 ms +2021-03-21 19:02:50.601 INFO 15680 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 19:02:50.754 INFO 15680 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 19:02:50.761 INFO 15680 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 19:02:50.969 INFO 15680 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 19:02:51.041 INFO 15680 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 19:02:51.232 INFO 15680 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 19:02:51.267 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@3b6c2be6 +2021-03-21 19:02:51.268 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@3b6c2be6 +2021-03-21 19:02:51.268 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@3b6c2be6 +2021-03-21 19:02:51.268 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@4ae280da +2021-03-21 19:02:51.269 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@446b64b3 +2021-03-21 19:02:51.270 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@5dcf0772 +2021-03-21 19:02:51.271 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@1cee2e10 +2021-03-21 19:02:51.272 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@1cee2e10 +2021-03-21 19:02:51.272 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@1cee2e10 +2021-03-21 19:02:51.273 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@c5e69a5 +2021-03-21 19:02:51.273 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@c5e69a5 +2021-03-21 19:02:51.274 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@c5e69a5 +2021-03-21 19:02:51.275 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@7cc2c551 +2021-03-21 19:02:51.275 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@7cc2c551 +2021-03-21 19:02:51.275 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@7cc2c551 +2021-03-21 19:02:51.276 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@30036a18 +2021-03-21 19:02:51.276 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@30036a18 +2021-03-21 19:02:51.276 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@30036a18 +2021-03-21 19:02:51.278 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@773eca84 +2021-03-21 19:02:51.278 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@773eca84 +2021-03-21 19:02:51.278 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@773eca84 +2021-03-21 19:02:51.279 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@5f56424d +2021-03-21 19:02:51.279 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@5f56424d +2021-03-21 19:02:51.279 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@5f56424d +2021-03-21 19:02:51.280 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@701c223a +2021-03-21 19:02:51.280 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@701c223a +2021-03-21 19:02:51.280 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@701c223a +2021-03-21 19:02:51.281 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@44dd0d38 +2021-03-21 19:02:51.282 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@44dd0d38 +2021-03-21 19:02:51.282 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@2bdab835 +2021-03-21 19:02:51.283 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@2bdab835 +2021-03-21 19:02:51.284 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@1815577b +2021-03-21 19:02:51.284 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@1815577b +2021-03-21 19:02:51.285 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@ee96866 +2021-03-21 19:02:51.286 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@5a7b6b75 +2021-03-21 19:02:51.287 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@2cae5fa7 +2021-03-21 19:02:51.287 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@2cae5fa7 +2021-03-21 19:02:51.288 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@660b1a9d +2021-03-21 19:02:51.288 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@660b1a9d +2021-03-21 19:02:51.289 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@6fe04f2a +2021-03-21 19:02:51.289 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@6fe04f2a +2021-03-21 19:02:51.290 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@7523d5a1 +2021-03-21 19:02:51.291 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@7523d5a1 +2021-03-21 19:02:51.292 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@44641d6c +2021-03-21 19:02:51.292 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@44641d6c +2021-03-21 19:02:51.293 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@26874f2c +2021-03-21 19:02:51.293 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@26874f2c +2021-03-21 19:02:51.294 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@5323999f +2021-03-21 19:02:51.295 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@5323999f +2021-03-21 19:02:51.296 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@7f51f588 +2021-03-21 19:02:51.297 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@7f51f588 +2021-03-21 19:02:51.299 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@55c50f52 +2021-03-21 19:02:51.299 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@55c50f52 +2021-03-21 19:02:51.300 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@48dff674 +2021-03-21 19:02:51.300 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@48dff674 +2021-03-21 19:02:51.302 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@2bb31455 +2021-03-21 19:02:51.302 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@2bb31455 +2021-03-21 19:02:51.303 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@41a16eb3 +2021-03-21 19:02:51.303 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@41a16eb3 +2021-03-21 19:02:51.303 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@41a16eb3 +2021-03-21 19:02:51.304 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@53cb0bcb +2021-03-21 19:02:51.306 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@6060146b +2021-03-21 19:02:51.306 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@6060146b +2021-03-21 19:02:51.306 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@6060146b +2021-03-21 19:02:51.307 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@34cd65ac +2021-03-21 19:02:51.308 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@1cba0321 +2021-03-21 19:02:51.309 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@1883871b +2021-03-21 19:02:51.309 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@1883871b +2021-03-21 19:02:51.310 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@5d1a859c +2021-03-21 19:02:51.310 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@5d1a859c +2021-03-21 19:02:51.310 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@1689527c +2021-03-21 19:02:51.311 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@1689527c +2021-03-21 19:02:51.312 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@e01a26b +2021-03-21 19:02:51.312 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@e01a26b +2021-03-21 19:02:51.313 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@2049e582 +2021-03-21 19:02:51.313 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@2049e582 +2021-03-21 19:02:51.313 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@365cef67 +2021-03-21 19:02:51.315 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@4c5406b +2021-03-21 19:02:51.315 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@4c5406b +2021-03-21 19:02:51.315 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@4c5406b +2021-03-21 19:02:51.316 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@5170bc02 +2021-03-21 19:02:51.316 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@5170bc02 +2021-03-21 19:02:51.316 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@5170bc02 +2021-03-21 19:02:51.317 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@14d1737a +2021-03-21 19:02:51.318 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@1e120628 +2021-03-21 19:02:51.319 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@baa9ce4 +2021-03-21 19:02:51.319 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@baa9ce4 +2021-03-21 19:02:51.319 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@baa9ce4 +2021-03-21 19:02:51.320 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@49653791 +2021-03-21 19:02:51.320 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@49653791 +2021-03-21 19:02:51.320 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@49653791 +2021-03-21 19:02:51.320 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@1b0e031b +2021-03-21 19:02:51.321 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@4e5c8ef3 +2021-03-21 19:02:51.322 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@4601047 +2021-03-21 19:02:51.322 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@4601047 +2021-03-21 19:02:51.323 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@54c11750 +2021-03-21 19:02:51.324 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@6a5dd083 +2021-03-21 19:02:51.324 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@6a5dd083 +2021-03-21 19:02:51.325 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@7f5ce33e +2021-03-21 19:02:51.325 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@7f5ce33e +2021-03-21 19:02:51.326 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@7aae1170 +2021-03-21 19:02:51.326 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@64c25a62 +2021-03-21 19:02:51.328 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@7871d261 +2021-03-21 19:02:51.330 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@4438938e +2021-03-21 19:02:51.330 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@4438938e +2021-03-21 19:02:51.331 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@91a2543 +2021-03-21 19:02:51.331 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@42730828 +2021-03-21 19:02:51.331 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@18c7f6b5 +2021-03-21 19:02:51.331 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@629b780f +2021-03-21 19:02:51.331 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@3af36922 +2021-03-21 19:02:51.331 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@609b041c +2021-03-21 19:02:51.332 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@474e34e4 +2021-03-21 19:02:51.332 DEBUG 15680 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@7e2c6702 +2021-03-21 19:02:51.401 INFO 15680 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 19:02:51.490 DEBUG 15680 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@7c4d1c7b] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@7893c715] +2021-03-21 19:02:51.724 DEBUG 15680 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 19:02:51.726 DEBUG 15680 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 19:02:51.902 DEBUG 15680 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@7c4d1c7b] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@4ec8d9b2] +2021-03-21 19:02:52.482 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 19:02:52.485 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 19:02:52.485 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 19:02:52.485 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 19:02:52.485 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 19:02:52.485 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 19:02:52.485 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 19:02:52.486 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 19:02:52.486 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 19:02:52.486 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 19:02:52.486 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 19:02:52.486 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 19:02:52.486 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 19:02:52.486 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 19:02:52.486 DEBUG 15680 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 19:02:52.489 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:02:52.501 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:02:52.503 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:02:52.503 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:02:52.504 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:02:52.505 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:02:52.507 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:02:52.508 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 19:02:52.509 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 19:02:52.510 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:02:52.511 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:02:52.513 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 19:02:52.516 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:02:52.517 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:02:52.518 DEBUG 15680 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 19:02:52.519 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 19:02:52.522 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 19:02:52.532 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 19:02:52.534 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 19:02:52.535 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 19:02:52.537 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:02:52.538 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 19:02:52.540 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 19:02:52.541 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 19:02:52.543 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 19:02:52.545 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 19:02:52.546 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 19:02:52.548 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 19:02:52.549 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 19:02:52.551 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 19:02:52.552 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 19:02:52.554 DEBUG 15680 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:02:52.560 INFO 15680 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 19:02:52.570 TRACE 15680 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@4ec8d9b2] for TypeConfiguration +2021-03-21 19:02:52.572 INFO 15680 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 19:02:53.925 WARN 15680 --- [main] 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 +2021-03-21 19:02:54.324 INFO 15680 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 78dec374-d778-4d54-9c36-f38638ee0259 + +2021-03-21 19:02:54.456 INFO 15680 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@29f114e0, org.springframework.security.web.context.SecurityContextPersistenceFilter@5f7c1de0, org.springframework.security.web.header.HeaderWriterFilter@3a61d819, org.springframework.security.web.authentication.logout.LogoutFilter@2370c90, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5cca5ff3, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7207f3c2, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6c569caf, org.springframework.security.web.session.SessionManagementFilter@6aed4a23, org.springframework.security.web.access.ExceptionTranslationFilter@45cddfd3, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@78e34499] +2021-03-21 19:02:54.689 INFO 15680 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 19:02:55.047 INFO 15680 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 19:02:55.060 INFO 15680 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 7.8 seconds (JVM running for 10.149) +2021-03-21 19:03:53.186 INFO 4988 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 4988 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 19:03:53.193 INFO 4988 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 19:03:55.053 INFO 4988 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 19:03:55.374 INFO 4988 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 305 ms. Found 15 JPA repository interfaces. +2021-03-21 19:03:56.864 INFO 4988 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 19:03:56.883 INFO 4988 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 19:03:56.883 INFO 4988 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 19:03:57.152 INFO 4988 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 19:03:57.153 INFO 4988 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3872 ms +2021-03-21 19:03:57.264 INFO 4988 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 19:03:57.456 INFO 4988 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 19:03:57.468 INFO 4988 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 19:03:57.746 INFO 4988 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 19:03:57.832 INFO 4988 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 19:03:58.055 INFO 4988 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 19:03:58.118 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@113dcaf8 +2021-03-21 19:03:58.119 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@113dcaf8 +2021-03-21 19:03:58.120 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@113dcaf8 +2021-03-21 19:03:58.121 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@3f866f50 +2021-03-21 19:03:58.122 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@4607d78b +2021-03-21 19:03:58.123 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@2e2f20b8 +2021-03-21 19:03:58.132 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@35c8be21 +2021-03-21 19:03:58.132 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@35c8be21 +2021-03-21 19:03:58.132 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@35c8be21 +2021-03-21 19:03:58.135 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@6537ac +2021-03-21 19:03:58.135 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@6537ac +2021-03-21 19:03:58.135 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@6537ac +2021-03-21 19:03:58.138 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@46cf8c07 +2021-03-21 19:03:58.138 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@46cf8c07 +2021-03-21 19:03:58.139 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@46cf8c07 +2021-03-21 19:03:58.142 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@b01cb8d +2021-03-21 19:03:58.144 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@b01cb8d +2021-03-21 19:03:58.145 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@b01cb8d +2021-03-21 19:03:58.148 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@179ee36b +2021-03-21 19:03:58.149 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@179ee36b +2021-03-21 19:03:58.149 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@179ee36b +2021-03-21 19:03:58.152 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@197ce367 +2021-03-21 19:03:58.152 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@197ce367 +2021-03-21 19:03:58.152 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@197ce367 +2021-03-21 19:03:58.155 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@3b6c2be6 +2021-03-21 19:03:58.156 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@3b6c2be6 +2021-03-21 19:03:58.156 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@3b6c2be6 +2021-03-21 19:03:58.160 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@1ad1c363 +2021-03-21 19:03:58.161 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@1ad1c363 +2021-03-21 19:03:58.165 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@5f6494c0 +2021-03-21 19:03:58.166 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@5f6494c0 +2021-03-21 19:03:58.168 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@38c761e9 +2021-03-21 19:03:58.169 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@38c761e9 +2021-03-21 19:03:58.170 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@30159886 +2021-03-21 19:03:58.172 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@c5e69a5 +2021-03-21 19:03:58.173 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@7cc2c551 +2021-03-21 19:03:58.174 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@7cc2c551 +2021-03-21 19:03:58.177 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@30036a18 +2021-03-21 19:03:58.177 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@30036a18 +2021-03-21 19:03:58.179 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@773eca84 +2021-03-21 19:03:58.180 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@773eca84 +2021-03-21 19:03:58.182 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@5f56424d +2021-03-21 19:03:58.182 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@5f56424d +2021-03-21 19:03:58.184 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@701c223a +2021-03-21 19:03:58.184 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@701c223a +2021-03-21 19:03:58.187 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@44dd0d38 +2021-03-21 19:03:58.187 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@44dd0d38 +2021-03-21 19:03:58.190 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@2bdab835 +2021-03-21 19:03:58.190 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@2bdab835 +2021-03-21 19:03:58.197 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@1815577b +2021-03-21 19:03:58.197 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@1815577b +2021-03-21 19:03:58.200 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@2cae5fa7 +2021-03-21 19:03:58.200 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@2cae5fa7 +2021-03-21 19:03:58.203 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@28e7bb31 +2021-03-21 19:03:58.204 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@28e7bb31 +2021-03-21 19:03:58.207 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@61853c7e +2021-03-21 19:03:58.207 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@61853c7e +2021-03-21 19:03:58.210 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@104a287c +2021-03-21 19:03:58.211 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@104a287c +2021-03-21 19:03:58.211 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@104a287c +2021-03-21 19:03:58.213 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@1e734eee +2021-03-21 19:03:58.215 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@f017dd0 +2021-03-21 19:03:58.216 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@f017dd0 +2021-03-21 19:03:58.216 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@f017dd0 +2021-03-21 19:03:58.217 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@6735f210 +2021-03-21 19:03:58.219 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@9281d19 +2021-03-21 19:03:58.223 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@216f01 +2021-03-21 19:03:58.223 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@216f01 +2021-03-21 19:03:58.225 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@541d4d9f +2021-03-21 19:03:58.225 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@541d4d9f +2021-03-21 19:03:58.228 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@4217bce6 +2021-03-21 19:03:58.228 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@4217bce6 +2021-03-21 19:03:58.229 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@2e45a357 +2021-03-21 19:03:58.230 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@2e45a357 +2021-03-21 19:03:58.231 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@730bea0 +2021-03-21 19:03:58.231 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@730bea0 +2021-03-21 19:03:58.232 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@19d53ab4 +2021-03-21 19:03:58.234 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@713999c2 +2021-03-21 19:03:58.234 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@713999c2 +2021-03-21 19:03:58.235 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@713999c2 +2021-03-21 19:03:58.236 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@1d2d8846 +2021-03-21 19:03:58.236 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@1d2d8846 +2021-03-21 19:03:58.236 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@1d2d8846 +2021-03-21 19:03:58.238 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@5940b14e +2021-03-21 19:03:58.239 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@3a45afd4 +2021-03-21 19:03:58.240 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@2035d65b +2021-03-21 19:03:58.241 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@2035d65b +2021-03-21 19:03:58.241 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@2035d65b +2021-03-21 19:03:58.243 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@394fb736 +2021-03-21 19:03:58.244 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@394fb736 +2021-03-21 19:03:58.244 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@394fb736 +2021-03-21 19:03:58.245 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@1689527c +2021-03-21 19:03:58.246 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@4fc6e776 +2021-03-21 19:03:58.250 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@2049e582 +2021-03-21 19:03:58.251 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@2049e582 +2021-03-21 19:03:58.252 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@365cef67 +2021-03-21 19:03:58.255 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@4c5406b +2021-03-21 19:03:58.255 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@4c5406b +2021-03-21 19:03:58.257 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@3e52ed5d +2021-03-21 19:03:58.258 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@3e52ed5d +2021-03-21 19:03:58.260 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@14d1737a +2021-03-21 19:03:58.261 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@1e120628 +2021-03-21 19:03:58.264 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@65859b44 +2021-03-21 19:03:58.268 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@5d5d3a5c +2021-03-21 19:03:58.269 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@5d5d3a5c +2021-03-21 19:03:58.270 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@4601047 +2021-03-21 19:03:58.270 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@25e8e59 +2021-03-21 19:03:58.270 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@3a0896b3 +2021-03-21 19:03:58.270 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@50a7c72b +2021-03-21 19:03:58.270 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@54c11750 +2021-03-21 19:03:58.270 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@221b77d7 +2021-03-21 19:03:58.270 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@5cd8d029 +2021-03-21 19:03:58.271 DEBUG 4988 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@32a8ca06 +2021-03-21 19:03:58.390 INFO 4988 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 19:03:58.539 DEBUG 4988 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@6cceb281] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@7cca31fc] +2021-03-21 19:03:58.911 DEBUG 4988 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 19:03:58.915 DEBUG 4988 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 19:03:59.242 DEBUG 4988 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@6cceb281] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@39514976] +2021-03-21 19:04:00.128 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 19:04:00.132 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 19:04:00.132 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 19:04:00.133 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 19:04:00.133 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 19:04:00.133 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 19:04:00.133 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 19:04:00.133 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 19:04:00.134 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 19:04:00.134 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 19:04:00.134 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 19:04:00.135 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 19:04:00.135 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 19:04:00.135 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 19:04:00.135 DEBUG 4988 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 19:04:00.138 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:04:00.158 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:04:00.160 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:04:00.162 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:04:00.163 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:04:00.165 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:04:00.167 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:04:00.168 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 19:04:00.170 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 19:04:00.172 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:04:00.173 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:04:00.178 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 19:04:00.182 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:04:00.183 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:04:00.184 DEBUG 4988 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 19:04:00.185 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 19:04:00.190 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 19:04:00.204 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 19:04:00.206 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 19:04:00.208 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 19:04:00.211 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:04:00.213 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 19:04:00.215 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 19:04:00.218 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 19:04:00.220 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 19:04:00.222 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 19:04:00.224 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 19:04:00.230 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 19:04:00.232 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 19:04:00.234 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 19:04:00.236 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 19:04:00.238 DEBUG 4988 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:04:00.246 INFO 4988 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 19:04:00.258 TRACE 4988 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@39514976] for TypeConfiguration +2021-03-21 19:04:00.265 INFO 4988 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 19:04:02.320 WARN 4988 --- [main] 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 +2021-03-21 19:04:02.803 INFO 4988 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 680b96f8-e2f3-4ff0-852f-4e2b488a8e0f + +2021-03-21 19:04:02.954 INFO 4988 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2512155e, org.springframework.security.web.context.SecurityContextPersistenceFilter@3f04fb07, org.springframework.security.web.header.HeaderWriterFilter@6447dc25, org.springframework.security.web.authentication.logout.LogoutFilter@39f7cc46, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@46aea9f7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@34525143, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@ef59aee, org.springframework.security.web.session.SessionManagementFilter@43d84df1, org.springframework.security.web.access.ExceptionTranslationFilter@71e9640, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@34c2e03d] +2021-03-21 19:04:03.272 INFO 4988 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 19:04:03.850 INFO 4988 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 19:04:03.869 INFO 4988 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 11.539 seconds (JVM running for 13.327) +2021-03-21 19:04:17.005 INFO 4988 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2021-03-21 19:04:17.007 INFO 4988 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2021-03-21 19:04:17.010 INFO 4988 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2021-03-21 19:04:17.259 INFO 4988 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:04:17.260 INFO 4988 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 19:04:17.260 INFO 4988 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:04:17.305 INFO 4988 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:04:17.305 INFO 4988 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 19:04:17.306 INFO 4988 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:04:17.356 DEBUG 4988 --- [http-nio-8080-exec-1] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 19:04:17.364 TRACE 4988 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 19:04:17.611 DEBUG 4988 --- [http-nio-8080-exec-1] org.hibernate.SQL : + insert + into + user + (id, email, lock_yn, password, phone, reg_date, status, update_date, user_name) + values + (null, ?, ?, ?, ?, ?, ?, ?, ?) +2021-03-21 19:04:17.611 TRACE 4988 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 19:04:17.612 TRACE 4988 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BOOLEAN] - [false] +2021-03-21 19:04:17.612 TRACE 4988 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [VARCHAR] - [$2a$10$71UkxIpSrOQHp3RHeIP1j.MES2xmPga9jm1y4N1WwIH.gZ09..fFC] +2021-03-21 19:04:17.612 TRACE 4988 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [VARCHAR] - [010-3333-2225] +2021-03-21 19:04:17.613 TRACE 4988 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [TIMESTAMP] - [2021-03-21T19:04:17.539175900] +2021-03-21 19:04:17.613 TRACE 4988 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [6] as [VARCHAR] - [USING] +2021-03-21 19:04:17.614 TRACE 4988 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [7] as [TIMESTAMP] - [null] +2021-03-21 19:04:17.614 TRACE 4988 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [8] as [VARCHAR] - [jo] +2021-03-21 19:04:20.279 INFO 4988 --- [http-nio-8080-exec-1] c.e.restcontroller.common.MailComponent : Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 534-5.7.9 Application-specific password required. Learn more at +534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor mr5sm10770624pjb.53 - gsmtp + +2021-03-21 19:04:20.286 INFO 4988 --- [http-nio-8080-exec-1] c.e.r.common.GlobalExceptionHandler : com.example.restcontroller.common.exception.BizException이메일 전송 실패 +2021-03-21 19:21:06.931 INFO 2524 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 2524 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 19:21:06.936 INFO 2524 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 19:21:08.203 INFO 2524 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 19:21:08.467 INFO 2524 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 252 ms. Found 15 JPA repository interfaces. +2021-03-21 19:21:09.348 INFO 2524 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 19:21:09.359 INFO 2524 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 19:21:09.360 INFO 2524 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 19:21:09.538 INFO 2524 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 19:21:09.539 INFO 2524 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2528 ms +2021-03-21 19:21:09.596 INFO 2524 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 19:21:09.722 INFO 2524 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 19:21:09.728 INFO 2524 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 19:21:09.918 INFO 2524 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 19:21:09.997 INFO 2524 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 19:21:10.205 INFO 2524 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 19:21:10.243 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@25533bba +2021-03-21 19:21:10.244 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@25533bba +2021-03-21 19:21:10.244 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@25533bba +2021-03-21 19:21:10.245 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@76d0ecd7 +2021-03-21 19:21:10.246 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@35ac9ebd +2021-03-21 19:21:10.247 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@c472300 +2021-03-21 19:21:10.248 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@7f4e5a39 +2021-03-21 19:21:10.249 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@7f4e5a39 +2021-03-21 19:21:10.249 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@7f4e5a39 +2021-03-21 19:21:10.250 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@64a1116a +2021-03-21 19:21:10.251 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@64a1116a +2021-03-21 19:21:10.251 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@64a1116a +2021-03-21 19:21:10.252 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@d84b3a2 +2021-03-21 19:21:10.253 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@d84b3a2 +2021-03-21 19:21:10.253 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@d84b3a2 +2021-03-21 19:21:10.253 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@537b3b2e +2021-03-21 19:21:10.254 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@537b3b2e +2021-03-21 19:21:10.255 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@537b3b2e +2021-03-21 19:21:10.256 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@7d47dfed +2021-03-21 19:21:10.256 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@7d47dfed +2021-03-21 19:21:10.256 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@7d47dfed +2021-03-21 19:21:10.257 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@237b2852 +2021-03-21 19:21:10.257 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@237b2852 +2021-03-21 19:21:10.257 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@237b2852 +2021-03-21 19:21:10.258 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@550c973e +2021-03-21 19:21:10.259 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@550c973e +2021-03-21 19:21:10.259 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@550c973e +2021-03-21 19:21:10.260 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@7e94e331 +2021-03-21 19:21:10.261 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@7e94e331 +2021-03-21 19:21:10.262 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@7b8aebd0 +2021-03-21 19:21:10.262 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@7b8aebd0 +2021-03-21 19:21:10.263 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@71567f33 +2021-03-21 19:21:10.263 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@71567f33 +2021-03-21 19:21:10.264 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@4c04216f +2021-03-21 19:21:10.264 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@3719360c +2021-03-21 19:21:10.265 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@34aa8b61 +2021-03-21 19:21:10.266 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@34aa8b61 +2021-03-21 19:21:10.267 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@6fb0261e +2021-03-21 19:21:10.268 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@6fb0261e +2021-03-21 19:21:10.268 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@1f758e4f +2021-03-21 19:21:10.269 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@1f758e4f +2021-03-21 19:21:10.270 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@2bfc2f8b +2021-03-21 19:21:10.271 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@2bfc2f8b +2021-03-21 19:21:10.281 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@1ae924f1 +2021-03-21 19:21:10.282 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@1ae924f1 +2021-03-21 19:21:10.283 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@5f3b84bd +2021-03-21 19:21:10.284 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@5f3b84bd +2021-03-21 19:21:10.285 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@f18b738 +2021-03-21 19:21:10.285 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@f18b738 +2021-03-21 19:21:10.288 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@6fb22ae3 +2021-03-21 19:21:10.288 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@6fb22ae3 +2021-03-21 19:21:10.290 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@1ccc1026 +2021-03-21 19:21:10.290 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@1ccc1026 +2021-03-21 19:21:10.292 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@120350eb +2021-03-21 19:21:10.292 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@120350eb +2021-03-21 19:21:10.293 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@3c16528d +2021-03-21 19:21:10.294 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@3c16528d +2021-03-21 19:21:10.295 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@677cb96e +2021-03-21 19:21:10.295 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@677cb96e +2021-03-21 19:21:10.295 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@677cb96e +2021-03-21 19:21:10.297 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@51fe7f15 +2021-03-21 19:21:10.299 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@33627576 +2021-03-21 19:21:10.299 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@33627576 +2021-03-21 19:21:10.299 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@33627576 +2021-03-21 19:21:10.300 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@61911947 +2021-03-21 19:21:10.301 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@795f6681 +2021-03-21 19:21:10.302 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@3e0a9b1d +2021-03-21 19:21:10.302 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@3e0a9b1d +2021-03-21 19:21:10.303 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@28554ac8 +2021-03-21 19:21:10.303 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@28554ac8 +2021-03-21 19:21:10.304 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@21516c88 +2021-03-21 19:21:10.304 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@21516c88 +2021-03-21 19:21:10.305 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@7604198a +2021-03-21 19:21:10.306 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@7604198a +2021-03-21 19:21:10.306 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@464aeb09 +2021-03-21 19:21:10.306 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@464aeb09 +2021-03-21 19:21:10.307 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@27df5806 +2021-03-21 19:21:10.309 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@66b0e207 +2021-03-21 19:21:10.309 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@66b0e207 +2021-03-21 19:21:10.310 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@66b0e207 +2021-03-21 19:21:10.310 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@c0c8f96 +2021-03-21 19:21:10.311 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@c0c8f96 +2021-03-21 19:21:10.311 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@c0c8f96 +2021-03-21 19:21:10.312 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@482a58c7 +2021-03-21 19:21:10.312 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@4e4894d +2021-03-21 19:21:10.313 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@5b332439 +2021-03-21 19:21:10.314 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@5b332439 +2021-03-21 19:21:10.314 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@5b332439 +2021-03-21 19:21:10.315 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@45b7c97f +2021-03-21 19:21:10.315 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@45b7c97f +2021-03-21 19:21:10.315 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@45b7c97f +2021-03-21 19:21:10.315 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@6009cd34 +2021-03-21 19:21:10.316 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@60928a61 +2021-03-21 19:21:10.317 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@25e8e59 +2021-03-21 19:21:10.317 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@25e8e59 +2021-03-21 19:21:10.318 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@221b77d7 +2021-03-21 19:21:10.319 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@77663cd7 +2021-03-21 19:21:10.320 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@77663cd7 +2021-03-21 19:21:10.321 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@638afcaa +2021-03-21 19:21:10.322 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@638afcaa +2021-03-21 19:21:10.322 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@4ef5dd23 +2021-03-21 19:21:10.323 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@43e8f1c +2021-03-21 19:21:10.327 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@58164e9a +2021-03-21 19:21:10.330 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@4e50ae56 +2021-03-21 19:21:10.331 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@4e50ae56 +2021-03-21 19:21:10.331 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@42730828 +2021-03-21 19:21:10.332 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@18c7f6b5 +2021-03-21 19:21:10.332 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@629b780f +2021-03-21 19:21:10.332 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@3af36922 +2021-03-21 19:21:10.332 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@609b041c +2021-03-21 19:21:10.332 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@474e34e4 +2021-03-21 19:21:10.332 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@7e2c6702 +2021-03-21 19:21:10.333 DEBUG 2524 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@5fb7ab9c +2021-03-21 19:21:10.416 INFO 2524 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 19:21:10.534 DEBUG 2524 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@7893c715] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@36f6d25c] +2021-03-21 19:21:10.779 DEBUG 2524 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 19:21:10.780 DEBUG 2524 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 19:21:10.978 DEBUG 2524 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@7893c715] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@57b63253] +2021-03-21 19:21:11.628 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 19:21:11.631 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 19:21:11.631 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 19:21:11.632 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 19:21:11.632 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 19:21:11.632 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 19:21:11.632 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 19:21:11.632 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 19:21:11.632 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 19:21:11.632 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 19:21:11.633 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 19:21:11.633 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 19:21:11.633 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 19:21:11.633 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 19:21:11.633 DEBUG 2524 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 19:21:11.636 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:21:11.647 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:21:11.648 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:21:11.649 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:21:11.650 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:21:11.652 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:21:11.653 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:21:11.654 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 19:21:11.655 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 19:21:11.657 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:21:11.658 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:21:11.662 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 19:21:11.664 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:21:11.665 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:21:11.666 DEBUG 2524 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 19:21:11.668 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 19:21:11.672 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 19:21:11.681 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 19:21:11.684 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 19:21:11.685 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 19:21:11.686 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:21:11.688 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 19:21:11.700 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 19:21:11.702 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 19:21:11.705 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 19:21:11.706 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 19:21:11.709 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 19:21:11.712 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 19:21:11.714 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 19:21:11.716 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 19:21:11.718 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 19:21:11.720 DEBUG 2524 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:21:11.726 INFO 2524 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 19:21:11.736 TRACE 2524 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@57b63253] for TypeConfiguration +2021-03-21 19:21:11.740 INFO 2524 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 19:21:13.160 WARN 2524 --- [main] 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 +2021-03-21 19:21:13.562 INFO 2524 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 69bee183-260e-42f9-a8ee-77e89a78f5a0 + +2021-03-21 19:21:13.684 INFO 2524 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2c750b69, org.springframework.security.web.context.SecurityContextPersistenceFilter@9d2c0ed, org.springframework.security.web.header.HeaderWriterFilter@40dc2ade, org.springframework.security.web.authentication.logout.LogoutFilter@5fafd099, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6aed4a23, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2c3d0ff8, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@159a0f0e, org.springframework.security.web.session.SessionManagementFilter@20fdaf3e, org.springframework.security.web.access.ExceptionTranslationFilter@7621c3f7, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@4e93d23e] +2021-03-21 19:21:13.873 INFO 2524 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 19:21:14.289 INFO 2524 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 19:21:14.301 INFO 2524 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 8.2 seconds (JVM running for 10.05) +2021-03-21 19:21:38.800 INFO 2524 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2021-03-21 19:21:38.801 INFO 2524 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2021-03-21 19:21:38.803 INFO 2524 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2021-03-21 19:21:38.987 INFO 2524 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:21:38.988 INFO 2524 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 19:21:38.988 INFO 2524 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:21:39.025 INFO 2524 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:21:39.026 INFO 2524 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 19:21:39.026 INFO 2524 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:21:39.073 DEBUG 2524 --- [http-nio-8080-exec-1] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 19:21:39.079 TRACE 2524 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 19:21:39.272 DEBUG 2524 --- [http-nio-8080-exec-1] org.hibernate.SQL : + insert + into + user + (id, email, lock_yn, password, phone, reg_date, status, update_date, user_name) + values + (null, ?, ?, ?, ?, ?, ?, ?, ?) +2021-03-21 19:21:39.272 TRACE 2524 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 19:21:39.272 TRACE 2524 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BOOLEAN] - [false] +2021-03-21 19:21:39.273 TRACE 2524 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [VARCHAR] - [$2a$10$TqxS8hZfKpUr.JKFnKhEcuVlICJR0/lIO.D2TP7JIvNahsvJE52NS] +2021-03-21 19:21:39.273 TRACE 2524 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [VARCHAR] - [010-3333-2225] +2021-03-21 19:21:39.274 TRACE 2524 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [TIMESTAMP] - [2021-03-21T19:21:39.217711500] +2021-03-21 19:21:39.275 TRACE 2524 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [6] as [VARCHAR] - [USING] +2021-03-21 19:21:39.275 TRACE 2524 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [7] as [TIMESTAMP] - [null] +2021-03-21 19:21:39.275 TRACE 2524 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [8] as [VARCHAR] - [jo] +2021-03-21 19:21:41.550 INFO 2524 --- [http-nio-8080-exec-1] c.e.restcontroller.common.MailComponent : Failed messages: javax.mail.SendFailedException: No recipient addresses +2021-03-21 19:21:41.556 INFO 2524 --- [http-nio-8080-exec-1] c.e.r.common.GlobalExceptionHandler : com.example.restcontroller.common.exception.BizException이메일 전송 실패 +2021-03-21 19:33:33.425 INFO 17184 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 17184 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 19:33:33.429 INFO 17184 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 19:33:34.770 INFO 17184 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 19:33:35.018 INFO 17184 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 235 ms. Found 15 JPA repository interfaces. +2021-03-21 19:33:35.838 INFO 17184 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 19:33:35.850 INFO 17184 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 19:33:35.851 INFO 17184 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 19:33:36.009 INFO 17184 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 19:33:36.009 INFO 17184 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2508 ms +2021-03-21 19:33:36.077 INFO 17184 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 19:33:36.230 INFO 17184 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 19:33:36.238 INFO 17184 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 19:33:36.443 INFO 17184 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 19:33:36.516 INFO 17184 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 19:33:36.701 INFO 17184 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 19:33:36.737 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@383cdd4d +2021-03-21 19:33:36.738 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@383cdd4d +2021-03-21 19:33:36.738 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@383cdd4d +2021-03-21 19:33:36.738 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@685d7ba5 +2021-03-21 19:33:36.739 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@26d0ece6 +2021-03-21 19:33:36.740 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@57c69937 +2021-03-21 19:33:36.741 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@4df7d9ee +2021-03-21 19:33:36.741 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@4df7d9ee +2021-03-21 19:33:36.741 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@4df7d9ee +2021-03-21 19:33:36.742 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@7f4e5a39 +2021-03-21 19:33:36.743 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@7f4e5a39 +2021-03-21 19:33:36.743 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@7f4e5a39 +2021-03-21 19:33:36.744 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@64a1116a +2021-03-21 19:33:36.744 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@64a1116a +2021-03-21 19:33:36.744 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@64a1116a +2021-03-21 19:33:36.746 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@d84b3a2 +2021-03-21 19:33:36.746 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@d84b3a2 +2021-03-21 19:33:36.747 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@d84b3a2 +2021-03-21 19:33:36.748 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@537b3b2e +2021-03-21 19:33:36.748 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@537b3b2e +2021-03-21 19:33:36.748 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@537b3b2e +2021-03-21 19:33:36.749 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@7d47dfed +2021-03-21 19:33:36.749 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@7d47dfed +2021-03-21 19:33:36.749 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@7d47dfed +2021-03-21 19:33:36.750 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@237b2852 +2021-03-21 19:33:36.751 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@237b2852 +2021-03-21 19:33:36.751 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@237b2852 +2021-03-21 19:33:36.752 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@550c973e +2021-03-21 19:33:36.752 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@550c973e +2021-03-21 19:33:36.753 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@7e94e331 +2021-03-21 19:33:36.753 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@7e94e331 +2021-03-21 19:33:36.754 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@7b8aebd0 +2021-03-21 19:33:36.754 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@7b8aebd0 +2021-03-21 19:33:36.755 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@639c7f9c +2021-03-21 19:33:36.755 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@71369e1a +2021-03-21 19:33:36.756 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@3719360c +2021-03-21 19:33:36.756 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@3719360c +2021-03-21 19:33:36.758 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@34aa8b61 +2021-03-21 19:33:36.758 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@34aa8b61 +2021-03-21 19:33:36.758 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@6fb0261e +2021-03-21 19:33:36.758 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@6fb0261e +2021-03-21 19:33:36.759 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@1f758e4f +2021-03-21 19:33:36.759 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@1f758e4f +2021-03-21 19:33:36.760 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@2bfc2f8b +2021-03-21 19:33:36.761 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@2bfc2f8b +2021-03-21 19:33:36.761 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@1ae924f1 +2021-03-21 19:33:36.761 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@1ae924f1 +2021-03-21 19:33:36.763 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@5f3b84bd +2021-03-21 19:33:36.763 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@5f3b84bd +2021-03-21 19:33:36.764 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@f18b738 +2021-03-21 19:33:36.764 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@f18b738 +2021-03-21 19:33:36.766 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@173511ff +2021-03-21 19:33:36.766 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@173511ff +2021-03-21 19:33:36.768 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@79f5a6ed +2021-03-21 19:33:36.768 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@79f5a6ed +2021-03-21 19:33:36.769 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@4a9b3956 +2021-03-21 19:33:36.769 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@4a9b3956 +2021-03-21 19:33:36.770 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@bb8ead8 +2021-03-21 19:33:36.770 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@bb8ead8 +2021-03-21 19:33:36.770 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@bb8ead8 +2021-03-21 19:33:36.772 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@203b953c +2021-03-21 19:33:36.773 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@63dda940 +2021-03-21 19:33:36.773 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@63dda940 +2021-03-21 19:33:36.773 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@63dda940 +2021-03-21 19:33:36.775 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@33627576 +2021-03-21 19:33:36.775 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@61911947 +2021-03-21 19:33:36.776 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@795f6681 +2021-03-21 19:33:36.776 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@795f6681 +2021-03-21 19:33:36.777 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@3e0a9b1d +2021-03-21 19:33:36.777 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@3e0a9b1d +2021-03-21 19:33:36.779 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@28554ac8 +2021-03-21 19:33:36.779 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@28554ac8 +2021-03-21 19:33:36.781 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@21516c88 +2021-03-21 19:33:36.781 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@21516c88 +2021-03-21 19:33:36.783 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@7604198a +2021-03-21 19:33:36.783 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@7604198a +2021-03-21 19:33:36.783 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@64440065 +2021-03-21 19:33:36.785 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@52d7ab79 +2021-03-21 19:33:36.785 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@52d7ab79 +2021-03-21 19:33:36.785 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@52d7ab79 +2021-03-21 19:33:36.786 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@66b0e207 +2021-03-21 19:33:36.786 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@66b0e207 +2021-03-21 19:33:36.786 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@66b0e207 +2021-03-21 19:33:36.788 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@c0c8f96 +2021-03-21 19:33:36.789 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@28e94c2 +2021-03-21 19:33:36.790 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@4e4894d +2021-03-21 19:33:36.790 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@4e4894d +2021-03-21 19:33:36.790 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@4e4894d +2021-03-21 19:33:36.791 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@5b332439 +2021-03-21 19:33:36.791 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@5b332439 +2021-03-21 19:33:36.791 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@5b332439 +2021-03-21 19:33:36.792 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@65859b44 +2021-03-21 19:33:36.793 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@c212536 +2021-03-21 19:33:36.794 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@22865072 +2021-03-21 19:33:36.794 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@22865072 +2021-03-21 19:33:36.795 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@7e18ced7 +2021-03-21 19:33:36.796 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@6e8f2094 +2021-03-21 19:33:36.796 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@6e8f2094 +2021-03-21 19:33:36.797 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@582dcd35 +2021-03-21 19:33:36.797 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@582dcd35 +2021-03-21 19:33:36.798 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@55adcf9e +2021-03-21 19:33:36.798 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@58601e7a +2021-03-21 19:33:36.800 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@46d0f89c +2021-03-21 19:33:36.802 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@40dd552c +2021-03-21 19:33:36.802 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@40dd552c +2021-03-21 19:33:36.803 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@7404ddca +2021-03-21 19:33:36.803 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@615e83ac +2021-03-21 19:33:36.803 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@4438938e +2021-03-21 19:33:36.803 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@4e50ae56 +2021-03-21 19:33:36.803 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@1c68d0db +2021-03-21 19:33:36.803 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@9be7319 +2021-03-21 19:33:36.804 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@91a2543 +2021-03-21 19:33:36.804 DEBUG 17184 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@42730828 +2021-03-21 19:33:36.876 INFO 17184 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 19:33:36.968 DEBUG 17184 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@734a149a] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@6ce9771c] +2021-03-21 19:33:37.186 DEBUG 17184 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 19:33:37.187 DEBUG 17184 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 19:33:37.377 DEBUG 17184 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@734a149a] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@9880a15] +2021-03-21 19:33:37.938 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 19:33:37.941 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 19:33:37.941 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 19:33:37.941 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 19:33:37.941 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 19:33:37.942 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 19:33:37.942 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 19:33:37.942 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 19:33:37.942 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 19:33:37.942 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 19:33:37.942 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 19:33:37.942 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 19:33:37.942 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 19:33:37.943 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 19:33:37.943 DEBUG 17184 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 19:33:37.946 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:33:37.958 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:33:37.959 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:33:37.960 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:33:37.961 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:33:37.962 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:33:37.963 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:33:37.964 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 19:33:37.965 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 19:33:37.966 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:33:37.967 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:33:37.970 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 19:33:37.972 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:33:37.973 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:33:37.974 DEBUG 17184 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 19:33:37.975 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 19:33:37.979 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 19:33:37.989 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 19:33:37.991 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 19:33:37.993 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 19:33:37.994 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:33:37.995 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 19:33:37.997 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 19:33:37.999 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 19:33:38.000 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 19:33:38.002 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 19:33:38.004 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 19:33:38.006 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 19:33:38.007 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 19:33:38.009 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 19:33:38.011 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 19:33:38.013 DEBUG 17184 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:33:38.019 INFO 17184 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 19:33:38.028 TRACE 17184 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@9880a15] for TypeConfiguration +2021-03-21 19:33:38.031 INFO 17184 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 19:33:39.303 WARN 17184 --- [main] 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 +2021-03-21 19:33:39.604 INFO 17184 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: f7fd08ba-f7da-4085-a933-ba8329b2f990 + +2021-03-21 19:33:39.698 INFO 17184 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4411a0fe, org.springframework.security.web.context.SecurityContextPersistenceFilter@445c693, org.springframework.security.web.header.HeaderWriterFilter@45cddfd3, org.springframework.security.web.authentication.logout.LogoutFilter@7789526e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@272485a6, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@e98adb2, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2c750b69, org.springframework.security.web.session.SessionManagementFilter@55ff64fd, org.springframework.security.web.access.ExceptionTranslationFilter@5687ade6, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@70f0c352] +2021-03-21 19:33:39.904 INFO 17184 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 19:33:40.225 INFO 17184 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 19:33:40.236 INFO 17184 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 7.55 seconds (JVM running for 9.197) +2021-03-21 19:34:38.005 INFO 17184 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2021-03-21 19:34:38.007 INFO 17184 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2021-03-21 19:34:38.009 INFO 17184 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2021-03-21 19:34:38.138 INFO 17184 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:34:38.139 INFO 17184 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 19:34:38.139 INFO 17184 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:34:38.156 INFO 17184 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:34:38.156 INFO 17184 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 19:34:38.156 INFO 17184 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:34:38.185 DEBUG 17184 --- [http-nio-8080-exec-1] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 19:34:38.190 TRACE 17184 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 19:34:38.361 DEBUG 17184 --- [http-nio-8080-exec-1] org.hibernate.SQL : + insert + into + user + (id, email, lock_yn, password, phone, reg_date, status, update_date, user_name) + values + (null, ?, ?, ?, ?, ?, ?, ?, ?) +2021-03-21 19:34:38.361 TRACE 17184 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 19:34:38.362 TRACE 17184 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BOOLEAN] - [false] +2021-03-21 19:34:38.362 TRACE 17184 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [VARCHAR] - [$2a$10$IoqTwBzKNDEue77NM/u8veH6Ho8VLckxMZiVySfuS68ek8Hq7iHcu] +2021-03-21 19:34:38.362 TRACE 17184 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [VARCHAR] - [010-3333-2225] +2021-03-21 19:34:38.363 TRACE 17184 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [TIMESTAMP] - [2021-03-21T19:34:38.316017300] +2021-03-21 19:34:38.363 TRACE 17184 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [6] as [VARCHAR] - [USING] +2021-03-21 19:34:38.363 TRACE 17184 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [7] as [TIMESTAMP] - [null] +2021-03-21 19:34:38.364 TRACE 17184 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [8] as [VARCHAR] - [jo] +2021-03-21 19:34:40.729 INFO 17184 --- [http-nio-8080-exec-1] c.e.restcontroller.common.MailComponent : Failed messages: javax.mail.SendFailedException: No recipient addresses +2021-03-21 19:34:40.734 INFO 17184 --- [http-nio-8080-exec-1] c.e.r.common.GlobalExceptionHandler : com.example.restcontroller.common.exception.BizException이메일 전송 실패 +2021-03-21 19:35:19.258 INFO 13104 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 13104 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 19:35:19.262 INFO 13104 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 19:35:20.482 INFO 13104 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 19:35:20.719 INFO 13104 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 226 ms. Found 15 JPA repository interfaces. +2021-03-21 19:35:21.597 INFO 13104 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 19:35:21.609 INFO 13104 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 19:35:21.609 INFO 13104 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 19:35:21.800 INFO 13104 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 19:35:21.801 INFO 13104 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2473 ms +2021-03-21 19:35:21.877 INFO 13104 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 19:35:22.035 INFO 13104 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 19:35:22.044 INFO 13104 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 19:35:22.241 INFO 13104 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 19:35:22.299 INFO 13104 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 19:35:22.474 INFO 13104 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 19:35:22.516 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@4c56644f +2021-03-21 19:35:22.518 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@4c56644f +2021-03-21 19:35:22.518 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@4c56644f +2021-03-21 19:35:22.518 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@100d0218 +2021-03-21 19:35:22.519 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@4baf997 +2021-03-21 19:35:22.521 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@328e4ec2 +2021-03-21 19:35:22.523 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@6546371 +2021-03-21 19:35:22.523 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@6546371 +2021-03-21 19:35:22.523 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@6546371 +2021-03-21 19:35:22.525 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@dd737ea +2021-03-21 19:35:22.525 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@dd737ea +2021-03-21 19:35:22.525 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@dd737ea +2021-03-21 19:35:22.526 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@64910b2d +2021-03-21 19:35:22.526 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@64910b2d +2021-03-21 19:35:22.527 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@64910b2d +2021-03-21 19:35:22.528 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@5b7308aa +2021-03-21 19:35:22.529 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@5b7308aa +2021-03-21 19:35:22.529 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@5b7308aa +2021-03-21 19:35:22.530 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@50778bde +2021-03-21 19:35:22.530 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@50778bde +2021-03-21 19:35:22.531 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@50778bde +2021-03-21 19:35:22.532 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@68d6f48e +2021-03-21 19:35:22.533 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@68d6f48e +2021-03-21 19:35:22.533 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@68d6f48e +2021-03-21 19:35:22.533 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@3c17bd0b +2021-03-21 19:35:22.534 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@3c17bd0b +2021-03-21 19:35:22.534 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@3c17bd0b +2021-03-21 19:35:22.536 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@2ba024cb +2021-03-21 19:35:22.537 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@2ba024cb +2021-03-21 19:35:22.539 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@505d2bac +2021-03-21 19:35:22.539 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@505d2bac +2021-03-21 19:35:22.541 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@45dde6ac +2021-03-21 19:35:22.541 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@45dde6ac +2021-03-21 19:35:22.541 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@6e2eead5 +2021-03-21 19:35:22.543 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@356b6b5d +2021-03-21 19:35:22.543 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@710ae6a7 +2021-03-21 19:35:22.544 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@710ae6a7 +2021-03-21 19:35:22.545 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@388f1258 +2021-03-21 19:35:22.545 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@388f1258 +2021-03-21 19:35:22.546 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@2fee69a1 +2021-03-21 19:35:22.546 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@2fee69a1 +2021-03-21 19:35:22.548 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@64f32e9e +2021-03-21 19:35:22.548 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@64f32e9e +2021-03-21 19:35:22.549 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@8ac12e6 +2021-03-21 19:35:22.549 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@8ac12e6 +2021-03-21 19:35:22.550 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@3a861417 +2021-03-21 19:35:22.550 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@3a861417 +2021-03-21 19:35:22.551 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@6ba6557e +2021-03-21 19:35:22.552 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@6ba6557e +2021-03-21 19:35:22.553 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@2bdb5e0f +2021-03-21 19:35:22.553 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@2bdb5e0f +2021-03-21 19:35:22.555 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@c497a55 +2021-03-21 19:35:22.556 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@c497a55 +2021-03-21 19:35:22.557 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@4b07cad0 +2021-03-21 19:35:22.557 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@4b07cad0 +2021-03-21 19:35:22.559 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@5a4c98d7 +2021-03-21 19:35:22.559 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@5a4c98d7 +2021-03-21 19:35:22.560 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@6ef037e4 +2021-03-21 19:35:22.561 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@6ef037e4 +2021-03-21 19:35:22.561 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@6ef037e4 +2021-03-21 19:35:22.562 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@1b3bec6c +2021-03-21 19:35:22.564 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@7b7068d8 +2021-03-21 19:35:22.564 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@7b7068d8 +2021-03-21 19:35:22.564 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@7b7068d8 +2021-03-21 19:35:22.565 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@782ac148 +2021-03-21 19:35:22.566 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@14874a5d +2021-03-21 19:35:22.567 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@5d3f99d7 +2021-03-21 19:35:22.567 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@5d3f99d7 +2021-03-21 19:35:22.568 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@4239262e +2021-03-21 19:35:22.568 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@4239262e +2021-03-21 19:35:22.569 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@4fd80300 +2021-03-21 19:35:22.569 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@4fd80300 +2021-03-21 19:35:22.570 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@1b4a3a1 +2021-03-21 19:35:22.570 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@1b4a3a1 +2021-03-21 19:35:22.572 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@14b95942 +2021-03-21 19:35:22.572 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@14b95942 +2021-03-21 19:35:22.572 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@46ea78f0 +2021-03-21 19:35:22.574 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@64dfb31d +2021-03-21 19:35:22.574 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@64dfb31d +2021-03-21 19:35:22.574 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@64dfb31d +2021-03-21 19:35:22.575 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@6136e1fc +2021-03-21 19:35:22.575 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@6136e1fc +2021-03-21 19:35:22.575 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@6136e1fc +2021-03-21 19:35:22.576 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@762405bf +2021-03-21 19:35:22.577 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@9d99851 +2021-03-21 19:35:22.578 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@376b5cb2 +2021-03-21 19:35:22.578 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@376b5cb2 +2021-03-21 19:35:22.579 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@376b5cb2 +2021-03-21 19:35:22.580 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@29b5533 +2021-03-21 19:35:22.580 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@29b5533 +2021-03-21 19:35:22.580 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@29b5533 +2021-03-21 19:35:22.581 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@794c5f5e +2021-03-21 19:35:22.581 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@2cd3fc29 +2021-03-21 19:35:22.583 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@4300e240 +2021-03-21 19:35:22.583 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@4300e240 +2021-03-21 19:35:22.583 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@37a67cf +2021-03-21 19:35:22.585 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@141aba65 +2021-03-21 19:35:22.585 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@141aba65 +2021-03-21 19:35:22.586 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@9f9146d +2021-03-21 19:35:22.587 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@9f9146d +2021-03-21 19:35:22.587 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@21c75084 +2021-03-21 19:35:22.588 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@6d815fb7 +2021-03-21 19:35:22.590 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@3b39e79b +2021-03-21 19:35:22.592 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@60c96eb4 +2021-03-21 19:35:22.592 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@60c96eb4 +2021-03-21 19:35:22.593 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@4c6bba7d +2021-03-21 19:35:22.593 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@41e8d917 +2021-03-21 19:35:22.593 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@2ae5bd34 +2021-03-21 19:35:22.593 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@2b3f7704 +2021-03-21 19:35:22.593 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@3a16984c +2021-03-21 19:35:22.593 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@3db1ce78 +2021-03-21 19:35:22.594 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@3a3ad8e7 +2021-03-21 19:35:22.594 DEBUG 13104 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@6a6d1ff3 +2021-03-21 19:35:22.659 INFO 13104 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 19:35:22.768 DEBUG 13104 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@6aa6c17] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@4756e5cc] +2021-03-21 19:35:23.065 DEBUG 13104 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 19:35:23.067 DEBUG 13104 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 19:35:23.251 DEBUG 13104 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@6aa6c17] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@3b01897f] +2021-03-21 19:35:23.960 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 19:35:23.965 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 19:35:23.965 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 19:35:23.965 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 19:35:23.965 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 19:35:23.966 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 19:35:23.966 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 19:35:23.966 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 19:35:23.966 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 19:35:23.966 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 19:35:23.967 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 19:35:23.967 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 19:35:23.967 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 19:35:23.967 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 19:35:23.967 DEBUG 13104 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 19:35:23.971 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:35:23.984 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:35:23.985 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:35:23.986 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:35:23.987 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:35:23.988 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:35:23.989 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:35:23.990 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 19:35:23.992 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 19:35:23.993 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:35:23.994 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:35:23.996 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 19:35:23.998 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:35:23.999 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:35:24.001 DEBUG 13104 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 19:35:24.002 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 19:35:24.006 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 19:35:24.016 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 19:35:24.017 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 19:35:24.019 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 19:35:24.020 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:35:24.022 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 19:35:24.023 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 19:35:24.025 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 19:35:24.026 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 19:35:24.028 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 19:35:24.029 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 19:35:24.031 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 19:35:24.033 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 19:35:24.035 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 19:35:24.037 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 19:35:24.039 DEBUG 13104 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:35:24.045 INFO 13104 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 19:35:24.056 TRACE 13104 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@3b01897f] for TypeConfiguration +2021-03-21 19:35:24.061 INFO 13104 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 19:35:26.716 WARN 13104 --- [main] 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 +2021-03-21 19:35:27.413 INFO 13104 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 69b98859-ea7f-46a5-be02-ac2317973d3c + +2021-03-21 19:35:27.739 INFO 13104 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@108d59b6, org.springframework.security.web.context.SecurityContextPersistenceFilter@53813f01, org.springframework.security.web.header.HeaderWriterFilter@31428f76, org.springframework.security.web.authentication.logout.LogoutFilter@174aabb2, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6cb2b947, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@29f86630, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@38d9c9c4, org.springframework.security.web.session.SessionManagementFilter@15251cc2, org.springframework.security.web.access.ExceptionTranslationFilter@6eff05e7, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@1dbb9a4a] +2021-03-21 19:35:28.097 INFO 13104 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 19:35:28.793 INFO 13104 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 19:35:28.816 INFO 13104 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 10.259 seconds (JVM running for 14.303) +2021-03-21 19:37:00.867 INFO 13104 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2021-03-21 19:37:00.869 INFO 13104 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2021-03-21 19:37:00.871 INFO 13104 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2021-03-21 19:37:01.325 INFO 13104 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:37:01.325 INFO 13104 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 19:37:01.325 INFO 13104 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:37:01.378 INFO 13104 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:37:01.379 INFO 13104 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 19:37:01.379 INFO 13104 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:37:01.468 DEBUG 13104 --- [http-nio-8080-exec-1] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 19:37:01.477 TRACE 13104 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 19:37:01.718 DEBUG 13104 --- [http-nio-8080-exec-1] org.hibernate.SQL : + insert + into + user + (id, email, lock_yn, password, phone, reg_date, status, update_date, user_name) + values + (null, ?, ?, ?, ?, ?, ?, ?, ?) +2021-03-21 19:37:01.719 TRACE 13104 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 19:37:01.721 TRACE 13104 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BOOLEAN] - [false] +2021-03-21 19:37:01.721 TRACE 13104 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [VARCHAR] - [$2a$10$C2EzzMIUcOaXEzavOE.9g.jSYCFvO5B/4z7FJckB9qMCYtWnbzHd.] +2021-03-21 19:37:01.721 TRACE 13104 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [VARCHAR] - [010-3333-2225] +2021-03-21 19:37:01.723 TRACE 13104 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [TIMESTAMP] - [2021-03-21T19:37:01.617607400] +2021-03-21 19:37:01.723 TRACE 13104 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [6] as [VARCHAR] - [USING] +2021-03-21 19:37:01.723 TRACE 13104 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [7] as [TIMESTAMP] - [null] +2021-03-21 19:37:01.724 TRACE 13104 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [8] as [VARCHAR] - [jo] +2021-03-21 19:37:41.741 WARN 13104 --- [HikariPool-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=49s601ms978µs100ns). +2021-03-21 19:39:31.127 WARN 13104 --- [HikariPool-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=1m49s385ms861µs900ns). +2021-03-21 19:39:31.129 INFO 13104 --- [http-nio-8080-exec-1] c.e.restcontroller.common.MailComponent : Failed messages: javax.mail.SendFailedException: No recipient addresses +2021-03-21 19:39:46.758 INFO 13104 --- [http-nio-8080-exec-1] c.e.r.common.GlobalExceptionHandler : com.example.restcontroller.common.exception.BizException이메일 전송 실패 +2021-03-21 19:39:47.815 INFO 13104 --- [SpringContextShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' +2021-03-21 19:39:47.823 INFO 13104 --- [SpringContextShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 19:39:47.824 INFO 13104 --- [SpringContextShutdownHook] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' +2021-03-21 19:39:47.825 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 19:39:47.832 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 19:39:47.833 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 19:39:47.834 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 19:39:47.834 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 19:39:47.835 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 19:39:47.836 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 19:39:47.836 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 19:39:47.836 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 19:39:47.836 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 19:39:47.836 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 19:39:47.837 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 19:39:47.837 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 19:39:47.838 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 19:39:47.838 DEBUG 13104 --- [SpringContextShutdownHook] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 19:39:47.838 TRACE 13104 --- [SpringContextShutdownHook] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryClosed from [org.hibernate.internal.SessionFactoryImpl@3b01897f] for TypeConfiguration +2021-03-21 19:39:47.838 DEBUG 13104 --- [SpringContextShutdownHook] o.h.type.spi.TypeConfiguration$Scope : Un-scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration$Scope@4244f5b4] from SessionFactory [org.hibernate.internal.SessionFactoryImpl@3b01897f] +2021-03-21 19:39:47.843 INFO 13104 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2021-03-21 19:39:47.850 INFO 13104 --- [SpringContextShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2021-03-21 19:40:11.398 INFO 18900 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 18900 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 19:40:11.402 INFO 18900 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 19:40:12.473 INFO 18900 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 19:40:12.688 INFO 18900 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 206 ms. Found 15 JPA repository interfaces. +2021-03-21 19:40:13.446 INFO 18900 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 19:40:13.456 INFO 18900 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 19:40:13.456 INFO 18900 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 19:40:13.632 INFO 18900 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 19:40:13.633 INFO 18900 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2174 ms +2021-03-21 19:40:13.694 INFO 18900 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 19:40:13.823 INFO 18900 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 19:40:13.830 INFO 18900 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 19:40:14.041 INFO 18900 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 19:40:14.093 INFO 18900 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 19:40:14.225 INFO 18900 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 19:40:14.263 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@2e2f20b8 +2021-03-21 19:40:14.264 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@2e2f20b8 +2021-03-21 19:40:14.264 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@2e2f20b8 +2021-03-21 19:40:14.265 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@374c3975 +2021-03-21 19:40:14.265 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@6b5c134e +2021-03-21 19:40:14.266 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@6bcdd6e4 +2021-03-21 19:40:14.268 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@5cc1bf20 +2021-03-21 19:40:14.268 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@5cc1bf20 +2021-03-21 19:40:14.268 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@5cc1bf20 +2021-03-21 19:40:14.269 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@bd93bc3 +2021-03-21 19:40:14.270 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@bd93bc3 +2021-03-21 19:40:14.270 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@bd93bc3 +2021-03-21 19:40:14.271 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@55bf35e5 +2021-03-21 19:40:14.271 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@55bf35e5 +2021-03-21 19:40:14.271 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@55bf35e5 +2021-03-21 19:40:14.272 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@6b16de91 +2021-03-21 19:40:14.273 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@6b16de91 +2021-03-21 19:40:14.273 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@6b16de91 +2021-03-21 19:40:14.274 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@685d7ba5 +2021-03-21 19:40:14.274 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@685d7ba5 +2021-03-21 19:40:14.274 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@685d7ba5 +2021-03-21 19:40:14.275 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@76d0ecd7 +2021-03-21 19:40:14.276 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@76d0ecd7 +2021-03-21 19:40:14.276 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@76d0ecd7 +2021-03-21 19:40:14.277 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@5dcf0772 +2021-03-21 19:40:14.277 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@5dcf0772 +2021-03-21 19:40:14.277 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@5dcf0772 +2021-03-21 19:40:14.278 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@5e67a490 +2021-03-21 19:40:14.279 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@5e67a490 +2021-03-21 19:40:14.280 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@5d66ae3a +2021-03-21 19:40:14.280 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@5d66ae3a +2021-03-21 19:40:14.281 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@6682e6a5 +2021-03-21 19:40:14.281 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@6682e6a5 +2021-03-21 19:40:14.282 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@d84b3a2 +2021-03-21 19:40:14.282 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@2bcda694 +2021-03-21 19:40:14.283 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@221ca495 +2021-03-21 19:40:14.283 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@221ca495 +2021-03-21 19:40:14.284 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@3ec9f8d +2021-03-21 19:40:14.284 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@3ec9f8d +2021-03-21 19:40:14.285 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@51424203 +2021-03-21 19:40:14.285 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@51424203 +2021-03-21 19:40:14.287 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@721bf7ad +2021-03-21 19:40:14.287 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@721bf7ad +2021-03-21 19:40:14.288 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@3962ec84 +2021-03-21 19:40:14.288 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@3962ec84 +2021-03-21 19:40:14.289 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@639c7f9c +2021-03-21 19:40:14.289 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@639c7f9c +2021-03-21 19:40:14.290 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@4c04216f +2021-03-21 19:40:14.290 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@4c04216f +2021-03-21 19:40:14.291 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@39f42d0e +2021-03-21 19:40:14.292 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@39f42d0e +2021-03-21 19:40:14.293 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@7f426ddd +2021-03-21 19:40:14.293 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@7f426ddd +2021-03-21 19:40:14.295 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@5980fa73 +2021-03-21 19:40:14.295 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@5980fa73 +2021-03-21 19:40:14.297 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@26874f2c +2021-03-21 19:40:14.297 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@26874f2c +2021-03-21 19:40:14.298 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@aca3c85 +2021-03-21 19:40:14.298 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@aca3c85 +2021-03-21 19:40:14.299 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@aca3c85 +2021-03-21 19:40:14.300 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@7f51f588 +2021-03-21 19:40:14.301 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@6df11e91 +2021-03-21 19:40:14.301 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@6df11e91 +2021-03-21 19:40:14.301 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@6df11e91 +2021-03-21 19:40:14.302 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@4044589a +2021-03-21 19:40:14.303 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@edb83f8 +2021-03-21 19:40:14.304 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@7d401cdc +2021-03-21 19:40:14.304 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@7d401cdc +2021-03-21 19:40:14.304 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@2bb31455 +2021-03-21 19:40:14.305 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@2bb31455 +2021-03-21 19:40:14.305 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@6c995c5d +2021-03-21 19:40:14.306 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@6c995c5d +2021-03-21 19:40:14.307 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@53cb0bcb +2021-03-21 19:40:14.307 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@53cb0bcb +2021-03-21 19:40:14.307 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@7574d4ad +2021-03-21 19:40:14.308 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@7574d4ad +2021-03-21 19:40:14.308 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@33627576 +2021-03-21 19:40:14.310 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@7272ee51 +2021-03-21 19:40:14.310 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@7272ee51 +2021-03-21 19:40:14.310 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@7272ee51 +2021-03-21 19:40:14.311 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@762a10b6 +2021-03-21 19:40:14.311 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@762a10b6 +2021-03-21 19:40:14.311 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@762a10b6 +2021-03-21 19:40:14.312 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@240a2619 +2021-03-21 19:40:14.312 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@28554ac8 +2021-03-21 19:40:14.313 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@21516c88 +2021-03-21 19:40:14.313 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@21516c88 +2021-03-21 19:40:14.314 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@21516c88 +2021-03-21 19:40:14.315 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@7604198a +2021-03-21 19:40:14.315 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@7604198a +2021-03-21 19:40:14.315 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@7604198a +2021-03-21 19:40:14.315 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@64440065 +2021-03-21 19:40:14.316 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@2c99c8d +2021-03-21 19:40:14.317 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@641ed324 +2021-03-21 19:40:14.317 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@641ed324 +2021-03-21 19:40:14.317 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@74a58a06 +2021-03-21 19:40:14.318 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@28e94c2 +2021-03-21 19:40:14.319 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@28e94c2 +2021-03-21 19:40:14.320 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@2d4fb0d8 +2021-03-21 19:40:14.320 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@2d4fb0d8 +2021-03-21 19:40:14.320 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@5b332439 +2021-03-21 19:40:14.321 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@65859b44 +2021-03-21 19:40:14.322 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@27358a19 +2021-03-21 19:40:14.325 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@6e8f2094 +2021-03-21 19:40:14.325 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@6e8f2094 +2021-03-21 19:40:14.325 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@6e00837f +2021-03-21 19:40:14.325 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@63e4484d +2021-03-21 19:40:14.325 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@6a5dd083 +2021-03-21 19:40:14.325 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@77663cd7 +2021-03-21 19:40:14.326 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@1d17423f +2021-03-21 19:40:14.326 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@5c70d7f0 +2021-03-21 19:40:14.326 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@582dcd35 +2021-03-21 19:40:14.326 DEBUG 18900 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@1e6bd263 +2021-03-21 19:40:14.383 INFO 18900 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 19:40:14.451 DEBUG 18900 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@6736f40f] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@12f9f896] +2021-03-21 19:40:14.697 DEBUG 18900 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 19:40:14.699 DEBUG 18900 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 19:40:14.861 DEBUG 18900 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@6736f40f] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@2bcb1414] +2021-03-21 19:40:15.381 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 19:40:15.383 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 19:40:15.384 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 19:40:15.384 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 19:40:15.384 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 19:40:15.384 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 19:40:15.384 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 19:40:15.384 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 19:40:15.384 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 19:40:15.384 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 19:40:15.385 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 19:40:15.385 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 19:40:15.385 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 19:40:15.385 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 19:40:15.385 DEBUG 18900 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 19:40:15.388 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:40:15.399 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:40:15.400 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:40:15.401 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:40:15.401 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:40:15.402 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:40:15.404 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:40:15.405 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 19:40:15.406 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 19:40:15.406 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 19:40:15.407 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:40:15.409 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 19:40:15.412 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 19:40:15.412 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 19:40:15.413 DEBUG 18900 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 19:40:15.415 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 19:40:15.418 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 19:40:15.425 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 19:40:15.427 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 19:40:15.428 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 19:40:15.429 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:40:15.430 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 19:40:15.431 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 19:40:15.433 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 19:40:15.434 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 19:40:15.435 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 19:40:15.437 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 19:40:15.438 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 19:40:15.440 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 19:40:15.441 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 19:40:15.443 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 19:40:15.445 DEBUG 18900 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 19:40:15.450 INFO 18900 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 19:40:15.457 TRACE 18900 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@2bcb1414] for TypeConfiguration +2021-03-21 19:40:15.459 INFO 18900 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 19:40:16.628 WARN 18900 --- [main] 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 +2021-03-21 19:40:16.987 INFO 18900 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 18e65f71-c88f-4b03-9334-c3f04068a4bd + +2021-03-21 19:40:17.127 INFO 18900 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@23adbd6b, org.springframework.security.web.context.SecurityContextPersistenceFilter@52a605c3, org.springframework.security.web.header.HeaderWriterFilter@ce8b59e, org.springframework.security.web.authentication.logout.LogoutFilter@445c693, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@24fb8317, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4d145177, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@11d0bff5, org.springframework.security.web.session.SessionManagementFilter@560c3758, org.springframework.security.web.access.ExceptionTranslationFilter@4718d320, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@4645a575] +2021-03-21 19:40:17.352 INFO 18900 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 19:40:17.727 INFO 18900 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 19:40:17.737 INFO 18900 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 6.919 seconds (JVM running for 8.569) +2021-03-21 19:40:22.337 INFO 18900 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2021-03-21 19:40:22.340 INFO 18900 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2021-03-21 19:40:22.341 INFO 18900 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms +2021-03-21 19:40:22.511 INFO 18900 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:40:22.511 INFO 18900 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 19:40:22.512 INFO 18900 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 19:40:22.536 INFO 18900 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:40:22.537 INFO 18900 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 19:40:22.537 INFO 18900 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 19:40:22.580 DEBUG 18900 --- [http-nio-8080-exec-1] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 19:40:22.587 TRACE 18900 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@naver.com] +2021-03-21 19:40:22.758 DEBUG 18900 --- [http-nio-8080-exec-1] org.hibernate.SQL : + insert + into + user + (id, email, lock_yn, password, phone, reg_date, status, update_date, user_name) + values + (null, ?, ?, ?, ?, ?, ?, ?, ?) +2021-03-21 19:40:22.759 TRACE 18900 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@naver.com] +2021-03-21 19:40:22.759 TRACE 18900 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BOOLEAN] - [false] +2021-03-21 19:40:22.759 TRACE 18900 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [VARCHAR] - [$2a$10$SnkzScj6i6gzzF.iT5Qr6ekdmNpLl7I8MGpLlM5i0t/u9LuR8ZzmO] +2021-03-21 19:40:22.759 TRACE 18900 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [VARCHAR] - [010-3333-2225] +2021-03-21 19:40:22.760 TRACE 18900 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [TIMESTAMP] - [2021-03-21T19:40:22.717435700] +2021-03-21 19:40:22.760 TRACE 18900 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [6] as [VARCHAR] - [USING] +2021-03-21 19:40:22.760 TRACE 18900 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [7] as [TIMESTAMP] - [null] +2021-03-21 19:40:22.761 TRACE 18900 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [8] as [VARCHAR] - [jo] +2021-03-21 19:40:24.890 INFO 18900 --- [http-nio-8080-exec-1] c.e.restcontroller.common.MailComponent : Failed messages: javax.mail.SendFailedException: No recipient addresses +2021-03-21 19:40:24.897 INFO 18900 --- [http-nio-8080-exec-1] c.e.r.common.GlobalExceptionHandler : com.example.restcontroller.common.exception.BizException이메일 전송 실패 +2021-03-21 20:01:34.854 INFO 10564 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 10564 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 20:01:34.862 INFO 10564 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 20:01:37.003 INFO 10564 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 20:01:37.538 INFO 10564 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 503 ms. Found 15 JPA repository interfaces. +2021-03-21 20:01:39.191 INFO 10564 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 20:01:39.215 INFO 10564 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 20:01:39.215 INFO 10564 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 20:01:39.473 INFO 10564 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 20:01:39.474 INFO 10564 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 4486 ms +2021-03-21 20:01:39.585 INFO 10564 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 20:01:39.776 INFO 10564 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 20:01:39.790 INFO 10564 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 20:01:40.060 INFO 10564 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 20:01:40.148 INFO 10564 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 20:01:40.374 INFO 10564 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 20:01:40.427 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@67763ebe +2021-03-21 20:01:40.428 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@67763ebe +2021-03-21 20:01:40.428 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@67763ebe +2021-03-21 20:01:40.429 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@6b16de91 +2021-03-21 20:01:40.430 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@65036e8d +2021-03-21 20:01:40.431 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@16d41725 +2021-03-21 20:01:40.433 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@35ac9ebd +2021-03-21 20:01:40.434 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@35ac9ebd +2021-03-21 20:01:40.434 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@35ac9ebd +2021-03-21 20:01:40.436 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@4df7d9ee +2021-03-21 20:01:40.436 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@4df7d9ee +2021-03-21 20:01:40.436 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@4df7d9ee +2021-03-21 20:01:40.437 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@7f4e5a39 +2021-03-21 20:01:40.438 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@7f4e5a39 +2021-03-21 20:01:40.438 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@7f4e5a39 +2021-03-21 20:01:40.439 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@64a1116a +2021-03-21 20:01:40.439 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@64a1116a +2021-03-21 20:01:40.440 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@64a1116a +2021-03-21 20:01:40.442 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@d84b3a2 +2021-03-21 20:01:40.442 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@d84b3a2 +2021-03-21 20:01:40.443 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@d84b3a2 +2021-03-21 20:01:40.444 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@537b3b2e +2021-03-21 20:01:40.445 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@537b3b2e +2021-03-21 20:01:40.445 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@537b3b2e +2021-03-21 20:01:40.447 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@7d47dfed +2021-03-21 20:01:40.447 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@7d47dfed +2021-03-21 20:01:40.447 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@7d47dfed +2021-03-21 20:01:40.448 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@237b2852 +2021-03-21 20:01:40.449 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@237b2852 +2021-03-21 20:01:40.450 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@550c973e +2021-03-21 20:01:40.450 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@550c973e +2021-03-21 20:01:40.451 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@7e94e331 +2021-03-21 20:01:40.451 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@7e94e331 +2021-03-21 20:01:40.452 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@3962ec84 +2021-03-21 20:01:40.453 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@55222ee9 +2021-03-21 20:01:40.455 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@71369e1a +2021-03-21 20:01:40.455 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@71369e1a +2021-03-21 20:01:40.456 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@3719360c +2021-03-21 20:01:40.456 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@3719360c +2021-03-21 20:01:40.458 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@34aa8b61 +2021-03-21 20:01:40.458 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@34aa8b61 +2021-03-21 20:01:40.460 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@6fb0261e +2021-03-21 20:01:40.460 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@6fb0261e +2021-03-21 20:01:40.461 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@1f758e4f +2021-03-21 20:01:40.461 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@1f758e4f +2021-03-21 20:01:40.463 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@2bfc2f8b +2021-03-21 20:01:40.463 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@2bfc2f8b +2021-03-21 20:01:40.465 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@1ae924f1 +2021-03-21 20:01:40.465 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@1ae924f1 +2021-03-21 20:01:40.466 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@5f3b84bd +2021-03-21 20:01:40.466 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@5f3b84bd +2021-03-21 20:01:40.469 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@6bd92538 +2021-03-21 20:01:40.469 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@6bd92538 +2021-03-21 20:01:40.471 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@55c50f52 +2021-03-21 20:01:40.472 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@55c50f52 +2021-03-21 20:01:40.473 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@8b41ad +2021-03-21 20:01:40.473 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@8b41ad +2021-03-21 20:01:40.474 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@77fc19cf +2021-03-21 20:01:40.475 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@77fc19cf +2021-03-21 20:01:40.475 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@77fc19cf +2021-03-21 20:01:40.476 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@3c16528d +2021-03-21 20:01:40.478 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@677cb96e +2021-03-21 20:01:40.478 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@677cb96e +2021-03-21 20:01:40.478 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@677cb96e +2021-03-21 20:01:40.479 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@63dda940 +2021-03-21 20:01:40.481 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@33627576 +2021-03-21 20:01:40.481 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@61911947 +2021-03-21 20:01:40.481 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@61911947 +2021-03-21 20:01:40.483 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@795f6681 +2021-03-21 20:01:40.484 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@795f6681 +2021-03-21 20:01:40.484 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@3e0a9b1d +2021-03-21 20:01:40.484 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@3e0a9b1d +2021-03-21 20:01:40.485 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@28554ac8 +2021-03-21 20:01:40.485 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@28554ac8 +2021-03-21 20:01:40.486 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@21516c88 +2021-03-21 20:01:40.486 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@21516c88 +2021-03-21 20:01:40.487 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@65d9e72a +2021-03-21 20:01:40.488 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@464aeb09 +2021-03-21 20:01:40.489 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@464aeb09 +2021-03-21 20:01:40.489 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@464aeb09 +2021-03-21 20:01:40.490 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@52d7ab79 +2021-03-21 20:01:40.490 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@52d7ab79 +2021-03-21 20:01:40.490 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@52d7ab79 +2021-03-21 20:01:40.492 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@66b0e207 +2021-03-21 20:01:40.493 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@3ca17943 +2021-03-21 20:01:40.494 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@28e94c2 +2021-03-21 20:01:40.494 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@28e94c2 +2021-03-21 20:01:40.495 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@28e94c2 +2021-03-21 20:01:40.496 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@4e4894d +2021-03-21 20:01:40.496 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@4e4894d +2021-03-21 20:01:40.496 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@4e4894d +2021-03-21 20:01:40.496 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@dc1fadd +2021-03-21 20:01:40.497 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@59262a90 +2021-03-21 20:01:40.499 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@6009cd34 +2021-03-21 20:01:40.499 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@6009cd34 +2021-03-21 20:01:40.500 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@60928a61 +2021-03-21 20:01:40.501 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@25e8e59 +2021-03-21 20:01:40.501 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@25e8e59 +2021-03-21 20:01:40.503 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@799c8758 +2021-03-21 20:01:40.503 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@799c8758 +2021-03-21 20:01:40.504 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@77663cd7 +2021-03-21 20:01:40.504 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@1e6bd263 +2021-03-21 20:01:40.506 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@6eede35e +2021-03-21 20:01:40.513 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@6a7a1a0d +2021-03-21 20:01:40.513 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@6a7a1a0d +2021-03-21 20:01:40.514 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@22da200e +2021-03-21 20:01:40.514 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@4f26425b +2021-03-21 20:01:40.514 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@f03ee8f +2021-03-21 20:01:40.514 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@40dd552c +2021-03-21 20:01:40.514 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@33f4c769 +2021-03-21 20:01:40.514 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@4ebd6fd6 +2021-03-21 20:01:40.514 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@5e5a8718 +2021-03-21 20:01:40.515 DEBUG 10564 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@7404ddca +2021-03-21 20:01:40.625 INFO 10564 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 20:01:40.751 DEBUG 10564 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@75e0a54c] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@40f9f60d] +2021-03-21 20:01:40.994 DEBUG 10564 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 20:01:40.996 DEBUG 10564 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 20:01:41.207 DEBUG 10564 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@75e0a54c] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@6dbbdf92] +2021-03-21 20:01:41.906 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 20:01:41.910 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 20:01:41.910 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 20:01:41.910 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 20:01:41.910 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 20:01:41.910 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 20:01:41.910 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 20:01:41.910 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 20:01:41.911 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 20:01:41.911 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 20:01:41.911 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 20:01:41.911 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 20:01:41.911 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 20:01:41.911 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 20:01:41.911 DEBUG 10564 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 20:01:41.914 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:01:41.927 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 20:01:41.928 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:01:41.929 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:01:41.930 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:01:41.931 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 20:01:41.933 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 20:01:41.934 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 20:01:41.935 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 20:01:41.936 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 20:01:41.937 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:01:41.939 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 20:01:41.941 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:01:41.942 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 20:01:41.943 DEBUG 10564 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 20:01:41.945 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 20:01:41.949 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 20:01:41.968 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 20:01:41.970 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 20:01:41.971 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 20:01:41.973 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 20:01:41.974 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 20:01:41.976 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 20:01:41.977 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 20:01:41.979 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 20:01:41.980 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 20:01:41.982 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 20:01:41.983 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 20:01:41.985 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 20:01:41.987 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 20:01:41.988 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 20:01:41.990 DEBUG 10564 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 20:01:41.996 INFO 10564 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 20:01:42.006 TRACE 10564 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@6dbbdf92] for TypeConfiguration +2021-03-21 20:01:42.010 INFO 10564 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 20:01:43.893 WARN 10564 --- [main] 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 +2021-03-21 20:01:44.339 INFO 10564 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 55259740-fb1e-4fbf-898e-26bef2531d64 + +2021-03-21 20:01:44.473 INFO 10564 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@629dfb5a, org.springframework.security.web.context.SecurityContextPersistenceFilter@6d2f910b, org.springframework.security.web.header.HeaderWriterFilter@598ff2b3, org.springframework.security.web.authentication.logout.LogoutFilter@6aed4a23, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4a7c8cb7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@39f7cc46, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2c955487, org.springframework.security.web.session.SessionManagementFilter@13fad0c7, org.springframework.security.web.access.ExceptionTranslationFilter@3e3a07ab, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3ca5da54] +2021-03-21 20:01:44.719 INFO 10564 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 20:01:45.159 INFO 10564 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 20:01:45.175 INFO 10564 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 11.498 seconds (JVM running for 14.615) +2021-03-21 20:01:50.865 INFO 10564 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2021-03-21 20:01:50.866 INFO 10564 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2021-03-21 20:01:50.868 INFO 10564 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2021-03-21 20:01:51.088 INFO 10564 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 20:01:51.088 INFO 10564 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 20:01:51.088 INFO 10564 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 20:01:51.116 INFO 10564 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 20:01:51.117 INFO 10564 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 20:01:51.117 INFO 10564 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 20:01:51.174 DEBUG 10564 --- [http-nio-8080-exec-1] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 20:01:51.181 TRACE 10564 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 20:01:51.388 DEBUG 10564 --- [http-nio-8080-exec-1] org.hibernate.SQL : + insert + into + user + (id, email, lock_yn, password, phone, reg_date, status, update_date, user_name) + values + (null, ?, ?, ?, ?, ?, ?, ?, ?) +2021-03-21 20:01:51.389 TRACE 10564 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 20:01:51.390 TRACE 10564 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BOOLEAN] - [false] +2021-03-21 20:01:51.390 TRACE 10564 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [VARCHAR] - [$2a$10$0Gw39m9wWFxRjBe3rZFyHuElHatnxBkK5mllza9CanyR9YPOaS9JG] +2021-03-21 20:01:51.390 TRACE 10564 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [VARCHAR] - [010-3333-2225] +2021-03-21 20:01:51.391 TRACE 10564 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [TIMESTAMP] - [2021-03-21T20:01:51.335989900] +2021-03-21 20:01:51.392 TRACE 10564 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [6] as [VARCHAR] - [USING] +2021-03-21 20:01:51.392 TRACE 10564 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [7] as [TIMESTAMP] - [null] +2021-03-21 20:01:51.393 TRACE 10564 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [8] as [VARCHAR] - [jo] +2021-03-21 20:01:53.934 INFO 10564 --- [http-nio-8080-exec-1] c.e.restcontroller.common.MailComponent : Failed messages: javax.mail.SendFailedException: No recipient addresses +2021-03-21 20:01:53.941 INFO 10564 --- [http-nio-8080-exec-1] c.e.r.common.GlobalExceptionHandler : com.example.restcontroller.common.exception.BizException이메일 전송 실패 +2021-03-21 20:02:40.769 INFO 12320 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 12320 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 20:02:40.775 INFO 12320 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 20:02:42.514 INFO 12320 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 20:02:42.911 INFO 12320 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 382 ms. Found 15 JPA repository interfaces. +2021-03-21 20:02:43.902 INFO 12320 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 20:02:43.912 INFO 12320 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 20:02:43.913 INFO 12320 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 20:02:44.100 INFO 12320 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 20:02:44.101 INFO 12320 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3212 ms +2021-03-21 20:02:44.162 INFO 12320 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 20:02:44.296 INFO 12320 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 20:02:44.303 INFO 12320 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 20:02:44.492 INFO 12320 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 20:02:44.558 INFO 12320 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 20:02:44.708 INFO 12320 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 20:02:44.743 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@5844a2d1 +2021-03-21 20:02:44.743 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@5844a2d1 +2021-03-21 20:02:44.743 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@5844a2d1 +2021-03-21 20:02:44.744 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@3b28b7b0 +2021-03-21 20:02:44.744 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@504497fa +2021-03-21 20:02:44.745 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@43c39321 +2021-03-21 20:02:44.747 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@24691c5 +2021-03-21 20:02:44.747 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@24691c5 +2021-03-21 20:02:44.747 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@24691c5 +2021-03-21 20:02:44.748 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@5cc1bf20 +2021-03-21 20:02:44.748 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@5cc1bf20 +2021-03-21 20:02:44.748 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@5cc1bf20 +2021-03-21 20:02:44.750 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@bd93bc3 +2021-03-21 20:02:44.750 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@bd93bc3 +2021-03-21 20:02:44.751 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@bd93bc3 +2021-03-21 20:02:44.752 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@55bf35e5 +2021-03-21 20:02:44.752 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@55bf35e5 +2021-03-21 20:02:44.752 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@55bf35e5 +2021-03-21 20:02:44.754 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@6b16de91 +2021-03-21 20:02:44.754 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@6b16de91 +2021-03-21 20:02:44.754 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@6b16de91 +2021-03-21 20:02:44.755 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@685d7ba5 +2021-03-21 20:02:44.755 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@685d7ba5 +2021-03-21 20:02:44.755 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@685d7ba5 +2021-03-21 20:02:44.756 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@76d0ecd7 +2021-03-21 20:02:44.756 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@76d0ecd7 +2021-03-21 20:02:44.756 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@76d0ecd7 +2021-03-21 20:02:44.757 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@5dcf0772 +2021-03-21 20:02:44.757 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@5dcf0772 +2021-03-21 20:02:44.758 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@5e67a490 +2021-03-21 20:02:44.759 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@5e67a490 +2021-03-21 20:02:44.760 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@5d66ae3a +2021-03-21 20:02:44.760 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@5d66ae3a +2021-03-21 20:02:44.760 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@64a1116a +2021-03-21 20:02:44.761 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@ac4915e +2021-03-21 20:02:44.762 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@2bcda694 +2021-03-21 20:02:44.762 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@2bcda694 +2021-03-21 20:02:44.763 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@221ca495 +2021-03-21 20:02:44.763 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@221ca495 +2021-03-21 20:02:44.764 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@3ec9f8d +2021-03-21 20:02:44.765 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@3ec9f8d +2021-03-21 20:02:44.766 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@51424203 +2021-03-21 20:02:44.767 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@51424203 +2021-03-21 20:02:44.768 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@721bf7ad +2021-03-21 20:02:44.768 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@721bf7ad +2021-03-21 20:02:44.769 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@3962ec84 +2021-03-21 20:02:44.769 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@3962ec84 +2021-03-21 20:02:44.770 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@639c7f9c +2021-03-21 20:02:44.771 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@639c7f9c +2021-03-21 20:02:44.772 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@4c04216f +2021-03-21 20:02:44.773 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@4c04216f +2021-03-21 20:02:44.775 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@6d31f106 +2021-03-21 20:02:44.775 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@6d31f106 +2021-03-21 20:02:44.777 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@beabd6b +2021-03-21 20:02:44.777 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@beabd6b +2021-03-21 20:02:44.778 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@44641d6c +2021-03-21 20:02:44.778 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@44641d6c +2021-03-21 20:02:44.780 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@1e191150 +2021-03-21 20:02:44.780 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@1e191150 +2021-03-21 20:02:44.780 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@1e191150 +2021-03-21 20:02:44.781 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@5323999f +2021-03-21 20:02:44.782 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@69a373fd +2021-03-21 20:02:44.782 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@69a373fd +2021-03-21 20:02:44.782 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@69a373fd +2021-03-21 20:02:44.784 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@6df11e91 +2021-03-21 20:02:44.784 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@4044589a +2021-03-21 20:02:44.785 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@edb83f8 +2021-03-21 20:02:44.785 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@edb83f8 +2021-03-21 20:02:44.786 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@7d401cdc +2021-03-21 20:02:44.786 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@7d401cdc +2021-03-21 20:02:44.787 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@2bb31455 +2021-03-21 20:02:44.787 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@2bb31455 +2021-03-21 20:02:44.788 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@6c995c5d +2021-03-21 20:02:44.788 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@6c995c5d +2021-03-21 20:02:44.789 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@53cb0bcb +2021-03-21 20:02:44.789 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@53cb0bcb +2021-03-21 20:02:44.790 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@63dda940 +2021-03-21 20:02:44.791 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@7a55fb81 +2021-03-21 20:02:44.791 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@7a55fb81 +2021-03-21 20:02:44.791 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@7a55fb81 +2021-03-21 20:02:44.792 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@7272ee51 +2021-03-21 20:02:44.792 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@7272ee51 +2021-03-21 20:02:44.792 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@7272ee51 +2021-03-21 20:02:44.793 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@762a10b6 +2021-03-21 20:02:44.794 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@3e0a9b1d +2021-03-21 20:02:44.795 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@28554ac8 +2021-03-21 20:02:44.796 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@28554ac8 +2021-03-21 20:02:44.796 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@28554ac8 +2021-03-21 20:02:44.796 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@21516c88 +2021-03-21 20:02:44.796 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@21516c88 +2021-03-21 20:02:44.796 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@21516c88 +2021-03-21 20:02:44.796 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@65d9e72a +2021-03-21 20:02:44.797 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@5cce40d7 +2021-03-21 20:02:44.799 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@27df5806 +2021-03-21 20:02:44.799 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@27df5806 +2021-03-21 20:02:44.799 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@f95d64d +2021-03-21 20:02:44.802 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@3ca17943 +2021-03-21 20:02:44.802 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@3ca17943 +2021-03-21 20:02:44.804 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@482a58c7 +2021-03-21 20:02:44.804 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@482a58c7 +2021-03-21 20:02:44.805 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@4e4894d +2021-03-21 20:02:44.805 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@dc1fadd +2021-03-21 20:02:44.807 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@7b377a53 +2021-03-21 20:02:44.815 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@25e8e59 +2021-03-21 20:02:44.817 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@25e8e59 +2021-03-21 20:02:44.818 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@221b77d7 +2021-03-21 20:02:44.818 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@5cd8d029 +2021-03-21 20:02:44.818 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@32a8ca06 +2021-03-21 20:02:44.819 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@6e8f2094 +2021-03-21 20:02:44.819 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@1753475d +2021-03-21 20:02:44.819 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@d108406 +2021-03-21 20:02:44.819 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@799c8758 +2021-03-21 20:02:44.819 DEBUG 12320 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@6e00837f +2021-03-21 20:02:44.907 INFO 12320 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 20:02:45.104 DEBUG 12320 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@1d226f27] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@1d944fc0] +2021-03-21 20:02:45.464 DEBUG 12320 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 20:02:45.467 DEBUG 12320 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 20:02:45.701 DEBUG 12320 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@1d226f27] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@135064ea] +2021-03-21 20:02:46.390 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 20:02:46.393 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 20:02:46.394 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 20:02:46.394 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 20:02:46.394 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 20:02:46.394 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 20:02:46.394 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 20:02:46.395 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 20:02:46.395 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 20:02:46.395 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 20:02:46.395 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 20:02:46.395 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 20:02:46.395 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 20:02:46.396 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 20:02:46.396 DEBUG 12320 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 20:02:46.400 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:02:46.413 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 20:02:46.415 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:02:46.416 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:02:46.417 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:02:46.418 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 20:02:46.420 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 20:02:46.422 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 20:02:46.423 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 20:02:46.424 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 20:02:46.426 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:02:46.429 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 20:02:46.433 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:02:46.434 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 20:02:46.436 DEBUG 12320 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 20:02:46.437 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 20:02:46.443 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 20:02:46.452 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 20:02:46.454 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 20:02:46.456 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 20:02:46.457 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 20:02:46.469 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 20:02:46.471 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 20:02:46.473 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 20:02:46.475 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 20:02:46.478 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 20:02:46.480 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 20:02:46.482 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 20:02:46.485 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 20:02:46.487 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 20:02:46.489 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 20:02:46.492 DEBUG 12320 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 20:02:46.499 INFO 12320 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 20:02:46.510 TRACE 12320 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@135064ea] for TypeConfiguration +2021-03-21 20:02:46.514 INFO 12320 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 20:02:47.793 WARN 12320 --- [main] 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 +2021-03-21 20:02:48.172 INFO 12320 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 3eaed623-8e22-469a-8e4f-cc6a23b39e29 + +2021-03-21 20:02:48.275 INFO 12320 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@52a9db63, org.springframework.security.web.context.SecurityContextPersistenceFilter@3f3a529f, org.springframework.security.web.header.HeaderWriterFilter@3ec52163, org.springframework.security.web.authentication.logout.LogoutFilter@3d8b9dee, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5aa5b3af, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5f69462f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@402d76c7, org.springframework.security.web.session.SessionManagementFilter@267e0ca0, org.springframework.security.web.access.ExceptionTranslationFilter@6447dc25, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@53c21c05] +2021-03-21 20:02:48.458 INFO 12320 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 20:02:48.794 INFO 12320 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 20:02:48.806 INFO 12320 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 8.893 seconds (JVM running for 11.056) +2021-03-21 20:03:43.668 INFO 12320 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2021-03-21 20:03:43.670 INFO 12320 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2021-03-21 20:03:43.671 INFO 12320 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2021-03-21 20:03:43.884 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 20:03:43.885 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 20:03:43.885 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 20:03:43.916 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 20:03:43.916 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 20:03:43.916 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 20:03:43.970 DEBUG 12320 --- [http-nio-8080-exec-1] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 20:03:43.976 TRACE 12320 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 20:03:44.147 DEBUG 12320 --- [http-nio-8080-exec-1] org.hibernate.SQL : + insert + into + user + (id, email, lock_yn, password, phone, reg_date, status, update_date, user_name) + values + (null, ?, ?, ?, ?, ?, ?, ?, ?) +2021-03-21 20:03:44.147 TRACE 12320 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 20:03:44.147 TRACE 12320 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BOOLEAN] - [false] +2021-03-21 20:03:44.147 TRACE 12320 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [VARCHAR] - [$2a$10$yZHUgSoK4RQ.K6XiQ/E2q.YPD4ifg6fACsUdIIl2IokgxOQA2I9bG] +2021-03-21 20:03:44.147 TRACE 12320 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [VARCHAR] - [010-3333-2225] +2021-03-21 20:03:44.148 TRACE 12320 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [TIMESTAMP] - [2021-03-21T20:03:44.112993300] +2021-03-21 20:03:44.148 TRACE 12320 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [6] as [VARCHAR] - [USING] +2021-03-21 20:03:44.148 TRACE 12320 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [7] as [TIMESTAMP] - [null] +2021-03-21 20:03:44.149 TRACE 12320 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [8] as [VARCHAR] - [jo] +2021-03-21 20:03:47.814 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 20:03:47.814 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 후! +2021-03-21 20:03:47.814 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 20:03:47.827 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 20:03:47.828 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 후! +2021-03-21 20:03:47.828 INFO 12320 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 20:11:28.097 INFO 21860 --- [main] c.e.r.RestControllerApplication : Starting RestControllerApplication using Java 11.0.8 on DESKTOP-8F3AB8V with PID 21860 (C:\Users\Woojin\Desktop\study\Study\rest-controller-practice\build\classes\java\main started by 김우진 in C:\Users\Woojin\Desktop\study\Study\rest-controller-practice) +2021-03-21 20:11:28.103 INFO 21860 --- [main] c.e.r.RestControllerApplication : No active profile set, falling back to default profiles: default +2021-03-21 20:11:30.146 INFO 21860 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2021-03-21 20:11:30.646 INFO 21860 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 480 ms. Found 15 JPA repository interfaces. +2021-03-21 20:11:32.186 INFO 21860 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) +2021-03-21 20:11:32.211 INFO 21860 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2021-03-21 20:11:32.212 INFO 21860 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41] +2021-03-21 20:11:32.534 INFO 21860 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2021-03-21 20:11:32.534 INFO 21860 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 4313 ms +2021-03-21 20:11:32.668 INFO 21860 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2021-03-21 20:11:32.945 INFO 21860 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2021-03-21 20:11:32.959 INFO 21860 --- [main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:testDb' +2021-03-21 20:11:33.332 INFO 21860 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2021-03-21 20:11:33.416 INFO 21860 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.27.Final +2021-03-21 20:11:33.653 INFO 21860 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} +2021-03-21 20:11:33.711 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@350ff014 +2021-03-21 20:11:33.712 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@350ff014 +2021-03-21 20:11:33.712 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@350ff014 +2021-03-21 20:11:33.714 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@1201769d +2021-03-21 20:11:33.715 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@22048bd6 +2021-03-21 20:11:33.716 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@5618fc1f +2021-03-21 20:11:33.730 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@6bcdd6e4 +2021-03-21 20:11:33.730 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@6bcdd6e4 +2021-03-21 20:11:33.730 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@6bcdd6e4 +2021-03-21 20:11:33.732 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@ddffa6c +2021-03-21 20:11:33.732 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@ddffa6c +2021-03-21 20:11:33.732 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@ddffa6c +2021-03-21 20:11:33.735 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@5abf6a99 +2021-03-21 20:11:33.735 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@5abf6a99 +2021-03-21 20:11:33.735 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@5abf6a99 +2021-03-21 20:11:33.737 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@7a814310 +2021-03-21 20:11:33.737 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@7a814310 +2021-03-21 20:11:33.737 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@7a814310 +2021-03-21 20:11:33.739 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@4b4a2fa8 +2021-03-21 20:11:33.740 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@4b4a2fa8 +2021-03-21 20:11:33.741 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@4b4a2fa8 +2021-03-21 20:11:33.745 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@65036e8d +2021-03-21 20:11:33.745 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@65036e8d +2021-03-21 20:11:33.745 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@65036e8d +2021-03-21 20:11:33.747 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@26d0ece6 +2021-03-21 20:11:33.747 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@26d0ece6 +2021-03-21 20:11:33.748 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@26d0ece6 +2021-03-21 20:11:33.750 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@35ac9ebd +2021-03-21 20:11:33.750 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@35ac9ebd +2021-03-21 20:11:33.751 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@4df7d9ee +2021-03-21 20:11:33.751 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@4df7d9ee +2021-03-21 20:11:33.753 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@7f4e5a39 +2021-03-21 20:11:33.753 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@7f4e5a39 +2021-03-21 20:11:33.754 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@50f4b83d +2021-03-21 20:11:33.755 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@11e17893 +2021-03-21 20:11:33.759 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@23648d2d +2021-03-21 20:11:33.759 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@23648d2d +2021-03-21 20:11:33.761 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@1544ded3 +2021-03-21 20:11:33.761 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@1544ded3 +2021-03-21 20:11:33.763 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@3a38e4dc +2021-03-21 20:11:33.763 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@3a38e4dc +2021-03-21 20:11:33.765 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@448cdb47 +2021-03-21 20:11:33.766 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@448cdb47 +2021-03-21 20:11:33.767 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@161d95c6 +2021-03-21 20:11:33.768 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@161d95c6 +2021-03-21 20:11:33.769 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@539fc5d1 +2021-03-21 20:11:33.769 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@539fc5d1 +2021-03-21 20:11:33.771 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@55222ee9 +2021-03-21 20:11:33.771 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@55222ee9 +2021-03-21 20:11:33.774 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@71369e1a +2021-03-21 20:11:33.776 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@71369e1a +2021-03-21 20:11:33.779 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@6d7b001b +2021-03-21 20:11:33.780 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@6d7b001b +2021-03-21 20:11:33.782 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@1f758e4f +2021-03-21 20:11:33.783 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@1f758e4f +2021-03-21 20:11:33.785 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@5980fa73 +2021-03-21 20:11:33.785 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@5980fa73 +2021-03-21 20:11:33.787 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@26874f2c +2021-03-21 20:11:33.787 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@26874f2c +2021-03-21 20:11:33.787 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@26874f2c +2021-03-21 20:11:33.789 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@2fbd390 +2021-03-21 20:11:33.795 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@7f51f588 +2021-03-21 20:11:33.795 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@7f51f588 +2021-03-21 20:11:33.795 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@7f51f588 +2021-03-21 20:11:33.797 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@372954e1 +2021-03-21 20:11:33.799 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@53cddaf8 +2021-03-21 20:11:33.800 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@1e721583 +2021-03-21 20:11:33.801 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@1e721583 +2021-03-21 20:11:33.802 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@48dff674 +2021-03-21 20:11:33.802 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@48dff674 +2021-03-21 20:11:33.804 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@77fc19cf +2021-03-21 20:11:33.804 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@77fc19cf +2021-03-21 20:11:33.805 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@bb8ead8 +2021-03-21 20:11:33.805 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@bb8ead8 +2021-03-21 20:11:33.808 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@677cb96e +2021-03-21 20:11:33.809 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@677cb96e +2021-03-21 20:11:33.811 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@51fe7f15 +2021-03-21 20:11:33.814 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@33627576 +2021-03-21 20:11:33.814 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@33627576 +2021-03-21 20:11:33.814 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@33627576 +2021-03-21 20:11:33.816 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@61911947 +2021-03-21 20:11:33.816 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@61911947 +2021-03-21 20:11:33.816 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@61911947 +2021-03-21 20:11:33.818 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@795f6681 +2021-03-21 20:11:33.819 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@74431b9c +2021-03-21 20:11:33.820 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@4e3283f6 +2021-03-21 20:11:33.820 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@4e3283f6 +2021-03-21 20:11:33.820 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@4e3283f6 +2021-03-21 20:11:33.822 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@3271ec2a +2021-03-21 20:11:33.822 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@3271ec2a +2021-03-21 20:11:33.822 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@3271ec2a +2021-03-21 20:11:33.824 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@1c7cd434 +2021-03-21 20:11:33.826 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@1f7e52d1 +2021-03-21 20:11:33.829 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@2c99c8d +2021-03-21 20:11:33.829 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@2c99c8d +2021-03-21 20:11:33.830 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@69bc9584 +2021-03-21 20:11:33.832 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@74a58a06 +2021-03-21 20:11:33.833 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@74a58a06 +2021-03-21 20:11:33.834 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@28e94c2 +2021-03-21 20:11:33.834 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@28e94c2 +2021-03-21 20:11:33.835 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@3e74fd84 +2021-03-21 20:11:33.836 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@1de5cc88 +2021-03-21 20:11:33.840 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@49653791 +2021-03-21 20:11:33.848 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@7e18ced7 +2021-03-21 20:11:33.849 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@7e18ced7 +2021-03-21 20:11:33.850 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@3a0896b3 +2021-03-21 20:11:33.850 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@50a7c72b +2021-03-21 20:11:33.850 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@54c11750 +2021-03-21 20:11:33.850 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@221b77d7 +2021-03-21 20:11:33.851 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@5cd8d029 +2021-03-21 20:11:33.851 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@32a8ca06 +2021-03-21 20:11:33.851 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@6e8f2094 +2021-03-21 20:11:33.851 DEBUG 21860 --- [main] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@1753475d +2021-03-21 20:11:33.971 INFO 21860 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect +2021-03-21 20:11:34.097 DEBUG 21860 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@619c3546] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@29090809] +2021-03-21 20:11:34.444 DEBUG 21860 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.model.UserPointType +2021-03-21 20:11:34.447 DEBUG 21860 --- [main] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum com.example.restcontroller.user.entity.UserStatus +2021-03-21 20:11:34.789 DEBUG 21860 --- [main] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@619c3546] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@77856cc5] +2021-03-21 20:11:35.821 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists board CASCADE +2021-03-21 20:11:35.828 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists board_bookmark CASCADE +2021-03-21 20:11:35.829 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists board_comment CASCADE +2021-03-21 20:11:35.829 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists board_hits CASCADE +2021-03-21 20:11:35.830 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists board_like CASCADE +2021-03-21 20:11:35.830 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists board_report CASCADE +2021-03-21 20:11:35.830 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists board_scrap CASCADE +2021-03-21 20:11:35.830 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists board_type CASCADE +2021-03-21 20:11:35.830 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists logs CASCADE +2021-03-21 20:11:35.830 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists notice CASCADE +2021-03-21 20:11:35.831 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists notice_like CASCADE +2021-03-21 20:11:35.831 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists user CASCADE +2021-03-21 20:11:35.831 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists user_interest CASCADE +2021-03-21 20:11:35.832 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists user_login_history CASCADE +2021-03-21 20:11:35.832 DEBUG 21860 --- [main] org.hibernate.SQL : + + drop table if exists user_point CASCADE +2021-03-21 20:11:35.837 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table board ( + id bigint generated by default as identity, + content varchar(255), + publish_end_date date, + publish_start_date date, + reg_date timestamp, + title varchar(255), + top_yn boolean not null, + board_type_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:11:35.855 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table board_bookmark ( + id bigint generated by default as identity, + board_id bigint, + board_title varchar(255), + board_type_id bigint, + board_url varchar(255), + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 20:11:35.860 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table board_comment ( + id bigint generated by default as identity, + comments varchar(255), + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:11:35.862 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table board_hits ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:11:35.863 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table board_like ( + id bigint generated by default as identity, + reg_date timestamp, + board_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:11:35.865 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table board_report ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_user_id bigint, + comments varchar(255), + reg_date timestamp, + user_email varchar(255), + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 20:11:35.867 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table board_scrap ( + id bigint generated by default as identity, + board_contents varchar(255), + board_id bigint, + board_reg_date timestamp, + board_title varchar(255), + board_type_id bigint, + board_user_id bigint, + reg_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 20:11:35.869 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table board_type ( + id bigint generated by default as identity, + board_name varchar(255), + reg_date timestamp, + update_date timestamp, + using_yn boolean not null, + primary key (id) + ) +2021-03-21 20:11:35.870 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table logs ( + id bigint generated by default as identity, + reg_date timestamp, + text clob, + primary key (id) + ) +2021-03-21 20:11:35.872 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table notice ( + id bigint generated by default as identity, + contents varchar(255), + delete_date timestamp, + deleted boolean default false not null, + hits integer default 0, + likes integer default 0, + reg_date timestamp, + title varchar(255), + update_date timestamp, + user_id bigint, + primary key (id) + ) +2021-03-21 20:11:35.874 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table notice_like ( + id bigint generated by default as identity, + notice_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:11:35.879 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table user ( + id bigint generated by default as identity, + email varchar(255) not null, + lock_yn boolean, + password varchar(255) not null, + phone varchar(255) not null, + reg_date timestamp, + status varchar(255), + update_date timestamp, + user_name varchar(255) not null, + primary key (id) + ) +2021-03-21 20:11:35.882 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table user_interest ( + id bigint generated by default as identity, + reg_date timestamp, + interest_user_id bigint, + user_id bigint, + primary key (id) + ) +2021-03-21 20:11:35.883 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table user_login_history ( + id bigint generated by default as identity, + email varchar(255), + ip_addr varchar(255), + login_date timestamp, + user_id bigint, + user_name varchar(255), + primary key (id) + ) +2021-03-21 20:11:35.885 DEBUG 21860 --- [main] org.hibernate.SQL : + + create table user_point ( + id bigint generated by default as identity, + point integer not null, + reg_date timestamp, + user_point_type varchar(255), + user_id bigint, + primary key (id) + ) +2021-03-21 20:11:35.886 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table user + add constraint UK_ob8kqyqqgmefl0aco34akdtpe unique (email) +2021-03-21 20:11:35.895 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table board + add constraint FK59iw5qt320s9l10vbxey9as5p + foreign key (board_type_id) + references board_type +2021-03-21 20:11:35.910 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table board + add constraint FKfyf1fchnby6hndhlfaidier1r + foreign key (user_id) + references user +2021-03-21 20:11:35.913 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table board_bookmark + add constraint FK_BOARD_BOOKMARK_USER_ID + foreign key (user_id) + references user +2021-03-21 20:11:35.916 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_BOARD_ID + foreign key (board_id) + references board +2021-03-21 20:11:35.918 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table board_comment + add constraint FK_BOARD_COMMENT_USER_ID + foreign key (user_id) + references user +2021-03-21 20:11:35.920 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FK8ptvjkodqmonm762uo9v8ocha + foreign key (board_id) + references board +2021-03-21 20:11:35.921 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table board_hits + add constraint FKjkkt5o4uyvoo26g31v71pww4w + foreign key (user_id) + references user +2021-03-21 20:11:35.926 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKk7rxm8vl1ptqqhwdj2sjmlpvq + foreign key (board_id) + references board +2021-03-21 20:11:35.930 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table board_like + add constraint FKpf406vodal6lejcg4fkwcjr2o + foreign key (user_id) + references user +2021-03-21 20:11:35.933 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table board_scrap + add constraint FK_BOARD_SCRAP_USER_ID + foreign key (user_id) + references user +2021-03-21 20:11:35.935 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table notice + add constraint FKcvf4mh5se36inrxn7xlh2brfv + foreign key (user_id) + references user +2021-03-21 20:11:35.938 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKm2krt4h5dcpydbb4tlvxyr27 + foreign key (notice_id) + references notice +2021-03-21 20:11:35.941 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table notice_like + add constraint FKnplmervi6gx6dqj4vpnq7jn6g + foreign key (user_id) + references user +2021-03-21 20:11:35.945 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_INTEREST_USER_ID + foreign key (interest_user_id) + references user +2021-03-21 20:11:35.947 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table user_interest + add constraint FK_USER_INTEREST_USER_ID + foreign key (user_id) + references user +2021-03-21 20:11:35.949 DEBUG 21860 --- [main] org.hibernate.SQL : + + alter table user_point + add constraint FK_USER_POINT_USER_ID + foreign key (user_id) + references user +2021-03-21 20:11:35.955 INFO 21860 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] +2021-03-21 20:11:35.969 TRACE 21860 --- [main] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@77856cc5] for TypeConfiguration +2021-03-21 20:11:35.973 INFO 21860 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2021-03-21 20:11:38.053 WARN 21860 --- [main] 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 +2021-03-21 20:11:38.611 INFO 21860 --- [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 2a355f9b-01e1-4ffb-92ac-fd6f1d0d970d + +2021-03-21 20:11:38.788 INFO 21860 --- [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4dc5b887, org.springframework.security.web.context.SecurityContextPersistenceFilter@36017835, org.springframework.security.web.header.HeaderWriterFilter@445c693, org.springframework.security.web.authentication.logout.LogoutFilter@4202bfe8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@574134ba, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@55465bfc, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3b7dd173, org.springframework.security.web.session.SessionManagementFilter@1cb73a92, org.springframework.security.web.access.ExceptionTranslationFilter@7ec176da, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6c569caf] +2021-03-21 20:11:39.087 INFO 21860 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' +2021-03-21 20:11:39.683 INFO 21860 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' +2021-03-21 20:11:39.701 INFO 21860 --- [main] c.e.r.RestControllerApplication : Started RestControllerApplication in 13.048 seconds (JVM running for 18.412) +2021-03-21 20:12:35.333 INFO 21860 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2021-03-21 20:12:35.335 INFO 21860 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2021-03-21 20:12:35.337 INFO 21860 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2021-03-21 20:12:35.562 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 20:12:35.562 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 전! +2021-03-21 20:12:35.562 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 20:12:35.590 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 20:12:35.591 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 전! +2021-03-21 20:12:35.591 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 20:12:35.638 DEBUG 21860 --- [http-nio-8080-exec-1] org.hibernate.SQL : + select + user0_.id as id1_11_, + user0_.email as email2_11_, + user0_.lock_yn as lock_yn3_11_, + user0_.password as password4_11_, + user0_.phone as phone5_11_, + user0_.reg_date as reg_date6_11_, + user0_.status as status7_11_, + user0_.update_date as update_d8_11_, + user0_.user_name as user_nam9_11_ + from + user user0_ + where + user0_.email=? +2021-03-21 20:12:35.646 TRACE 21860 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 20:12:35.857 DEBUG 21860 --- [http-nio-8080-exec-1] org.hibernate.SQL : + insert + into + user + (id, email, lock_yn, password, phone, reg_date, status, update_date, user_name) + values + (null, ?, ?, ?, ?, ?, ?, ?, ?) +2021-03-21 20:12:35.858 TRACE 21860 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [haerong22@gmail.com] +2021-03-21 20:12:35.859 TRACE 21860 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BOOLEAN] - [false] +2021-03-21 20:12:35.859 TRACE 21860 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [VARCHAR] - [$2a$10$9un3OPwg0EXHocipTZc3PenMCIucirLuXVuplHePCdBZzXD/o2GT2] +2021-03-21 20:12:35.859 TRACE 21860 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [VARCHAR] - [010-3333-2225] +2021-03-21 20:12:35.860 TRACE 21860 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [TIMESTAMP] - [2021-03-21T20:12:35.805319900] +2021-03-21 20:12:35.860 TRACE 21860 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [6] as [VARCHAR] - [USING] +2021-03-21 20:12:35.860 TRACE 21860 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [7] as [TIMESTAMP] - [null] +2021-03-21 20:12:35.861 TRACE 21860 --- [http-nio-8080-exec-1] o.h.type.descriptor.sql.BasicBinder : binding parameter [8] as [VARCHAR] - [jo] +2021-03-21 20:12:39.974 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 20:12:39.974 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : 서비스 호출 후! +2021-03-21 20:12:39.974 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.LoginLogger : ############################################################ +2021-03-21 20:12:39.987 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ +2021-03-21 20:12:39.988 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : 컨트롤러 호출 후! +2021-03-21 20:12:39.988 INFO 21860 --- [http-nio-8080-exec-1] c.e.r.common.aop.BoardLogger : ############################################################ diff --git a/rest-controller-practice/src/main/java/com/example/restcontroller/common/MailComponent.java b/rest-controller-practice/src/main/java/com/example/restcontroller/common/MailComponent.java new file mode 100644 index 00000000..907cf519 --- /dev/null +++ b/rest-controller-practice/src/main/java/com/example/restcontroller/common/MailComponent.java @@ -0,0 +1,46 @@ +package com.example.restcontroller.common; + +import com.example.restcontroller.common.exception.BizException; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.mail.javamail.JavaMailSender; +import org.springframework.mail.javamail.MimeMessageHelper; +import org.springframework.mail.javamail.MimeMessagePreparator; +import org.springframework.stereotype.Component; + +import javax.mail.internet.InternetAddress; + +@Slf4j +@RequiredArgsConstructor +@Component +public class MailComponent { + + private final JavaMailSender javaMailSender; + + public boolean send(String fromEmail, String fromName, String toEmail, String toName, String title, String contents) { + MimeMessagePreparator mimeMessagePreparator = mimeMessage -> { + MimeMessageHelper mimeMessageHelper = new MimeMessageHelper(mimeMessage, true, "UTF-8"); + + InternetAddress from = new InternetAddress(); + from.setAddress(fromEmail); + from.setPersonal(fromName); + + InternetAddress to = new InternetAddress(); + to.setAddress(toEmail); + to.setPersonal(toName); + + mimeMessageHelper.setFrom(from); + mimeMessageHelper.setTo(to); + mimeMessageHelper.setSubject(title); + mimeMessageHelper.setText(contents, true); + }; + try { + javaMailSender.send(mimeMessagePreparator); + } catch (Exception e) { + log.info(e.getMessage()); + throw new BizException("이메일 전송 실패"); + } + + return true; + } +} diff --git a/rest-controller-practice/src/main/java/com/example/restcontroller/config/WebMvcConfiguration.java b/rest-controller-practice/src/main/java/com/example/restcontroller/config/WebMvcConfiguration.java index fb5ec8b8..7263a0ad 100644 --- a/rest-controller-practice/src/main/java/com/example/restcontroller/config/WebMvcConfiguration.java +++ b/rest-controller-practice/src/main/java/com/example/restcontroller/config/WebMvcConfiguration.java @@ -10,6 +10,8 @@ public class WebMvcConfiguration implements WebMvcConfigurer { @Override public void addInterceptors(InterceptorRegistry registry) { - registry.addInterceptor(new CommonInterceptor()); + registry.addInterceptor(new CommonInterceptor()) + .addPathPatterns("/api/*") + .excludePathPatterns("/api/public/*"); } } diff --git a/rest-controller-practice/src/main/java/com/example/restcontroller/user/controller/ApiUserController.java b/rest-controller-practice/src/main/java/com/example/restcontroller/user/controller/ApiUserController.java index 2060a034..3ae076e5 100644 --- a/rest-controller-practice/src/main/java/com/example/restcontroller/user/controller/ApiUserController.java +++ b/rest-controller-practice/src/main/java/com/example/restcontroller/user/controller/ApiUserController.java @@ -23,6 +23,7 @@ import com.example.restcontroller.user.exception.UserNotFoundException; import com.example.restcontroller.user.model.*; import com.example.restcontroller.user.repository.UserRepository; import com.example.restcontroller.user.service.UserPointService; +import com.example.restcontroller.user.service.UserService; import com.example.restcontroller.util.JWTUtils; import com.example.restcontroller.util.PasswordUtils; import lombok.RequiredArgsConstructor; @@ -51,6 +52,7 @@ public class ApiUserController { private final BoardService boardService; private final UserPointService userPointService; + private final UserService userService; @PostMapping("/api/user") public ResponseEntity chapter2_1(@RequestBody @Valid UserInput userInput, BindingResult bindingResult) { @@ -403,4 +405,11 @@ public class ApiUserController { return ResponseResult.result(result); } + + @PostMapping("/api/public/user") + public ResponseEntity chapter5_2(@RequestBody UserInput userInput) { + + ServiceResult result = userService.addUser(userInput); + return ResponseResult.result(result); + } } \ No newline at end of file diff --git a/rest-controller-practice/src/main/java/com/example/restcontroller/user/service/UserService.java b/rest-controller-practice/src/main/java/com/example/restcontroller/user/service/UserService.java index 16bb55ad..41d2d82c 100644 --- a/rest-controller-practice/src/main/java/com/example/restcontroller/user/service/UserService.java +++ b/rest-controller-practice/src/main/java/com/example/restcontroller/user/service/UserService.java @@ -23,4 +23,6 @@ public interface UserService { ServiceResult deleteInterestUser(Long id, String email); User login(UserLogin userLogin); + + ServiceResult addUser(UserInput userInput); } diff --git a/rest-controller-practice/src/main/java/com/example/restcontroller/user/service/UserServiceImpl.java b/rest-controller-practice/src/main/java/com/example/restcontroller/user/service/UserServiceImpl.java index 146e1bb6..d007d7b4 100644 --- a/rest-controller-practice/src/main/java/com/example/restcontroller/user/service/UserServiceImpl.java +++ b/rest-controller-practice/src/main/java/com/example/restcontroller/user/service/UserServiceImpl.java @@ -2,8 +2,8 @@ package com.example.restcontroller.user.service; import com.example.restcontroller.board.model.ServiceResult; +import com.example.restcontroller.common.MailComponent; import com.example.restcontroller.common.exception.BizException; -import com.example.restcontroller.logs.service.LogService; import com.example.restcontroller.user.entity.User; import com.example.restcontroller.user.entity.UserInterest; import com.example.restcontroller.user.entity.UserStatus; @@ -32,6 +32,8 @@ public class UserServiceImpl implements UserService { private final UserCustomRepository userCustomRepository; private final UserInterestRepository userInterestRepository; + private final MailComponent mailComponent; + @Override public UserSummary getUserStatusCount() { Long usingUserCount = userRepository.countByStatus(UserStatus.USING); @@ -144,4 +146,38 @@ public class UserServiceImpl implements UserService { return userEntity; } + + @Transactional + @Override + public ServiceResult addUser(UserInput userInput) { + Optional optionalUserEntity = userRepository.findByEmail(userInput.getEmail()); + if (optionalUserEntity.isPresent()) { + throw new BizException("이미 가입된 이메일 입니다"); + } + + String encryptPassword = PasswordUtils.encryptedPassword(userInput.getPassword()); + + User user = User.builder() + .email(userInput.getEmail()) + .userName(userInput.getUserName()) + .regDate(LocalDateTime.now()) + .password(encryptPassword) + .phone(userInput.getPhone()) + .status(UserStatus.USING) + .build(); + + userRepository.save(user); + + // 이메일 전송 + String fromEmail = "test.email.12588"; + String fromName = "관리자"; + String toEmail = userInput.getEmail(); + String toName = userInput.getUserName(); + String title = "회원가입을 축하드립니다."; + String contents = "회원가입을 축하드립니다."; + + mailComponent.send(fromEmail, fromName, toEmail, toName, title, contents); + + return ServiceResult.success(); + } } diff --git a/rest-controller-practice/src/main/java/com/example/restcontroller/util/PasswordUtils.java b/rest-controller-practice/src/main/java/com/example/restcontroller/util/PasswordUtils.java index 4efc0f96..bc27149c 100644 --- a/rest-controller-practice/src/main/java/com/example/restcontroller/util/PasswordUtils.java +++ b/rest-controller-practice/src/main/java/com/example/restcontroller/util/PasswordUtils.java @@ -6,6 +6,10 @@ import org.springframework.security.crypto.bcrypt.BCrypt; @UtilityClass public class PasswordUtils { + public static String encryptedPassword(String password) { + return BCrypt.hashpw(password, BCrypt.gensalt()); + } + public static boolean equalPassword(String password, String encryptedPassword) { return BCrypt.checkpw(password, encryptedPassword); } diff --git a/rest-controller-practice/src/main/resources/application.yml b/rest-controller-practice/src/main/resources/application.yml index f8d72d7f..27d64922 100644 --- a/rest-controller-practice/src/main/resources/application.yml +++ b/rest-controller-practice/src/main/resources/application.yml @@ -33,6 +33,18 @@ spring: mustache: suffix: .html + mail: + username: test.email.12588 + password: jqvozceuwvacbxwa + host: smtp.gmail.com + port: 587 + properties: + mail: + smtp: + auth: true + starttls: + enable: true + logging: level: org.hibernate.SQL: trace