인프런 커뮤니티 질문&답변

이운형님의 프로필 이미지
이운형

작성한 질문수

자바 ORM 표준 JPA 프로그래밍 - 기본편

실전 예제 1 - 요구사항 분석과 기본 매핑

NoSuchMethodError 에러 질문입니다!

작성

·

928

0

C:\Users\wh361\.jdks\openjdk-17.0.1\bin\java.exe "-javaagent:D:\IntelliJ IDEA 2021.3.1\lib\idea_rt.jar=61950:D:\IntelliJ IDEA 2021.3.1\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\wh361\IdeaProjects\study\jpashop\target\classes;C:\Users\wh361\.m2\repository\org\springframework\boot\spring-boot-starter\2.6.2\spring-boot-starter-2.6.2.jar;C:\Users\wh361\.m2\repository\org\springframework\boot\spring-boot\2.6.2\spring-boot-2.6.2.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-context\5.3.14\spring-context-5.3.14.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-aop\5.3.14\spring-aop-5.3.14.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-beans\5.3.14\spring-beans-5.3.14.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-expression\5.3.14\spring-expression-5.3.14.jar;C:\Users\wh361\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.6.2\spring-boot-autoconfigure-2.6.2.jar;C:\Users\wh361\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.6.2\spring-boot-starter-logging-2.6.2.jar;C:\Users\wh361\.m2\repository\ch\qos\logback\logback-classic\1.2.9\logback-classic-1.2.9.jar;C:\Users\wh361\.m2\repository\ch\qos\logback\logback-core\1.2.9\logback-core-1.2.9.jar;C:\Users\wh361\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.0\log4j-to-slf4j-2.17.0.jar;C:\Users\wh361\.m2\repository\org\apache\logging\log4j\log4j-api\2.17.0\log4j-api-2.17.0.jar;C:\Users\wh361\.m2\repository\org\slf4j\jul-to-slf4j\1.7.32\jul-to-slf4j-1.7.32.jar;C:\Users\wh361\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-core\5.3.14\spring-core-5.3.14.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-jcl\5.3.14\spring-jcl-5.3.14.jar;C:\Users\wh361\.m2\repository\org\yaml\snakeyaml\1.29\snakeyaml-1.29.jar;C:\Users\wh361\.m2\repository\org\hibernate\hibernate-entitymanager\5.3.10.Final\hibernate-entitymanager-5.3.10.Final.jar;C:\Users\wh361\.m2\repository\org\jboss\logging\jboss-logging\3.4.2.Final\jboss-logging-3.4.2.Final.jar;C:\Users\wh361\.m2\repository\org\hibernate\hibernate-core\5.6.3.Final\hibernate-core-5.6.3.Final.jar;C:\Users\wh361\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\wh361\.m2\repository\org\jboss\jandex\2.2.3.Final\jandex-2.2.3.Final.jar;C:\Users\wh361\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\wh361\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\wh361\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\wh361\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.5\jaxb-runtime-2.3.5.jar;C:\Users\wh361\.m2\repository\org\glassfish\jaxb\txw2\2.3.5\txw2-2.3.5.jar;C:\Users\wh361\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;C:\Users\wh361\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\wh361\.m2\repository\org\dom4j\dom4j\2.1.1\dom4j-2.1.1.jar;C:\Users\wh361\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.0.4.Final\hibernate-commons-annotations-5.0.4.Final.jar;C:\Users\wh361\.m2\repository\javax\persistence\javax.persistence-api\2.2\javax.persistence-api-2.2.jar;C:\Users\wh361\.m2\repository\net\bytebuddy\byte-buddy\1.11.22\byte-buddy-1.11.22.jar;C:\Users\wh361\.m2\repository\org\jboss\spec\javax\transaction\jboss-transaction-api_1.2_spec\1.1.1.Final\jboss-transaction-api_1.2_spec-1.1.1.Final.jar;C:\Users\wh361\.m2\repository\com\h2database\h2\2.0.204\h2-2.0.204.jar;C:\Users\wh361\.m2\repository\org\slf4j\slf4j-api\1.7.32\slf4j-api-1.7.32.jar;C:\Users\wh361\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\wh361\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\wh361\.m2\repository\org\projectlombok\lombok\1.18.22\lombok-1.18.22.jar jpabook.jpashop.JpaMain

19:24:08.161 [main] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Log4j2LoggerProvider

19:24:08.333 [main] DEBUG org.hibernate.jpa.HibernatePersistenceProvider - Located and parsed 1 persistence units; checking each

19:24:08.333 [main] DEBUG org.hibernate.jpa.HibernatePersistenceProvider - Checking persistence-unit [name=hello, explicit-provider=null] against incoming persistence unit name [hello]

19:24:08.335 [main] DEBUG org.hibernate.jpa.boot.spi.ProviderChecker - No PersistenceProvider explicitly requested, assuming Hibernate

19:24:08.342 [main] DEBUG org.hibernate.jpa.internal.util.LogHelper - PersistenceUnitInfo [

name: hello

persistence provider classname: null

classloader: null

excludeUnlistedClasses: false

JTA datasource: null

Non JTA datasource: null

Transaction type: RESOURCE_LOCAL

PU root URL: file:/C:/Users/wh361/IdeaProjects/study/jpashop/target/classes/

Shared Cache Mode: null

Validation Mode: null

Jar files URLs []

Managed classes names []

Mapping files names []

Properties [

javax.persistence.jdbc.driver: org.h2.Driver

javax.persistence.jdbc.password: 

hibernate.dialect: org.hibernate.dialect.H2Dialect

javax.persistence.jdbc.url: jdbc:h2:tcp://localhost/~/test

hibernate.show_sql: true

hibernate.format_sql: true

javax.persistence.jdbc.user: sa

hibernate.use_sql_comments: true]

19:24:08.347 [main] DEBUG org.hibernate.integrator.internal.IntegratorServiceImpl - Adding Integrator [org.hibernate.cfg.beanvalidation.BeanValidationIntegrator].

19:24:08.350 [main] DEBUG org.hibernate.integrator.internal.IntegratorServiceImpl - Adding Integrator [org.hibernate.secure.spi.JaccIntegrator].

19:24:08.356 [main] DEBUG org.hibernate.integrator.internal.IntegratorServiceImpl - Adding Integrator [org.hibernate.cache.internal.CollectionCacheInvalidator].

19:24:08.427 [main] INFO org.hibernate.Version - HHH000412: Hibernate ORM core version 5.6.3.Final

19:24:08.429 [main] DEBUG org.hibernate.cfg.Environment - HHH000206: hibernate.properties not found

19:24:08.649 [main] DEBUG org.hibernate.service.spi.ServiceBinding - Overriding existing service binding [org.hibernate.secure.spi.JaccService]

19:24:08.669 [main] DEBUG org.hibernate.cache.internal.RegionFactoryInitiator - Cannot default RegionFactory based on registered strategies as `[]` RegionFactory strategies were registered

19:24:08.671 [main] DEBUG org.hibernate.cache.internal.RegionFactoryInitiator - Cache region factory : org.hibernate.cache.internal.NoCachingRegionFactory

19:24:08.700 [main] INFO org.hibernate.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.0.4.Final}

