nbpnextLevel / plate

0 stars 1 forks source link

[feat] Order, OrderProduct 업로드 #14

Closed lje-ejl closed 3 days ago

lje-ejl commented 3 days ago

[feat] Order, OrderProduct 업로드

HMisu commented 3 days ago

dev 브랜치에서 애플리케이션 실행 시 PSQLException 발생합니다. 확인 부탁드릴게요. org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL " create table p_order ( is_canceled boolean not null, order_price bigint not null, user_id bigint not null, order_id UUID generated by default as identity, store_id uuid not null, order_address varchar(225) not null, order_request varchar(500), order_status varchar(255) not null check (order_status in ('PENDING_PAYMENT','DELIVER_COMPLETED','ORDER_CANCELLED')), order_type varchar(255) not null check (order_type in ('DELIVERY','MEET')), primary key (order_id) )" via JDBC [오류: 식별 칼럼에 쓸 자료형은 smallint, integer, bigint 자료형만 쓸 수 있음] at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:94) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final] at org.hibernate.tool.schema.internal.Helper.applySqlString(Helper.java:233) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final] at org.hibernate.tool.schema.internal.Helper.applySqlStrings(Helper.java:217) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final] at org.hibernate.tool.schema.internal.SchemaCreatorImpl.createTables(SchemaCreatorImpl.java:428) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final] at org.hibernate.tool.schema.internal.SchemaCreatorImpl.createSequencesTablesConstraints(SchemaCreatorImpl.java:344) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final] at org.hibernate.tool.schema.internal.SchemaCreatorImpl.createFromMetadata(SchemaCreatorImpl.java:239) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final] at org.hibernate.tool.schema.internal.SchemaCreatorImpl.performCreation(SchemaCreatorImpl.java:172) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final] at org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:142) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final] at org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:118) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final] at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:250) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final] at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:144) ~[hibernate-core-6.5.3.Final.jar:6.5.3.Final]