Shanmuga Priya Sivakumar (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=712020%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMjkxOWYwZjVl...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16980?atlOrigin=eyJpIjoiMjkxOW...
) HHH-16980 (
https://hibernate.atlassian.net/browse/HHH-16980?atlOrigin=eyJpIjoiMjkxOW...
) UUIDs are not compatible with h2 2.1.214 for unit testing when using PostgresDialect (
https://hibernate.atlassian.net/browse/HHH-16980?atlOrigin=eyJpIjoiMjkxOW...
)
Issue Type: Bug Assignee: Unassigned Components: hibernate-core, hibernate-spatial
Created: 24/Jul/2023 03:20 AM Priority: Major Reporter: Shanmuga Priya Sivakumar (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=712020%...
)
HHH-11490 (
https://hibernate.atlassian.net/browse/HHH-11490 ) Closed issue is still
reproduceable in hibernate 6.x. and for unit testing, we have the following
configurations
spring.datasource.driver-class-name=org.h2.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.generate-ddl=true
hibernate.jdbc.lob.non_contextual_creation=true
. but I am getting the error at start up of running test cases ?
failed to initialize sql script
jdbc:h2:mem:hcp_model_test;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE;QUERY_CACHE_SIZE=0;AUTO_RECONNECT=TRUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;
error: Failed to execute SQL script statement #2 of class path resource
[db/migration/V002__PROCESSMONITOR.sql] : create table task_step (id uuid not null,
created_date int8 not null, modified_at int8 not null, default_value varchar(255),
exec_order int8, name varchar(255), parameter_name varchar(255), step_name varchar(255),
type varchar(2), value varchar(255), company_id uuid not null, uom_id uuid, task_id uuid
not null, primary key (id))
(
https://hibernate.atlassian.net/browse/HHH-16980#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16980#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100232- sha1:a133497 )