19:24:08.791 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration boolean -> org.hibernate.type.BooleanType@5f0fd5a0

19:24:08.791 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration boolean -> org.hibernate.type.BooleanType@5f0fd5a0

19:24:08.791 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@5f0fd5a0

19:24:08.792 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@6ea2bc93

19:24:08.793 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration true_false -> org.hibernate.type.TrueFalseType@352ff4da

19:24:08.793 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration yes_no -> org.hibernate.type.YesNoType@3e44f2a5

19:24:08.794 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration byte -> org.hibernate.type.ByteType@651aed93

19:24:08.794 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration byte -> org.hibernate.type.ByteType@651aed93

19:24:08.794 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@651aed93

19:24:08.796 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration character -> org.hibernate.type.CharacterType@39d76cb5

19:24:08.796 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration char -> org.hibernate.type.CharacterType@39d76cb5

19:24:08.796 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@39d76cb5

19:24:08.797 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration short -> org.hibernate.type.ShortType@4d518b32

19:24:08.798 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration short -> org.hibernate.type.ShortType@4d518b32

19:24:08.798 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.Short -> org.hibernate.type.ShortType@4d518b32

19:24:08.799 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration integer -> org.hibernate.type.IntegerType@11d8ae8b

19:24:08.799 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration int -> org.hibernate.type.IntegerType@11d8ae8b

19:24:08.799 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@11d8ae8b

19:24:08.800 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration long -> org.hibernate.type.LongType@2fba3fc4

19:24:08.800 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration long -> org.hibernate.type.LongType@2fba3fc4

19:24:08.800 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.Long -> org.hibernate.type.LongType@2fba3fc4

19:24:08.801 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration float -> org.hibernate.type.FloatType@5d99c6b5

19:24:08.802 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration float -> org.hibernate.type.FloatType@5d99c6b5

19:24:08.802 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.Float -> org.hibernate.type.FloatType@5d99c6b5

19:24:08.803 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration double -> org.hibernate.type.DoubleType@51c693d

19:24:08.803 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration double -> org.hibernate.type.DoubleType@51c693d

19:24:08.803 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@51c693d

19:24:08.804 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@48c76607

19:24:08.804 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@48c76607

19:24:08.805 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration big_integer -> org.hibernate.type.BigIntegerType@55c53a33

19:24:08.805 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@55c53a33

19:24:08.807 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration string -> org.hibernate.type.StringType@f14a7d4

19:24:08.807 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.String -> org.hibernate.type.StringType@f14a7d4

19:24:08.807 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration nstring -> org.hibernate.type.StringNVarcharType@2d9caaeb

19:24:08.808 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@6f6745d6

19:24:08.809 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration url -> org.hibernate.type.UrlType@379614be

19:24:08.810 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.net.URL -> org.hibernate.type.UrlType@379614be

19:24:08.811 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration Duration -> org.hibernate.type.DurationType@6e01f9b0

19:24:08.811 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.time.Duration -> org.hibernate.type.DurationType@6e01f9b0

19:24:08.815 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration Instant -> org.hibernate.type.InstantType@57c03d88

19:24:08.816 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.time.Instant -> org.hibernate.type.InstantType@57c03d88

19:24:08.817 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@4f74980d

19:24:08.818 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@4f74980d

19:24:08.819 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration LocalDate -> org.hibernate.type.LocalDateType@68f1b17f

19:24:08.819 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@68f1b17f

19:24:08.821 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@275bf9b3

19:24:08.821 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@275bf9b3

19:24:08.822 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@46271dd6

19:24:08.822 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@46271dd6

19:24:08.824 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@6fa34d52

19:24:08.824 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@6fa34d52

19:24:08.826 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@6337c201

19:24:08.826 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@6337c201

19:24:08.828 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration date -> org.hibernate.type.DateType@2609b277

19:24:08.828 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.sql.Date -> org.hibernate.type.DateType@2609b277

19:24:08.829 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration time -> org.hibernate.type.TimeType@7d3d101b

19:24:08.830 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.sql.Time -> org.hibernate.type.TimeType@7d3d101b

19:24:08.832 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration timestamp -> org.hibernate.type.TimestampType@6304101a

19:24:08.832 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@6304101a

19:24:08.832 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.util.Date -> org.hibernate.type.TimestampType@6304101a

19:24:08.833 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@4e31276e

19:24:08.835 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration calendar -> org.hibernate.type.CalendarType@7674b62c

19:24:08.835 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@7674b62c

19:24:08.835 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@7674b62c

19:24:08.836 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@327af41b

19:24:08.837 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@7e19ebf0

19:24:08.838 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration locale -> org.hibernate.type.LocaleType@4eaf3684

19:24:08.839 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@4eaf3684

19:24:08.840 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration currency -> org.hibernate.type.CurrencyType@5b7a8434

19:24:08.841 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@5b7a8434

19:24:08.842 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration timezone -> org.hibernate.type.TimeZoneType@1672fe87

19:24:08.842 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@1672fe87

19:24:08.843 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration class -> org.hibernate.type.ClassType@4416d64f

19:24:08.843 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.Class -> org.hibernate.type.ClassType@4416d64f

19:24:08.844 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@418c5a9c

19:24:08.844 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@418c5a9c

19:24:08.845 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@302f7971

19:24:08.847 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration binary -> org.hibernate.type.BinaryType@53251a66

19:24:08.847 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration byte[] -> org.hibernate.type.BinaryType@53251a66

