From a620f02d57b6ecc99da1befdb9212afe739d19b1 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Wed, 21 Feb 2024 17:43:03 -0500 Subject: [PATCH] [-] Remove test dialect --- src/test/resources/application-testMariadb.properties | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/resources/application-testMariadb.properties b/src/test/resources/application-testMariadb.properties index f52c63f9..fd86a08d 100644 --- a/src/test/resources/application-testMariadb.properties +++ b/src/test/resources/application-testMariadb.properties @@ -15,7 +15,6 @@ spring.datasource.driver-class-name=org.mariadb.jdbc.Driver spring.datasource.username=aqua_test spring.datasource.password=aqua_test spring.datasource.url=jdbc:mariadb://localhost:3306/aqua_test?useSSL=false -spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB10Dialect # if you got any exception like while application booting: # "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column [id] in table [chusan_avatar]; found [int (Types#INTEGER)], but expecting [bigint (Types#BIGINT)]"