.  ____      _       __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
 '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_ /_/
 :: Spring Boot ::  (v2.3.0.BUILD-SNAPSHOT)
2020-02-16 06:54:23.777  INFO 4100 --- [  restartedMain] com.jpa.hibernate.app.AppApplication   : Starting AppApplication on Desmand-PC with PID 4100 (C:\Spring5\app\target\cla sses started by user in C:\Spring5\app)
2020-02-16 06:54:23.780  INFO 4100 --- [  restartedMain] com.jpa.hibernate.app.AppApplication   : No active profile set, falling back to default profiles: default
2020-02-16 06:54:23.858  INFO 4100 --- [  restartedMain] o.s.b.devtools.restart.ChangeableUrl s   : The Class-Path manifest attribute in C:\Users\user\.m2\reposito ry\org\gla ssfish\jax b\jaxb-run time\2.3.2 \jaxb-runt ime-2.3.2. jar referenced one or more files that do not exist: file:/C:/Users/user/.m2/re pository/o rg/glassfi sh/jaxb/ja xb-runtime /2.3.2/jak arta.xml.b ind-api-2. 3.2.jar,fi le:/C:/Use rs/user/.m 2/reposito ry/org/gla ssfish/jax b/jaxb-run time/2.3.2 /txw2-2.3. 2.jar,file :/C:/Users /user/.m2/ repository /org/glass fish/jaxb/ jaxb-runti me/2.3.2/i stack-comm ons-runtim e-3.0.8.ja r,file:/C: /Users/use r/.m2/repo sitory/org /glassfish /jaxb/jaxb -runtime/2 .3.2/stax- ex-1.8.1.j ar,file:/C :/Users/us er/.m2/rep ository/or g/glassfis h/jaxb/jax b-runtime/ 2.3.2/Fast Infoset-1. 2.16.jar,f ile:/C:/Us ers/user/. m2/reposit ory/org/gl assfish/ja xb/jaxb-ru ntime/2.3. 2/jakarta. activation -api-1.2.1 .jar
2020-02-16 06:54:23.859 Â INFO 4100 --- [ Â restartedMain] .e.DevToolsPropertyDefaultsPostProce ssor : Devtools property defaults active! Set 'spring.devtools.add-prope rties' to 'false' to disable
2020-02-16 06:54:23.859 Â INFO 4100 --- [ Â restartedMain] .e.DevToolsPropertyDefaultsPostProce ssor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2020-02-16 06:54:24.553 Â INFO 4100 --- [ Â restartedMain] .s.d.r.c.RepositoryConfigurationDele gate : Bootstrapping Spring Data JPA repositories in DEFERRED mode.
2020-02-16 06:54:24.579 Â INFO 4100 --- [ Â restartedMain] .s.d.r.c.RepositoryConfigurationDele gate : Finished Spring Data repository scanning in 16ms. Found 0 JPA repository interfaces.
2020-02-16 06:54:25.136 Â INFO 4100 --- [ Â restartedMain] trationDelegate$BeanPostProcessorChe cker : Bean 'org.springframework.trans action.ann otation.Pr oxyTransac tionManage mentConfig uration' of type [org.springframework.trans action.ann otation.Pr oxyTransac tionManage mentConfig uration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-02-16 06:54:25.801  INFO 4100 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebSer ver  : Tomcat initialized with port(s): 8080 (http)
2020-02-16 06:54:25.814  INFO 4100 --- [  restartedMain] o.apache.catalina.core.StandardServi ce  : Starting service [Tomcat]
2020-02-16 06:54:25.814  INFO 4100 --- [  restartedMain] org.apache.catalina.core.StandardEng ine  : Starting Servlet engine: [Apache Tomcat/9.0.30]
2020-02-16 06:54:25.824  INFO 4100 --- [  restartedMain] o.a.catalina.core.AprLifecycleListen er  : An older version [1.2.21] of the APR based Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.2.23]
2020-02-16 06:54:25.824  INFO 4100 --- [  restartedMain] o.a.catalina.core.AprLifecycleListen er  : Loaded APR based Apache Tomcat Native library [1.2.21] using APR version [1.6.5].
2020-02-16 06:54:25.824  INFO 4100 --- [  restartedMain] o.a.catalina.core.AprLifecycleListen er  : APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2020-02-16 06:54:25.824  INFO 4100 --- [  restartedMain] o.a.catalina.core.AprLifecycleListen er  : APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2020-02-16 06:54:25.827  INFO 4100 --- [  restartedMain] o.a.catalina.core.AprLifecycleListen er  : OpenSSL successfully initialized [OpenSSL 1.1.1a  20 Nov 2018]
2020-02-16 06:54:25.956 Â INFO 4100 --- [ Â restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] Â Â Â : Initializing Spring embedded WebApplicationContext
2020-02-16 06:54:25.957  INFO 4100 --- [  restartedMain] o.s.web.context.ContextLoader       : Root WebApplicationContext: initialization completed in 2096 ms
2020-02-16 06:54:25.998  INFO 4100 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource    : HikariPool-1 - Starting...
2020-02-16 06:54:26.191  INFO 4100 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource    : HikariPool-1 - Start completed.
2020-02-16 06:54:26.199  INFO 4100 --- [  restartedMain] o.s.b.a.h2.H2ConsoleAutoConfiguratio n   : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:d3c3275a-9c49 -4182-a4e7 -ccd1c1a8c 9b9'
2020-02-16 06:54:26.318  INFO 4100 --- [  restartedMain] o.s.s.concurrent.ThreadPoolTaskExecu tor  : Initializing ExecutorService 'applicationTaskExecutor'
2020-02-16 06:54:26.380  INFO 4100 --- [     task-1] o.hibernate.jpa.internal.util.LogHel per  : HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-16 06:54:26.481  INFO 4100 --- [     task-1] org.hibernate.Version           : HHH000412: Hibernate Core {5.4.10.Final}
2020-02-16 06:54:26.543 Â WARN 4100 --- [ Â restartedMain] JpaBaseConfiguration$JpaWebConfigura tion : 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
2020-02-16 06:54:26.675  INFO 4100 --- [     task-1] o.hibernate.annotations.common.Versi on  : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2020-02-16 06:54:26.705 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration boolean -> org.hibernate.type.Boolean Type@77f93 107
2020-02-16 06:54:26.705 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration boolean -> org.hibernate.type.Boolean Type@77f93 107
2020-02-16 06:54:26.706 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.Boolean -> org.hibernate.type.Boolean Type@77f93 107
2020-02-16 06:54:26.706 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration numeric_boolean -> org.hibernate.type.Numeric BooleanTyp e@2d3287bf
2020-02-16 06:54:26.707 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration true_false -> org.hibernate.type.TrueFal seType@1a0 f1b0a
2020-02-16 06:54:26.708 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration yes_no -> org.hibernate.type.YesNoTy pe@75616f4 0
2020-02-16 06:54:26.709 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration byte -> org.hibernate.type.ByteTyp e@10f9645a
2020-02-16 06:54:26.710 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration byte -> org.hibernate.type.ByteTyp e@10f9645a
2020-02-16 06:54:26.710 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.Byte -> org.hibernate.type.ByteTyp e@10f9645a
2020-02-16 06:54:26.711 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration character -> org.hibernate.type.Charact erType@3e1 87739
2020-02-16 06:54:26.712 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration char -> org.hibernate.type.Charact erType@3e1 87739
2020-02-16 06:54:26.714 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.Character -> org.hibernate.type.Charact erType@3e1 87739
2020-02-16 06:54:26.716 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration short -> org.hibernate.type.ShortTy pe@7471266 0
2020-02-16 06:54:26.717 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration short -> org.hibernate.type.ShortTy pe@7471266 0
2020-02-16 06:54:26.717 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.Short -> org.hibernate.type.ShortTy pe@7471266 0
2020-02-16 06:54:26.718 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration integer -> org.hibernate.type.Integer Type@6084f 7a8
2020-02-16 06:54:26.719 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration int -> org.hibernate.type.Integer Type@6084f 7a8
2020-02-16 06:54:26.720 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.Integer -> org.hibernate.type.Integer Type@6084f 7a8
2020-02-16 06:54:26.721 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration long -> org.hibernate.type.LongTyp e@68a5c456
2020-02-16 06:54:26.721 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration long -> org.hibernate.type.LongTyp e@68a5c456
2020-02-16 06:54:26.721 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.Long -> org.hibernate.type.LongTyp e@68a5c456
2020-02-16 06:54:26.722 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration float -> org.hibernate.type.FloatTy pe@10d1d00 b
2020-02-16 06:54:26.723 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration float -> org.hibernate.type.FloatTy pe@10d1d00 b
2020-02-16 06:54:26.723 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.Float -> org.hibernate.type.FloatTy pe@10d1d00 b
2020-02-16 06:54:26.724 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration double -> org.hibernate.type.DoubleT ype@450271 82
2020-02-16 06:54:26.724 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration double -> org.hibernate.type.DoubleT ype@450271 82
2020-02-16 06:54:26.724 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.Double -> org.hibernate.type.DoubleT ype@450271 82
2020-02-16 06:54:26.725 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration big_decimal -> org.hibernate.type.BigDeci malType@18 532449
2020-02-16 06:54:26.725 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDeci malType@18 532449
2020-02-16 06:54:26.728 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration big_integer -> org.hibernate.type.BigInte gerType@e4 13b8f
2020-02-16 06:54:26.730 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.math.BigInteger -> org.hibernate.type.BigInte gerType@e4 13b8f
2020-02-16 06:54:26.731 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration string -> org.hibernate.type.StringT ype@213238 2a
2020-02-16 06:54:26.731 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.String -> org.hibernate.type.StringT ype@213238 2a
2020-02-16 06:54:26.732 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration nstring -> org.hibernate.type.StringN VarcharTyp e@25f6db00
2020-02-16 06:54:26.732 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration ncharacter -> org.hibernate.type.Charact erNCharTyp e@4cd2177f
2020-02-16 06:54:26.733 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration url -> org.hibernate.type.UrlType @7554e0b9
2020-02-16 06:54:26.734 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.net.URL -> org.hibernate.type.UrlType @7554e0b9
2020-02-16 06:54:26.735 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration Duration -> org.hibernate.type.Duratio nType@534f 50e
2020-02-16 06:54:26.735 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.time.Duration -> org.hibernate.type.Duratio nType@534f 50e
2020-02-16 06:54:26.736 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration Instant -> org.hibernate.type.Instant Type@3487a f69
2020-02-16 06:54:26.736 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.time.Instant -> org.hibernate.type.Instant Type@3487a f69
2020-02-16 06:54:26.741 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration LocalDateTime -> org.hibernate.type.LocalDa teTimeType @67045273
2020-02-16 06:54:26.741 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDa teTimeType @67045273
2020-02-16 06:54:26.744 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration LocalDate -> org.hibernate.type.LocalDa teType@e89 5e55
2020-02-16 06:54:26.744 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDa teType@e89 5e55
2020-02-16 06:54:26.745 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration LocalTime -> org.hibernate.type.LocalTi meType@508 bfa55
2020-02-16 06:54:26.745 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTi meType@508 bfa55
2020-02-16 06:54:26.747 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetD ateTimeTyp e@ab4a53
2020-02-16 06:54:26.748 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetD ateTimeTyp e@ab4a53
2020-02-16 06:54:26.749 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration OffsetTime -> org.hibernate.type.OffsetT imeType@31 3a683c
2020-02-16 06:54:26.750 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetT imeType@31 3a683c
2020-02-16 06:54:26.751 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDa teTimeType @6508f9e7
2020-02-16 06:54:26.752 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDa teTimeType @6508f9e7
2020-02-16 06:54:26.753 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration date -> org.hibernate.type.DateTyp e@72d9f154
2020-02-16 06:54:26.756 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.sql.Date -> org.hibernate.type.DateTyp e@72d9f154
2020-02-16 06:54:26.757 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration time -> org.hibernate.type.TimeTyp e@20e8dcad
2020-02-16 06:54:26.757 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.sql.Time -> org.hibernate.type.TimeTyp e@20e8dcad
2020-02-16 06:54:26.759 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration timestamp -> org.hibernate.type.Timesta mpType@393 8a02f
2020-02-16 06:54:26.759 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.sql.Timestamp -> org.hibernate.type.Timesta mpType@393 8a02f
2020-02-16 06:54:26.759 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.util.Date -> org.hibernate.type.Timesta mpType@393 8a02f
2020-02-16 06:54:26.760 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration dbtimestamp -> org.hibernate.type.DbTimes tampType@6 3c10568
2020-02-16 06:54:26.761 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration calendar -> org.hibernate.type.Calenda rType@38dd 309f
2020-02-16 06:54:26.762 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.util.Calendar -> org.hibernate.type.Calenda rType@38dd 309f
2020-02-16 06:54:26.762 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.util.GregorianCalenda r -> org.hibernate.type.Calenda rType@38dd 309f
2020-02-16 06:54:26.763 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration calendar_date -> org.hibernate.type.Calenda rDateType@ 26a602d0
2020-02-16 06:54:26.766 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration locale -> org.hibernate.type.LocaleT ype@6664cd 33
2020-02-16 06:54:26.766 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.util.Locale -> org.hibernate.type.LocaleT ype@6664cd 33
2020-02-16 06:54:26.767 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration currency -> org.hibernate.type.Currenc yType@73f8 2364
2020-02-16 06:54:26.768 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.util.Currency -> org.hibernate.type.Currenc yType@73f8 2364
2020-02-16 06:54:26.770 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration timezone -> org.hibernate.type.TimeZon eType@5849 7e59
2020-02-16 06:54:26.771 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZon eType@5849 7e59
2020-02-16 06:54:26.772 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration class -> org.hibernate.type.ClassTy pe@12cbd27 4
2020-02-16 06:54:26.772 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.Class -> org.hibernate.type.ClassTy pe@12cbd27 4
2020-02-16 06:54:26.775 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration uuid-binary -> org.hibernate.type.UUIDBin aryType@6c 8cf826
2020-02-16 06:54:26.775 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBin aryType@6c 8cf826
2020-02-16 06:54:26.775 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration uuid-char -> org.hibernate.type.UUIDCha rType@506b 94b
2020-02-16 06:54:26.778 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration binary -> org.hibernate.type.BinaryT ype@5b74cb 57
2020-02-16 06:54:26.778 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration byte[] -> org.hibernate.type.BinaryT ype@5b74cb 57
2020-02-16 06:54:26.778 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration [B -> org.hibernate.type.BinaryT ype@5b74cb 57
2020-02-16 06:54:26.784 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration wrapper-binary -> org.hibernate.type.Wrapper BinaryType @37a0e717
2020-02-16 06:54:26.784 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration Byte[] -> org.hibernate.type.Wrapper BinaryType @37a0e717
2020-02-16 06:54:26.784 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.Wrapper BinaryType @37a0e717
2020-02-16 06:54:26.785 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration row_version -> org.hibernate.type.RowVers ionType@7f 6f703c
2020-02-16 06:54:26.786 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration image -> org.hibernate.type.ImageTy pe@7b54232 7
2020-02-16 06:54:26.787 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration characters -> org.hibernate.type.CharArr ayType@d13 8d81
2020-02-16 06:54:26.787 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration char[] -> org.hibernate.type.CharArr ayType@d13 8d81
2020-02-16 06:54:26.788 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration [C -> org.hibernate.type.CharArr ayType@d13 8d81
2020-02-16 06:54:26.790 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration wrapper-characters -> org.hibernate.type.Charact erArrayTyp e@36166540
2020-02-16 06:54:26.790 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.Charact erArrayTyp e@36166540
2020-02-16 06:54:26.790 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration Character[] -> org.hibernate.type.Charact erArrayTyp e@36166540
2020-02-16 06:54:26.791 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration text -> org.hibernate.type.TextTyp e@729907e8
2020-02-16 06:54:26.792 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration ntext -> org.hibernate.type.NTextTy pe@6204838
2020-02-16 06:54:26.794 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration blob -> org.hibernate.type.BlobTyp e@42bf6094
2020-02-16 06:54:26.794 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.sql.Blob -> org.hibernate.type.BlobTyp e@42bf6094
2020-02-16 06:54:26.795 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration materialized_blob -> org.hibernate.type.Materia lizedBlobT ype@19fd6f 90
2020-02-16 06:54:26.816 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration clob -> org.hibernate.type.ClobTyp e@d56ade8
2020-02-16 06:54:26.816 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.sql.Clob -> org.hibernate.type.ClobTyp e@d56ade8
2020-02-16 06:54:26.818 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration nclob -> org.hibernate.type.NClobTy pe@542f795 7
2020-02-16 06:54:26.818 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.sql.NClob -> org.hibernate.type.NClobTy pe@542f795 7
2020-02-16 06:54:26.819 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration materialized_clob -> org.hibernate.type.Materia lizedClobT ype@674081 0b
2020-02-16 06:54:26.819 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration materialized_nclob -> org.hibernate.type.Materia lizedNClob Type@3dc61 923
2020-02-16 06:54:26.821 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration serializable -> org.hibernate.type.Seriali zableType@ d72f16c
2020-02-16 06:54:26.823 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration object -> org.hibernate.type.ObjectT ype@688525 23
2020-02-16 06:54:26.823 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration java.lang.Object -> org.hibernate.type.ObjectT ype@688525 23
2020-02-16 06:54:26.824 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration imm_date -> org.hibernate.type.Adapted ImmutableT ype@18fa04 03
2020-02-16 06:54:26.824 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration imm_time -> org.hibernate.type.Adapted ImmutableT ype@67ce21 e6
2020-02-16 06:54:26.824 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration imm_timestamp -> org.hibernate.type.Adapted ImmutableT ype@ed4dfb 3
2020-02-16 06:54:26.824 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration imm_dbtimestamp -> org.hibernate.type.Adapted ImmutableT ype@6b57ce b0
2020-02-16 06:54:26.824 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration imm_calendar -> org.hibernate.type.Adapted ImmutableT ype@234505 c5
2020-02-16 06:54:26.824 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration imm_calendar_date -> org.hibernate.type.Adapted ImmutableT ype@3512c1 5a
2020-02-16 06:54:26.824 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration imm_binary -> org.hibernate.type.Adapted ImmutableT ype@1d93a9 0c
2020-02-16 06:54:26.824 DEBUG 4100 --- [     task-1] org.hibernate.type.BasicTypeRegistry   : Adding type registration imm_serializable -> org.hibernate.type.Adapted ImmutableT ype@4864d6 40
2020-02-16 06:54:26.986  INFO 4100 --- [     task-1] org.hibernate.dialect.Dialect       : HHH000400: Using dialect: org.hibernate.dialect.H2Di alect
2020-02-16 06:54:27.013  INFO 4100 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer    : LiveReload server is running on port 35729
2020-02-16 06:54:27.026  INFO 4100 --- [  restartedMain] DeferredRepositoryInitializationList ener : Triggering deferred initialization of Spring Data repositories…
2020-02-16 06:54:27.026 Â INFO 4100 --- [ Â restartedMain] DeferredRepositoryInitializationList ener : Spring Data repositories initialized!
2020-02-16 06:54:27.120 DEBUG 4100 --- [     task-1] o.h.type.spi.TypeConfiguration$Scope   : Scoping TypeConfiguration [org.hibernate.type.spi.Ty peConfigur ation@6d00 7263] to MetadataBuildingContext [org.hibernate.boot.intern al.Metadat aBuildingC ontextRoot Impl@447e0 dfb]
2020-02-16 06:54:27.121  INFO 4100 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebSer ver  : Tomcat started on port(s): 8080 (http) with context path ''
2020-02-16 06:54:27.133  INFO 4100 --- [  restartedMain] com.jpa.hibernate.app.AppApplication   : Started AppApplication in 3.805 seconds (JVM running for 4.427)
2020-02-16 06:54:27.261 Â INFO 4100 --- [ Â restartedMain] ConditionEvaluationReportLoggingList ener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-02-16 06:54:27.289 ERROR 4100 --- [  restartedMain] o.s.boot.SpringApplication       : Application run failed
java.lang.IllegalStateException: Failed to execute CommandLineRunner
      at org.springframework.boot.SpringAppli cation.cal lRunner(Sp ringApplic ation.java :798) ~[spring-boot-2.3.0.BUILD- SNAPSHOT.j ar:2.3.0.B UILD-SNAPS HOT]
      at org.springframework.boot.SpringAppli cation.cal lRunners(S pringAppli cation.jav a:779) ~[spring-boot-2.3.0.BUILD- SNAPSHOT.j ar:2.3.0.B UILD-SNAPS HOT]
      at org.springframework.boot.SpringAppli cation.run (SpringApp lication.j ava:322) ~[spring-boot-2.3.0.BUILD- SNAPSHOT.j ar:2.3.0.B UILD-SNAPS HOT]
      at org.springframework.boot.SpringAppli cation.run (SpringApp lication.j ava:1237) ~[spring-boot-2.3.0.BUILD- SNAPSHOT.j ar:2.3.0.B UILD-SNAPS HOT]
      at org.springframework.boot.SpringAppli cation.run (SpringApp lication.j ava:1226) ~[spring-boot-2.3.0.BUILD- SNAPSHOT.j ar:2.3.0.B UILD-SNAPS HOT]
      at com.jpa.hibernate.app.AppApplication .main(AppA pplication .java:28) ~[classes/:na]
      at java.base/jdk.internal.reflect.Nativ eMethodAcc essorImpl. invoke0(Na tive Method) ~[na:na]
      at java.base/jdk.internal.reflect.Nativ eMethodAcc essorImpl. invoke(Nat iveMethodA ccessorImp l.java:62) ~[na:na]
      at java.base/jdk.internal.reflect.Deleg atingMetho dAccessorI mpl.invoke (Delegatin gMethodAcc essorImpl. java:43) ~[na:na]
      at java.base/java.lang.reflect.Method.i nvoke(Meth od.java:56 6) ~[na:na]
      at org.springframework.boot.devtools.re start.Rest artLaunche r.run(Rest artLaunche r.java:49) ~[spring-boot-devtools-2.3 .0.BUILD-S NAPSHOT.ja r:2.3.0.BU ILD-SNAPSH OT]
Caused by: org.springframework.transaction.Cann otCreateTr ansactionE xception: Could not open JPA EntityManager for transaction; nested exception is org.hibernate.AnnotationEx ception: mappedBy reference an unknown target entity property: com.jpa.hibernate.app.Enti ty.Review. Review in com.jpa.hibernate.app.Enti ty.Course. Review
      at org.springframework.orm.jpa.JpaTrans actionMana ger.doBegi n(JpaTrans actionMana ger.java:4 48) ~[spring-orm-5.2.3.RELEASE .jar:5.2.3 .RELEASE]
      at org.springframework.transaction.supp ort.Abstra ctPlatform Transactio nManager.g etTransact ion(Abstra ctPlatform Transactio nManager.j ava:376) ~[spring-tx-5.2.3.RELEASE. jar:5.2.3. RELEASE]
      at org.springframework.transaction.inte rceptor.Tr ansactionA spectSuppo rt.createT ransaction IfNecessar y(Transact ionAspectS upport.jav a:572) ~[spring-tx-5.2.3.RELEASE. jar:5.2.3. RELEASE]
      at org.springframework.transaction.inte rceptor.Tr ansactionA spectSuppo rt.invokeW ithinTrans action(Tra nsactionAs pectSuppor t.java:360 ) ~[spring-tx-5.2.3.RELEASE. jar:5.2.3. RELEASE]
      at org.springframework.transaction.inte rceptor.Tr ansactionI nterceptor .invoke(Tr ansactionI nterceptor .java:99) ~[spring-tx-5.2.3.RELEASE. jar:5.2.3. RELEASE]
      at org.springframework.aop.framework.Re flectiveMe thodInvoca tion.proce ed(Reflect iveMethodI nvocation. java:186) ~[spring-aop-5.2.3.RELEASE .jar:5.2.3 .RELEASE]
      at org.springframework.aop.framework.Cg libAopProx y$CglibMet hodInvocat ion.procee d(CglibAop Proxy.java :747) ~[spring-aop-5.2.3.RELEASE .jar:5.2.3 .RELEASE]
      at org.springframework.aop.framework.Cg libAopProx y$DynamicA dvisedInte rceptor.in tercept(Cg libAopProx y.java:689 ) ~[spring-aop-5.2.3.RELEASE .jar:5.2.3 .RELEASE]
      at com.jpa.hibernate.app.repository.Stu dentReposi tory$$Enha ncerBySpri ngCGLIB$$9 e820f75.sa veStudentW ithPasspor t(<generat ed>) ~[classes/:na]
      at com.jpa.hibernate.app.AppApplication .run(AppAp plication. java:41) ~[classes/:na]
      at org.springframework.boot.SpringAppli cation.cal lRunner(Sp ringApplic ation.java :795) ~[spring-boot-2.3.0.BUILD- SNAPSHOT.j ar:2.3.0.B UILD-SNAPS HOT]
      ... 10 common frames omitted
Caused by: org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: com.jpa.hibernate.app.Enti ty.Review. Review in com.jpa.hibernate.app.Enti ty.Course. Review
      at org.hibernate.cfg.annotations.Collec tionBinder .bindStarT oManySecon dPass(Coll ectionBind er.java:84 4) ~[hibernate-core-5.4.10.Fi nal.jar:5. 4.10.Final ]
      at org.hibernate.cfg.annotations.Collec tionBinder $1.secondP ass(Collec tionBinder .java:795) ~[hibernate-core-5.4.10.Fi nal.jar:5. 4.10.Final ]
      at org.hibernate.cfg.CollectionSecondPa ss.doSecon dPass(Coll ectionSeco ndPass.jav a:53) ~[hibernate-core-5.4.10.Fi nal.jar:5. 4.10.Final ]
      at org.hibernate.boot.internal.InFlight MetadataCo llectorImp l.processS econdPasse s(InFlight MetadataCo llectorImp l.java:168 4) ~[hibernate-core-5.4.10.Fi nal.jar:5. 4.10.Final ]
      at org.hibernate.boot.internal.InFlight MetadataCo llectorImp l.processS econdPasse s(InFlight MetadataCo llectorImp l.java:165 2) ~[hibernate-core-5.4.10.Fi nal.jar:5. 4.10.Final ]
      at org.hibernate.boot.model.process.spi .MetadataB uildingPro cess.compl ete(Metada taBuilding Process.ja va:286) ~[hibernate-core-5.4.10.Fi nal.jar:5. 4.10.Final ]
      at org.hibernate.jpa.boot.internal.Enti tyManagerF actoryBuil derImpl.me tadata(Ent ityManager FactoryBui lderImpl.j ava:1202) ~[hibernate-core-5.4.10.Fi nal.jar:5. 4.10.Final ]
      at org.hibernate.jpa.boot.internal.Enti tyManagerF actoryBuil derImpl.bu ild(Entity ManagerFac toryBuilde rImpl.java :1233) ~[hibernate-core-5.4.10.Fi nal.jar:5. 4.10.Final ]
      at org.springframework.orm.jpa.vendor.S pringHiber nateJpaPer sistencePr ovider.cre ateContain erEntityMa nagerFacto ry(SpringH ibernateJp aPersisten ceProvider .java:58) ~[spring-orm-5.2.3.RELEASE .jar:5.2.3 .RELEASE]
      at org.springframework.orm.jpa.LocalCon tainerEnti tyManagerF actoryBean .createNat iveEntityM anagerFact ory(LocalC ontainerEn tityManage rFactoryBe an.java:36 5) ~[spring-orm-5.2.3.RELEASE .jar:5.2.3 .RELEASE]
      at org.springframework.orm.jpa.Abstract EntityMana gerFactory Bean.build NativeEnti tyManagerF actory(Abs tractEntit yManagerFa ctoryBean. java:391) ~[spring-orm-5.2.3.RELEASE .jar:5.2.3 .RELEASE]
      at java.base/java.util.concurrent.Futur eTask.run( FutureTask .java:264) ~[na:na]
      at java.base/java.util.concurrent.Threa dPoolExecu tor.runWor ker(Thread PoolExecut or.java:11 28) ~[na:na]
      at java.base/java.util.concurrent.Threa dPoolExecu tor$Worker .run(Threa dPoolExecu tor.java:6 28) ~[na:na]
      at java.base/java.lang.Thread.run(Threa d.java:834 ) ~[na:na]
2020-02-16 06:54:27.307 Â INFO 4100 --- [ Â restartedMain] j.LocalContainerEntityManagerFactory Bean : Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-16 06:54:27.307  WARN 4100 --- [  restartedMain] o.s.b.f.support.DisposableBeanAdapte r   : Invocation of destroy method failed on bean with name 'entityManagerFactory': org.hibernate.AnnotationEx ception: mappedBy reference an unknown target entity property: com.jpa.hibernate.app.Enti ty.Review. Review in com.jpa.hibernate.app.Enti ty.Course. Review
2020-02-16 06:54:27.307  INFO 4100 --- [  restartedMain] o.s.s.concurrent.ThreadPoolTaskExecu tor  : Shutting down ExecutorService 'applicationTaskExecutor'
2020-02-16 06:54:27.524  WARN 4100 --- [  restartedMain] o.s.b.f.support.DisposableBeanAdapte r   : Invocation of destroy method failed on bean with name 'inMemoryDatabaseShutdownE xecutor': org.h2.jdbc.JdbcSQLNonTran sientConne ctionExcep tion: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-200]
2020-02-16 06:54:27.524  INFO 4100 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource    : HikariPool-1 - Shutdown initiated...
2020-02-16 06:54:27.528  INFO 4100 --- [  restartedMain] com.zaxxer.hikari.HikariDataSource    : HikariPool-1 - Shutdown completed.
package com.jpa.hibernate.app.Entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
@Entity
public class Review {
@Id
@GeneratedValue
private Long id;
private String rating;
private String description;
@ManyToOne
private Course course;
public Review(Long id, String rating, String description) {
super();
this.id = id;
this.rating = rating;
this.description = description;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getRating() {
return rating;
}
public void setRating(String rating) {
this.rating = rating;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public String toString() {
return "Review [id=" + id + ", rating=" + rating + ", description=" + description + ", getId()=" + getId()
+ ", getRating()=" + getRating() + ", getDescription()=" + getDescription() + ", getClass()="
+ getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString() + "]";
}
}
==
package com.jpa.hibernate.app.Entity;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
@Entity
//@Table(name = "COURSE_DETAILS")
@NamedQueries(value = {@NamedQuery(name = "query_get_all_course",query = "select c from Course c"),
@NamedQuery(name = "query_get_100_steps_course",query = "select c from Course c where name like '%100'")
})
//@NamedQuery(name="query_get_all_course", query = "select c from Course c")
public class Course {
@Id
@GeneratedValue
private Long id;
@Column(name="fullname",nullable=false)
private String name;
@UpdateTimestamp
private LocalDateTime lastUpdateddate;
@CreationTimestamp
private LocalDateTime createdDate;
@ManyToMany(mappedBy="Course")
private List<Student> students = new ArrayList<>();
@OneToMany(mappedBy="Review")
private List<Review> Review = new ArrayList<>();
protected Course() {}
public Course(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Long getId() {
return id;
}
public void removeReview(Review review) {
this.Review.remove(review);
}
public void addStudent(Student student) {
this.students.add(student);
}
@Override
public String toString() {
return "Course [name=" + name + "]";
}
}
==
com.jpa.hibernate.app.Enti
com.jpa.hibernate.app.Enti
classes?