19:24:08.847 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration [B -> org.hibernate.type.BinaryType@53251a66

19:24:08.848 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@48d61b48

19:24:08.848 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@48d61b48

19:24:08.849 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@48d61b48

19:24:08.850 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration row_version -> org.hibernate.type.RowVersionType@409c54f

19:24:08.851 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration image -> org.hibernate.type.ImageType@71e693fa

19:24:08.852 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration characters -> org.hibernate.type.CharArrayType@41005828

19:24:08.852 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration char[] -> org.hibernate.type.CharArrayType@41005828

19:24:08.852 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration [C -> org.hibernate.type.CharArrayType@41005828

19:24:08.853 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@20435c40

19:24:08.853 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@20435c40

19:24:08.854 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@20435c40

19:24:08.854 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration text -> org.hibernate.type.TextType@571c5681

19:24:08.855 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration ntext -> org.hibernate.type.NTextType@d278d2b

19:24:08.864 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration blob -> org.hibernate.type.BlobType@3561c410

19:24:08.864 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@3561c410

19:24:08.865 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@609db546

19:24:08.867 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration clob -> org.hibernate.type.ClobType@119cbf96

19:24:08.867 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@119cbf96

19:24:08.869 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration nclob -> org.hibernate.type.NClobType@14bee915

19:24:08.869 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@14bee915

19:24:08.869 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@3af0a9da

19:24:08.870 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@37e4d7bb

19:24:08.872 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration serializable -> org.hibernate.type.SerializableType@6c2ed0cd

19:24:08.876 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration object -> org.hibernate.type.ObjectType@457c9034

19:24:08.877 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@457c9034

19:24:08.877 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@1e8b7643

19:24:08.877 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@51549490

19:24:08.878 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@71e9ebae

19:24:08.878 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@73d983ea

19:24:08.878 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@36a5cabc

19:24:08.878 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@432038ec

19:24:08.878 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@7daa0fbd

19:24:08.878 [main] DEBUG org.hibernate.type.BasicTypeRegistry - Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@42530531

19:24:08.893 [main] DEBUG org.hibernate.boot.internal.BootstrapContextImpl - Injecting ScanEnvironment [org.hibernate.jpa.boot.internal.StandardJpaScanEnvironmentImpl@2796aeae] into BootstrapContext; was [null]

19:24:08.894 [main] DEBUG org.hibernate.boot.internal.BootstrapContextImpl - Injecting ScanOptions [org.hibernate.boot.archive.scan.internal.StandardScanOptions@b4711e2] into BootstrapContext; was [org.hibernate.boot.archive.scan.internal.StandardScanOptions@1fa1cab1]

19:24:08.951 [main] DEBUG org.hibernate.boot.internal.BootstrapContextImpl - Injecting JPA temp ClassLoader [null] into BootstrapContext; was [null]

19:24:08.952 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - ClassLoaderAccessImpl#injectTempClassLoader(null) [was null]

19:24:08.966 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [uuid2] -> [org.hibernate.id.UUIDGenerator]

19:24:08.967 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [guid] -> [org.hibernate.id.GUIDGenerator]

19:24:08.968 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [uuid] -> [org.hibernate.id.UUIDHexGenerator]

19:24:08.968 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [uuid.hex] -> [org.hibernate.id.UUIDHexGenerator]

19:24:08.968 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [assigned] -> [org.hibernate.id.Assigned]

19:24:08.970 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [identity] -> [org.hibernate.id.IdentityGenerator]

19:24:08.970 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [select] -> [org.hibernate.id.SelectGenerator]

19:24:08.972 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [sequence] -> [org.hibernate.id.enhanced.SequenceStyleGenerator]

19:24:08.973 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [seqhilo] -> [org.hibernate.id.SequenceHiLoGenerator]

19:24:08.974 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [increment] -> [org.hibernate.id.IncrementGenerator]

19:24:08.974 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [foreign] -> [org.hibernate.id.ForeignGenerator]

19:24:08.974 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [sequence-identity] -> [org.hibernate.id.SequenceIdentityGenerator]

19:24:08.975 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [enhanced-sequence] -> [org.hibernate.id.enhanced.SequenceStyleGenerator]

19:24:08.975 [main] DEBUG org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory - Registering IdentifierGenerator strategy [enhanced-table] -> [org.hibernate.id.enhanced.TableGenerator]

19:24:08.980 [main] WARN org.hibernate.orm.connections.pooling - HHH10001002: Using Hibernate built-in connection pool (not for production use!)

19:24:08.983 [main] INFO org.hibernate.orm.connections.pooling - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:tcp://localhost/~/test]

19:24:08.983 [main] INFO org.hibernate.orm.connections.pooling - HHH10001001: Connection properties: {password=, user=sa}

19:24:08.983 [main] INFO org.hibernate.orm.connections.pooling - HHH10001003: Autocommit mode: false

19:24:08.986 [main] DEBUG org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl - Initializing Connection pool with 1 Connections

19:24:08.986 [main] INFO org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl - HHH000115: Hibernate connection pool size: 20 (min=1)

19:24:09.084 [main] DEBUG org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator - Database ->

       name : H2

    version : 2.0.204 (2021-12-21)

      major : 2

      minor : 0

19:24:09.084 [main] DEBUG org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator - Driver ->

       name : H2 JDBC Driver

    version : 2.0.204 (2021-12-21)

      major : 2

      minor : 0

19:24:09.085 [main] DEBUG org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator - JDBC version : 4.2

19:24:09.096 [main] INFO org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect

19:24:09.116 [main] DEBUG org.hibernate.engine.jdbc.env.spi.IdentifierHelperBuilder - JDBC driver metadata reported database stores quoted identifiers in neither upper, lower nor mixed case

19:24:09.136 [main] DEBUG org.hibernate.type.spi.TypeConfiguration$Scope - Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@4bff1903] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@62dae540]

19:24:09.174 [main] DEBUG org.hibernate.boot.model.relational.Namespace - Created database namespace [logicalName=Name{catalog=null, schema=null}, physicalName=Name{catalog=null, schema=null}]

19:24:09.188 [main] DEBUG org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: jpabook.jpashop.domain.OrderItem

19:24:09.212 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3DiscriminatorColumn{logicalColumnName'DTYPE', discriminatorTypeName='string'}

19:24:09.218 [main] DEBUG org.hibernate.cfg.annotations.EntityBinder - Import with entity name OrderItem

19:24:09.222 [main] DEBUG org.hibernate.cfg.annotations.EntityBinder - Bind entity jpabook.jpashop.domain.OrderItem on table OrderItem

19:24:09.240 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(OrderItem), mappingColumn=order_item_id, insertable=true, updatable=true, unique=false}

19:24:09.243 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - Not known whether passed class name [jpabook.jpashop.domain.OrderItem] is safe

19:24:09.243 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - No temp ClassLoader provided; using live ClassLoader for loading potentially unsafe class : jpabook.jpashop.domain.OrderItem

19:24:09.244 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property id with lazy=false

19:24:09.246 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.OrderItem:id]

19:24:09.248 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for id

19:24:09.250 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property id

19:24:09.254 [main] DEBUG org.hibernate.cfg.BinderHelper - #makeIdGenerator(org.hibernate.mapping.SimpleValue([org.hibernate.mapping.Column(order_item_id)]), id, org.hibernate.id.enhanced.SequenceStyleGenerator, , ...)

19:24:09.254 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(OrderItem), mappingColumn=item_id, insertable=true, updatable=true, unique=false}

19:24:09.254 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property itemId with lazy=false

19:24:09.254 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.OrderItem:itemId]

19:24:09.254 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for itemId

19:24:09.254 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property itemId

19:24:09.255 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(OrderItem), mappingColumn=order_id, insertable=true, updatable=true, unique=false}

19:24:09.255 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property orderId with lazy=false

19:24:09.255 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.OrderItem:orderId]

19:24:09.255 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for orderId

19:24:09.255 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property orderId

19:24:09.260 [main] DEBUG org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: jpabook.jpashop.domain.Member

19:24:09.260 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3DiscriminatorColumn{logicalColumnName'DTYPE', discriminatorTypeName='string'}

19:24:09.260 [main] DEBUG org.hibernate.cfg.annotations.EntityBinder - Import with entity name Member

19:24:09.261 [main] DEBUG org.hibernate.cfg.annotations.EntityBinder - Bind entity jpabook.jpashop.domain.Member on table Member

19:24:09.261 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(Member), mappingColumn=member_id, insertable=true, updatable=true, unique=false}

19:24:09.261 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - Not known whether passed class name [jpabook.jpashop.domain.Member] is safe

19:24:09.262 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - No temp ClassLoader provided; using live ClassLoader for loading potentially unsafe class : jpabook.jpashop.domain.Member

19:24:09.262 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property id with lazy=false

19:24:09.262 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Member:id]

19:24:09.262 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for id

19:24:09.262 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property id

19:24:09.262 [main] DEBUG org.hibernate.cfg.BinderHelper - #makeIdGenerator(org.hibernate.mapping.SimpleValue([org.hibernate.mapping.Column(member_id)]), id, org.hibernate.id.enhanced.SequenceStyleGenerator, , ...)

19:24:09.265 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(Member), mappingColumn=city, insertable=true, updatable=true, unique=false}

19:24:09.265 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property city with lazy=false

19:24:09.265 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Member:city]

19:24:09.265 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for city

19:24:09.265 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property city

19:24:09.266 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(Member), mappingColumn=name, insertable=true, updatable=true, unique=false}

19:24:09.266 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property name with lazy=false

19:24:09.266 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Member:name]

19:24:09.266 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for name

19:24:09.266 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property name

19:24:09.266 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(Member), mappingColumn=street, insertable=true, updatable=true, unique=false}

19:24:09.266 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property street with lazy=false

19:24:09.266 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Member:street]

19:24:09.266 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for street

19:24:09.266 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property street

19:24:09.267 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(Member), mappingColumn=zipcode, insertable=true, updatable=true, unique=false}

19:24:09.267 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property zipcode with lazy=false

19:24:09.267 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Member:zipcode]

19:24:09.267 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for zipcode

19:24:09.267 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property zipcode

19:24:09.267 [main] DEBUG org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: jpabook.jpashop.domain.Order

19:24:09.267 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3DiscriminatorColumn{logicalColumnName'DTYPE', discriminatorTypeName='string'}

19:24:09.268 [main] DEBUG org.hibernate.cfg.annotations.EntityBinder - Import with entity name Order

19:24:09.268 [main] DEBUG org.hibernate.cfg.annotations.EntityBinder - Bind entity jpabook.jpashop.domain.Order on table orders

19:24:09.271 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(orders), mappingColumn=order_id, insertable=true, updatable=true, unique=false}

19:24:09.271 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - Not known whether passed class name [jpabook.jpashop.domain.Order] is safe

19:24:09.271 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - No temp ClassLoader provided; using live ClassLoader for loading potentially unsafe class : jpabook.jpashop.domain.Order

19:24:09.271 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property id with lazy=false

19:24:09.271 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Order:id]

19:24:09.271 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for id

19:24:09.271 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property id

19:24:09.271 [main] DEBUG org.hibernate.cfg.BinderHelper - #makeIdGenerator(org.hibernate.mapping.SimpleValue([org.hibernate.mapping.Column(order_id)]), id, org.hibernate.id.enhanced.SequenceStyleGenerator, , ...)

19:24:09.271 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(orders), mappingColumn=member_id, insertable=true, updatable=true, unique=false}

19:24:09.271 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property memberId with lazy=false

19:24:09.271 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Order:memberId]

19:24:09.271 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for memberId

19:24:09.272 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property memberId

19:24:09.272 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(orders), mappingColumn=orderDate, insertable=true, updatable=true, unique=false}

19:24:09.272 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property orderDate with lazy=false

19:24:09.272 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Order:orderDate]

19:24:09.272 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for orderDate

19:24:09.272 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property orderDate

19:24:09.272 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(orders), mappingColumn=status, insertable=true, updatable=true, unique=false}

19:24:09.273 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property status with lazy=false

19:24:09.273 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Order:status]

19:24:09.274 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for status

19:24:09.275 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property status

19:24:09.275 [main] DEBUG org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: jpabook.jpashop.domain.Item

19:24:09.275 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3DiscriminatorColumn{logicalColumnName'DTYPE', discriminatorTypeName='string'}

19:24:09.275 [main] DEBUG org.hibernate.cfg.annotations.EntityBinder - Import with entity name Item

19:24:09.276 [main] DEBUG org.hibernate.cfg.annotations.EntityBinder - Bind entity jpabook.jpashop.domain.Item on table Item

19:24:09.276 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(Item), mappingColumn=item_id, insertable=true, updatable=true, unique=false}

19:24:09.276 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - Not known whether passed class name [jpabook.jpashop.domain.Item] is safe

19:24:09.276 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - No temp ClassLoader provided; using live ClassLoader for loading potentially unsafe class : jpabook.jpashop.domain.Item

19:24:09.276 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property id with lazy=false

19:24:09.276 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Item:id]

19:24:09.277 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for id

19:24:09.277 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property id

19:24:09.277 [main] DEBUG org.hibernate.cfg.BinderHelper - #makeIdGenerator(org.hibernate.mapping.SimpleValue([org.hibernate.mapping.Column(item_id)]), id, org.hibernate.id.enhanced.SequenceStyleGenerator, , ...)

19:24:09.277 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(Item), mappingColumn=StockQuantity, insertable=true, updatable=true, unique=false}

19:24:09.277 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property StockQuantity with lazy=false

19:24:09.277 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Item:StockQuantity]

19:24:09.277 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for StockQuantity

19:24:09.277 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property StockQuantity

19:24:09.277 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(Item), mappingColumn=name, insertable=true, updatable=true, unique=false}

19:24:09.277 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property name with lazy=false

19:24:09.277 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Item:name]

19:24:09.277 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for name

19:24:09.278 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property name

19:24:09.278 [main] DEBUG org.hibernate.cfg.Ejb3Column - Binding column: Ejb3Column{table=org.hibernate.mapping.Table(Item), mappingColumn=price, insertable=true, updatable=true, unique=false}

19:24:09.278 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - MetadataSourceProcessor property price with lazy=false

19:24:09.278 [main] DEBUG org.hibernate.cfg.AbstractPropertyHolder - Attempting to locate auto-apply AttributeConverter for property [jpabook.jpashop.domain.Item:price]

19:24:09.278 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - building SimpleValue for price

19:24:09.278 [main] DEBUG org.hibernate.cfg.annotations.PropertyBinder - Building property price

19:24:09.280 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for id

19:24:09.280 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for itemId

19:24:09.280 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for orderId

19:24:09.280 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for id

19:24:09.280 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for city

19:24:09.280 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for name

19:24:09.280 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for street

19:24:09.280 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for zipcode

19:24:09.281 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for id

19:24:09.281 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for memberId

19:24:09.281 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for orderDate

19:24:09.281 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for status

19:24:09.282 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for id

19:24:09.282 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for StockQuantity

19:24:09.282 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for name

19:24:09.282 [main] DEBUG org.hibernate.cfg.annotations.SimpleValueBinder - Starting fillSimpleValue for price

19:24:09.283 [main] DEBUG org.hibernate.mapping.PrimaryKey - Forcing column [order_item_id] to be non-null as it is part of the primary key for table [orderitem]

19:24:09.283 [main] DEBUG org.hibernate.mapping.PrimaryKey - Forcing column [member_id] to be non-null as it is part of the primary key for table [member]

19:24:09.283 [main] DEBUG org.hibernate.mapping.PrimaryKey - Forcing column [order_id] to be non-null as it is part of the primary key for table [orders]

19:24:09.283 [main] DEBUG org.hibernate.mapping.PrimaryKey - Forcing column [item_id] to be non-null as it is part of the primary key for table [item]

19:24:09.339 [main] DEBUG org.hibernate.internal.SessionFactoryImpl - Building session factory

19:24:09.340 [main] DEBUG org.hibernate.cfg.Settings - SessionFactory name : null

19:24:09.340 [main] DEBUG org.hibernate.cfg.Settings - Automatic flush during beforeCompletion(): enabled

19:24:09.340 [main] DEBUG org.hibernate.cfg.Settings - Automatic session close at end of transaction: disabled

19:24:09.340 [main] DEBUG org.hibernate.cfg.Settings - Statistics: disabled

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Deleted entity synthetic identifier rollback: disabled

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Default entity-mode: pojo

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Check Nullability in Core (should be disabled when Bean Validation is on): enabled

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Allow initialization of lazy state outside session : disabled

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Using BatchFetchStyle : LEGACY

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Default batch fetch size: -1

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Maximum outer join fetch depth: null

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Default null ordering: NONE

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Order SQL updates by primary key: disabled

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Order SQL inserts for batching: disabled

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - multi-tenancy strategy : NONE

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - JTA Track by Thread: enabled

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Query language substitutions: {}

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Named query checking : enabled

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Second-level cache: disabled

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Second-level query cache: disabled

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Second-level query cache factory: null

19:24:09.341 [main] DEBUG org.hibernate.cfg.Settings - Second-level cache region prefix: null

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - Optimize second-level cache for minimal puts: disabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - Structured second-level cache entries: disabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - Second-level cache direct-reference entries: disabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - Automatic eviction of collection cache: disabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - JDBC batch size: 15

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - JDBC batch updates for versioned data: enabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - Scrollable result sets: enabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - Wrap result sets: disabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - JDBC3 getGeneratedKeys(): enabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - JDBC result set fetch size: null

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - Connection release mode: AFTER_TRANSACTION

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - Generate SQL with comments: enabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - JPA compliance - query : disabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - JPA compliance - closed-handling : disabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - JPA compliance - lists : disabled

19:24:09.342 [main] DEBUG org.hibernate.cfg.Settings - JPA compliance - transactions : disabled

19:24:09.404 [main] DEBUG org.hibernate.service.internal.SessionFactoryServiceRegistryImpl - EventListenerRegistry access via ServiceRegistry is deprecated.  Use `sessionFactory.getEventEngine().getListenerRegistry()` instead

19:24:09.405 [main] DEBUG org.hibernate.service.internal.SessionFactoryServiceRegistryImpl - EventListenerRegistry access via ServiceRegistry is deprecated.  Use `sessionFactory.getEventEngine().getListenerRegistry()` instead

19:24:09.418 [main] DEBUG org.hibernate.internal.SessionFactoryImpl - Session factory constructed with filter configurations : {}

19:24:09.418 [main] DEBUG org.hibernate.internal.SessionFactoryImpl - Instantiating session factory with properties: {hibernate.format_sql=true, java.specification.version=17, sun.cpu.isalist=amd64, sun.jnu.encoding=MS949, hibernate.dialect=org.hibernate.dialect.H2Dialect, java.class.path=C:\Users\wh361\IdeaProjects\study\jpashop\target\classes;C:\Users\wh361\.m2\repository\org\springframework\boot\spring-boot-starter\2.6.2\spring-boot-starter-2.6.2.jar;C:\Users\wh361\.m2\repository\org\springframework\boot\spring-boot\2.6.2\spring-boot-2.6.2.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-context\5.3.14\spring-context-5.3.14.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-aop\5.3.14\spring-aop-5.3.14.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-beans\5.3.14\spring-beans-5.3.14.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-expression\5.3.14\spring-expression-5.3.14.jar;C:\Users\wh361\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.6.2\spring-boot-autoconfigure-2.6.2.jar;C:\Users\wh361\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.6.2\spring-boot-starter-logging-2.6.2.jar;C:\Users\wh361\.m2\repository\ch\qos\logback\logback-classic\1.2.9\logback-classic-1.2.9.jar;C:\Users\wh361\.m2\repository\ch\qos\logback\logback-core\1.2.9\logback-core-1.2.9.jar;C:\Users\wh361\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.0\log4j-to-slf4j-2.17.0.jar;C:\Users\wh361\.m2\repository\org\apache\logging\log4j\log4j-api\2.17.0\log4j-api-2.17.0.jar;C:\Users\wh361\.m2\repository\org\slf4j\jul-to-slf4j\1.7.32\jul-to-slf4j-1.7.32.jar;C:\Users\wh361\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-core\5.3.14\spring-core-5.3.14.jar;C:\Users\wh361\.m2\repository\org\springframework\spring-jcl\5.3.14\spring-jcl-5.3.14.jar;C:\Users\wh361\.m2\repository\org\yaml\snakeyaml\1.29\snakeyaml-1.29.jar;C:\Users\wh361\.m2\repository\org\hibernate\hibernate-entitymanager\5.3.10.Final\hibernate-entitymanager-5.3.10.Final.jar;C:\Users\wh361\.m2\repository\org\jboss\logging\jboss-logging\3.4.2.Final\jboss-logging-3.4.2.Final.jar;C:\Users\wh361\.m2\repository\org\hibernate\hibernate-core\5.6.3.Final\hibernate-core-5.6.3.Final.jar;C:\Users\wh361\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\wh361\.m2\repository\org\jboss\jandex\2.2.3.Final\jandex-2.2.3.Final.jar;C:\Users\wh361\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\wh361\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\wh361\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\wh361\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.5\jaxb-runtime-2.3.5.jar;C:\Users\wh361\.m2\repository\org\glassfish\jaxb\txw2\2.3.5\txw2-2.3.5.jar;C:\Users\wh361\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;C:\Users\wh361\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\wh361\.m2\repository\org\dom4j\dom4j\2.1.1\dom4j-2.1.1.jar;C:\Users\wh361\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.0.4.Final\hibernate-commons-annotations-5.0.4.Final.jar;C:\Users\wh361\.m2\repository\javax\persistence\javax.persistence-api\2.2\javax.persistence-api-2.2.jar;C:\Users\wh361\.m2\repository\net\bytebuddy\byte-buddy\1.11.22\byte-buddy-1.11.22.jar;C:\Users\wh361\.m2\repository\org\jboss\spec\javax\transaction\jboss-transaction-api_1.2_spec\1.1.1.Final\jboss-transaction-api_1.2_spec-1.1.1.Final.jar;C:\Users\wh361\.m2\repository\com\h2database\h2\2.0.204\h2-2.0.204.jar;C:\Users\wh361\.m2\repository\org\slf4j\slf4j-api\1.7.32\slf4j-api-1.7.32.jar;C:\Users\wh361\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\wh361\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\wh361\.m2\repository\org\projectlombok\lombok\1.18.22\lombok-1.18.22.jar, java.vm.vendor=Oracle Corporation, sun.arch.data.model=64, user.variant=, java.vendor.url=https://java.oracle.com/, user.timezone=Asia/Seoul, javax.persistence.jdbc.user=****, javax.persistence.jdbc.url=jdbc:h2:tcp://localhost/~/test, java.vm.specification.version=17, os.name=Windows 10, jakarta.persistence.jdbc.password=****, sun.java.launcher=SUN_STANDARD, user.country=KR, local.setting.IS_JTA_TXN_COORD=false, sun.boot.library.path=C:\Users\wh361\.jdks\openjdk-17.0.1\bin, sun.java.command=jpabook.jpashop.JpaMain, hibernate.use_sql_comments=true, jdk.debug=release, jakarta.persistence.jdbc.driver=org.h2.Driver, sun.cpu.endian=little, user.home=C:\Users\wh361, user.language=ko, java.specification.vendor=Oracle Corporation, java.version.date=2021-10-19, java.home=C:\Users\wh361\.jdks\openjdk-17.0.1, file.separator=\, java.vm.compressedOopsMode=Zero based, jakarta.persistence.jdbc.user=****, line.separator=

, hibernate.persistenceUnitName=hello, java.vm.specification.vendor=Oracle Corporation, java.specification.name=Java Platform API Specification, hibernate.transaction.coordinator_class=class org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorBuilderImpl, javax.persistence.jdbc.driver=org.h2.Driver, user.script=, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, java.runtime.version=17.0.1+12-39, user.name=wh361, path.separator=;, hibernate.connection.username=****, os.version=10.0, java.runtime.name=OpenJDK Runtime Environment, hibernate.connection.url=jdbc:h2:tcp://localhost/~/test, file.encoding=UTF-8, hibernate.ejb.persistenceUnitName=hello, java.vm.name=OpenJDK 64-Bit Server VM, hibernate.show_sql=true, hibernate.connection.driver_class=org.h2.Driver, java.vendor.url.bug=https://bugreport.java.com/bugreport/, java.io.tmpdir=C:\Users\wh361\AppData\Local\Temp\, java.version=17.0.1, user.dir=C:\Users\wh361\IdeaProjects\study\jpashop, os.arch=amd64, java.vm.specification.name=Java Virtual Machine Specification, hibernate.connection.password=****, sun.os.patch.level=, jakarta.persistence.jdbc.url=jdbc:h2:tcp://localhost/~/test, hibernate.boot.CfgXmlAccessService.key=org.hibernate.boot.registry.StandardServiceRegistryBuilder$1@c827db, native.encoding=MS949, java.library.path=C:\Users\wh361\.jdks\openjdk-17.0.1\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\MySQL\MySQL Server 8.0;C:\Program Files\Git\cmd;C:\Users\wh361\AppData\Local\Microsoft\WindowsApps;D:\IntelliJ IDEA Community Edition 2021.3\bin;;D:\Microsoft VS Code\bin;C:\Program Files\MySQL\MySQL Server 8.0\bin;;., java.vendor=Oracle Corporation, java.vm.info=mixed mode, sharing, java.vm.version=17.0.1+12-39, hibernate.bytecode.use_reflection_optimizer=false, sun.io.unicode.encoding=UnicodeLittle, javax.persistence.jdbc.password=****, java.class.version=61.0}

19:24:09.431 [main] DEBUG org.hibernate.secure.spi.JaccIntegrator - Skipping JACC integration as it was not enabled

19:24:09.436 [main] DEBUG org.hibernate.type.EnumType - Using NAMED-based conversion for Enum jpabook.jpashop.domain.orderStatus

19:24:09.437 [main] DEBUG org.hibernate.internal.SessionFactoryImpl - Instantiated session factory

19:24:09.437 [main] DEBUG org.hibernate.type.spi.TypeConfiguration$Scope - Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@4bff1903] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@20d11153]

19:24:09.486 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - Not known whether passed class name [jpabook.jpashop.domain.OrderItem] is safe

19:24:09.487 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - No temp ClassLoader provided; using live ClassLoader for loading potentially unsafe class : jpabook.jpashop.domain.OrderItem

19:24:09.703 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - Not known whether passed class name [jpabook.jpashop.domain.Member] is safe

19:24:09.703 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - No temp ClassLoader provided; using live ClassLoader for loading potentially unsafe class : jpabook.jpashop.domain.Member

19:24:09.718 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - Not known whether passed class name [jpabook.jpashop.domain.Order] is safe

19:24:09.718 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - No temp ClassLoader provided; using live ClassLoader for loading potentially unsafe class : jpabook.jpashop.domain.Order

19:24:09.729 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - Not known whether passed class name [jpabook.jpashop.domain.Item] is safe

19:24:09.730 [main] DEBUG org.hibernate.boot.internal.ClassLoaderAccessImpl - No temp ClassLoader provided; using live ClassLoader for loading potentially unsafe class : jpabook.jpashop.domain.Item

19:24:09.745 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: jpabook.jpashop.domain.OrderItem

19:24:09.745 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Version select: /* get version jpabook.jpashop.domain.OrderItem */ select order_item_id from OrderItem where order_item_id =?

19:24:09.745 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Snapshot select: /* get current state jpabook.jpashop.domain.OrderItem */ select orderitem_.order_item_id, orderitem_.item_id as item_id2_2_, orderitem_.order_id as order_id3_2_ from OrderItem orderitem_ where orderitem_.order_item_id=?

19:24:09.745 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Insert 0: /* insert jpabook.jpashop.domain.OrderItem */ insert into OrderItem (item_id, order_id, order_item_id) values (?, ?, ?)

19:24:09.745 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Update 0: /* update jpabook.jpashop.domain.OrderItem */ update OrderItem set item_id=?, order_id=? where order_item_id=?

19:24:09.745 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Delete 0: /* delete jpabook.jpashop.domain.OrderItem */ delete from OrderItem where order_item_id=?

19:24:09.774 [main] DEBUG org.hibernate.loader.plan.build.internal.spaces.QuerySpacesImpl - Adding QuerySpace : uid = <gen:0> -> org.hibernate.loader.plan.build.internal.spaces.EntityQuerySpaceImpl@6c806c8b]

19:24:09.775 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : itemId

19:24:09.775 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : orderId

19:24:09.775 [main] DEBUG org.hibernate.loader.plan.build.internal.FetchStyleLoadPlanBuildingAssociationVisitationStrategy - Building LoadPlan...

19:24:09.784 [main] DEBUG org.hibernate.loader.plan.exec.internal.LoadQueryJoinAndFetchProcessor - processing queryspace <gen:0>

19:24:09.788 [main] DEBUG org.hibernate.loader.plan.build.spi.LoadPlanTreePrinter - LoadPlan(entity=jpabook.jpashop.domain.OrderItem)

    - Returns

       - EntityReturnImpl(entity=jpabook.jpashop.domain.OrderItem, querySpaceUid=<gen:0>, path=jpabook.jpashop.domain.OrderItem)

    - QuerySpaces

       - EntityQuerySpaceImpl(uid=<gen:0>, entity=jpabook.jpashop.domain.OrderItem)

          - SQL table alias mapping - orderitem0_

          - alias suffix - 0_

          - suffixed key columns - {order_it1_2_0_}

 

19:24:09.790 [main] DEBUG org.hibernate.loader.entity.plan.EntityLoader - Static select for entity jpabook.jpashop.domain.OrderItem [NONE]: select orderitem0_.order_item_id as order_it1_2_0_, orderitem0_.item_id as item_id2_2_0_, orderitem0_.order_id as order_id3_2_0_ from OrderItem orderitem0_ where orderitem0_.order_item_id=?

19:24:09.790 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: jpabook.jpashop.domain.Member

19:24:09.790 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Version select: /* get version jpabook.jpashop.domain.Member */ select member_id from Member where member_id =?

19:24:09.790 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Snapshot select: /* get current state jpabook.jpashop.domain.Member */ select member_.member_id, member_.city as city2_1_, member_.name as name3_1_, member_.street as street4_1_, member_.zipcode as zipcode5_1_ from Member member_ where member_.member_id=?

19:24:09.790 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Insert 0: /* insert jpabook.jpashop.domain.Member */ insert into Member (city, name, street, zipcode, member_id) values (?, ?, ?, ?, ?)

19:24:09.790 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Update 0: /* update jpabook.jpashop.domain.Member */ update Member set city=?, name=?, street=?, zipcode=? where member_id=?

19:24:09.790 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Delete 0: /* delete jpabook.jpashop.domain.Member */ delete from Member where member_id=?

19:24:09.790 [main] DEBUG org.hibernate.loader.plan.build.internal.spaces.QuerySpacesImpl - Adding QuerySpace : uid = <gen:0> -> org.hibernate.loader.plan.build.internal.spaces.EntityQuerySpaceImpl@4acb2510]

19:24:09.790 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : city

19:24:09.791 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : name

19:24:09.791 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : street

19:24:09.791 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : zipcode

19:24:09.791 [main] DEBUG org.hibernate.loader.plan.build.internal.FetchStyleLoadPlanBuildingAssociationVisitationStrategy - Building LoadPlan...

19:24:09.791 [main] DEBUG org.hibernate.loader.plan.exec.internal.LoadQueryJoinAndFetchProcessor - processing queryspace <gen:0>

19:24:09.791 [main] DEBUG org.hibernate.loader.plan.build.spi.LoadPlanTreePrinter - LoadPlan(entity=jpabook.jpashop.domain.Member)

    - Returns

       - EntityReturnImpl(entity=jpabook.jpashop.domain.Member, querySpaceUid=<gen:0>, path=jpabook.jpashop.domain.Member)

    - QuerySpaces

       - EntityQuerySpaceImpl(uid=<gen:0>, entity=jpabook.jpashop.domain.Member)

          - SQL table alias mapping - member0_

          - alias suffix - 0_

          - suffixed key columns - {member_i1_1_0_}

 

19:24:09.791 [main] DEBUG org.hibernate.loader.entity.plan.EntityLoader - Static select for entity jpabook.jpashop.domain.Member [NONE]: select member0_.member_id as member_i1_1_0_, member0_.city as city2_1_0_, member0_.name as name3_1_0_, member0_.street as street4_1_0_, member0_.zipcode as zipcode5_1_0_ from Member member0_ where member0_.member_id=?

19:24:09.791 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: jpabook.jpashop.domain.Order

19:24:09.791 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Version select: /* get version jpabook.jpashop.domain.Order */ select order_id from orders where order_id =?

19:24:09.791 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Snapshot select: /* get current state jpabook.jpashop.domain.Order */ select order_.order_id, order_.member_id as member_i2_3_, order_.orderDate as orderdat3_3_, order_.status as status4_3_ from orders order_ where order_.order_id=?

19:24:09.791 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Insert 0: /* insert jpabook.jpashop.domain.Order */ insert into orders (member_id, orderDate, status, order_id) values (?, ?, ?, ?)

19:24:09.791 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Update 0: /* update jpabook.jpashop.domain.Order */ update orders set member_id=?, orderDate=?, status=? where order_id=?

19:24:09.791 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Delete 0: /* delete jpabook.jpashop.domain.Order */ delete from orders where order_id=?

19:24:09.791 [main] DEBUG org.hibernate.loader.plan.build.internal.spaces.QuerySpacesImpl - Adding QuerySpace : uid = <gen:0> -> org.hibernate.loader.plan.build.internal.spaces.EntityQuerySpaceImpl@37d871c2]

19:24:09.791 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : memberId

19:24:09.792 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : orderDate

19:24:09.792 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : status

19:24:09.792 [main] DEBUG org.hibernate.loader.plan.build.internal.FetchStyleLoadPlanBuildingAssociationVisitationStrategy - Building LoadPlan...

19:24:09.792 [main] DEBUG org.hibernate.loader.plan.exec.internal.LoadQueryJoinAndFetchProcessor - processing queryspace <gen:0>

19:24:09.792 [main] DEBUG org.hibernate.loader.plan.build.spi.LoadPlanTreePrinter - LoadPlan(entity=jpabook.jpashop.domain.Order)

    - Returns

       - EntityReturnImpl(entity=jpabook.jpashop.domain.Order, querySpaceUid=<gen:0>, path=jpabook.jpashop.domain.Order)

    - QuerySpaces

       - EntityQuerySpaceImpl(uid=<gen:0>, entity=jpabook.jpashop.domain.Order)

          - SQL table alias mapping - order0_

          - alias suffix - 0_

          - suffixed key columns - {order_id1_3_0_}

 

19:24:09.792 [main] DEBUG org.hibernate.loader.entity.plan.EntityLoader - Static select for entity jpabook.jpashop.domain.Order [NONE]: select order0_.order_id as order_id1_3_0_, order0_.member_id as member_i2_3_0_, order0_.orderDate as orderdat3_3_0_, order0_.status as status4_3_0_ from orders order0_ where order0_.order_id=?

19:24:09.792 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: jpabook.jpashop.domain.Item

19:24:09.792 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Version select: /* get version jpabook.jpashop.domain.Item */ select item_id from Item where item_id =?

19:24:09.792 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Snapshot select: /* get current state jpabook.jpashop.domain.Item */ select item_.item_id, item_.StockQuantity as stockqua2_0_, item_.name as name3_0_, item_.price as price4_0_ from Item item_ where item_.item_id=?

19:24:09.792 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Insert 0: /* insert jpabook.jpashop.domain.Item */ insert into Item (StockQuantity, name, price, item_id) values (?, ?, ?, ?)

19:24:09.792 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Update 0: /* update jpabook.jpashop.domain.Item */ update Item set StockQuantity=?, name=?, price=? where item_id=?

19:24:09.792 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister -  Delete 0: /* delete jpabook.jpashop.domain.Item */ delete from Item where item_id=?

19:24:09.792 [main] DEBUG org.hibernate.loader.plan.build.internal.spaces.QuerySpacesImpl - Adding QuerySpace : uid = <gen:0> -> org.hibernate.loader.plan.build.internal.spaces.EntityQuerySpaceImpl@285f38f6]

19:24:09.792 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : StockQuantity

19:24:09.792 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : name

19:24:09.792 [main] DEBUG org.hibernate.persister.walking.spi.MetamodelGraphWalker - Visiting attribute path : price

19:24:09.792 [main] DEBUG org.hibernate.loader.plan.build.internal.FetchStyleLoadPlanBuildingAssociationVisitationStrategy - Building LoadPlan...

19:24:09.793 [main] DEBUG org.hibernate.loader.plan.exec.internal.LoadQueryJoinAndFetchProcessor - processing queryspace <gen:0>

19:24:09.793 [main] DEBUG org.hibernate.loader.plan.build.spi.LoadPlanTreePrinter - LoadPlan(entity=jpabook.jpashop.domain.Item)

    - Returns

       - EntityReturnImpl(entity=jpabook.jpashop.domain.Item, querySpaceUid=<gen:0>, path=jpabook.jpashop.domain.Item)

    - QuerySpaces

       - EntityQuerySpaceImpl(uid=<gen:0>, entity=jpabook.jpashop.domain.Item)

          - SQL table alias mapping - item0_

          - alias suffix - 0_

          - suffixed key columns - {item_id1_0_0_}

 

19:24:09.793 [main] DEBUG org.hibernate.loader.entity.plan.EntityLoader - Static select for entity jpabook.jpashop.domain.Item [NONE]: select item0_.item_id as item_id1_0_0_, item0_.StockQuantity as stockqua2_0_0_, item0_.name as name3_0_0_, item0_.price as price4_0_0_ from Item item0_ where item0_.item_id=?

19:24:09.814 [main] DEBUG org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator - No actions specified; doing nothing

19:24:09.814 [main] DEBUG org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator - No JtaPlatform was specified, checking resolver

19:24:09.814 [main] DEBUG org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformResolverInitiator - No JtaPlatformResolver was specified, using default [org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver]

19:24:09.818 [main] DEBUG org.hibernate.engine.transaction.jta.platform.internal.StandardJtaPlatformResolver - Could not resolve JtaPlatform, using default [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]

19:24:09.818 [main] INFO org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]

19:24:09.819 [main] DEBUG org.hibernate.query.spi.NamedQueryRepository - Checking 0 named HQL queries

19:24:09.819 [main] DEBUG org.hibernate.query.spi.NamedQueryRepository - Checking 0 named SQL queries

19:24:09.822 [main] DEBUG org.hibernate.service.internal.SessionFactoryServiceRegistryImpl - EventListenerRegistry access via ServiceRegistry is deprecated.  Use `sessionFactory.getEventEngine().getListenerRegistry()` instead

19:24:09.826 [main] DEBUG org.hibernate.internal.SessionFactoryRegistry - Initializing SessionFactoryRegistry : org.hibernate.internal.SessionFactoryRegistry@6b3f6585

19:24:09.827 [main] DEBUG org.hibernate.internal.SessionFactoryRegistry - Registering SessionFactory: 74d35489-0bd8-42e5-8e8a-0847faa18194 (<unnamed>)

19:24:09.827 [main] DEBUG org.hibernate.internal.SessionFactoryRegistry - Not binding SessionFactory to JNDI, no JNDI name configured

19:24:09.827 [main] INFO org.hibernate.orm.connections.pooling - HHH10001008: Cleaning up connection pool [jdbc:h2:tcp://localhost/~/test]

19:24:09.830 [main] DEBUG org.hibernate.service.spi.ServiceBinding - Overriding existing service binding [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]

Exception in thread "main" java.lang.NoSuchMethodError: 'void org.hibernate.annotations.common.reflection.ReflectionManager.reset()'

at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:414)

at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)

at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)

at org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:56)

at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:79)

at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)

at jpabook.jpashop.JpaMain.main(JpaMain.java:10)

 

Process finished with exit code 1

 

어떤 부분이 잘못 되서 계속

 Exception in thread "main" java.lang.NoSuchMethodError: 'void org.hibernate.annotations.common.reflection.ReflectionManager.reset()'

at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:414)

at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)

at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)

at org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:56)

at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:79)

at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)

at jpabook.jpashop.JpaMain.main(JpaMain.java:10)가 나오는걸까요...

<h2 databases 화면입니다. 정상 작동합니다.>

<persistence.xml 코드입니다.>

<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.2"
xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd">
<persistence-unit name="hello">
<properties>
<!-- 필수 속성 -->
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
<property name="javax.persistence.jdbc.user" value="sa"/>
<property name="javax.persistence.jdbc.password" value=""/>
<property name="javax.persistence.jdbc.url" value="jdbc:h2:tcp://localhost/~/test"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>

<!-- 옵션 -->
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.format_sql" value="true"/>
<property name="hibernate.use_sql_comments" value="true"/>
<!--<property name="hibernate.hbm2ddl.auto" value="create" />-->
</properties>
</persistence-unit>
</persistence>

<다음은 porm.xml 코드입니다>

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>jpabook</groupId>
<artifactId>jpashop</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>jpashop</name>
<description>jpashop</description>
<properties>
<java.version>11</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<!-- JPA 하이버네이트 -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.3.10.Final</version>
</dependency>

<!-- H2 데이터베이스 -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>2.0.204</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>


</project>


답변 3

1

김영한님의 프로필 이미지
김영한
지식공유자

안녕하세요. 이운형님

스프링 부트를 통해서 예제를 만드셨군요.

다음과 같이 수정하시면 됩니다.

주의! H2 데이터베이스는 꼭! 1.4.200 버전을 설치하시고, 라이브러리 버전도 1.4.200을 사용하도록 해주세요.

H2 데이터베이스 관련해서는 다음을 읽어주세요.

https://docs.google.com/document/d/1j0jcJ9EoXMGzwAA2H0b9TOvRtpwlxI5Dtn3sRtuXQas/edit#heading=h.p77zmj38bkl0

 

수정된 전체 코드는 다음과 같습니다.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>jpabook</groupId>
<artifactId>jpashop</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>jpashop</name>
<description>jpashop</description>
<properties>
<java.version>11</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<!-- JPA 하이버네이트 -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
</dependency>

<!-- H2 데이터베이스 -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.200</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>


</project>


 

감사합니다.

이운형님의 프로필 이미지
이운형
질문자

정말 감사합니다! 더 공부하겠습니다

0

이운형님의 프로필 이미지
이운형
질문자

https://drive.google.com/file/d/1lCCDYbFHWx_P6xHcRs09YJbrpO9rqMrP/view?usp=sharing

 

=>JPAMain 을 실행시 

Exception in thread "main" java.lang.NoSuchMethodError: 'void org.hibernate.annotations.common.reflection.ReflectionManager.reset()'

at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:414)

at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)

at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1498)

at org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:56)

at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:79)

at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)

at jpabook.jpashop.JpaMain.main(JpaMain.java:10)

 

와 같은 exception이 발생합니다.

google 검색 결과 오래된 java를 사용하면 나타날수도 있다는데 java 11을 사용해서 project를 빌드했었습니다!

 

db에 table은 정상적으로 만들어지며 작동은 됩니다!

어떤 이유때문에 exception이 발생되는지 궁금합니다!

0

김영한님의 프로필 이미지
김영한
지식공유자

안녕하세요. 이운형님

전체 프로젝트를 압축해서 구글 드라이브로 공유해서 링크를 남겨주세요.

구글 드라이브 업로드 방법은 다음을 참고해주세요.

https://bit.ly/3fX6ygx

 

주의: 업로드시 링크에 있는 권한 문제 꼭 확인해주세요

 

추가로 다음 내용도 코멘트 부탁드립니다.

1. 실행 방법을 알려주세요.

2. 어떻게 문제를 확인할 수 있는지 자세한 설명을 남겨주세요.

감사합니다.

 

이운형님의 프로필 이미지
이운형

작성한 질문수

질문하기