Skip to content

Commit b360a25

Browse files
committed
Dto Via SqlResultSetMapping And NamedNativeQuery
1 parent 06daa85 commit b360a25

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

HibernateSpringBootDtoSqlResultSetMappingAndNamedNativeQuery2/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<groupId>com.jpa</groupId>
7-
<artifactId>HibernateSpringBootDtoSqlResultSetMappingAndNamedNativeQuery</artifactId>
7+
<artifactId>HibernateSpringBootDtoSqlResultSetMappingAndNamedNativeQuery2</artifactId>
88
<version>1.0</version>
99
<packaging>jar</packaging>
1010

11-
<name>HibernateSpringBootDtoSqlResultSetMappingAndNamedNativeQuery</name>
11+
<name>HibernateSpringBootDtoSqlResultSetMappingAndNamedNativeQuery2</name>
1212
<description>JPA project for Spring Boot</description>
1313

1414
<parent>

HibernateSpringBootDtoSqlResultSetMappingAndNamedNativeQuery2/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ spring.datasource.password=root
55
spring.jpa.hibernate.ddl-auto=create
66
spring.jpa.show-sql=true
77

8-
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
8+
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
99

1010
spring.datasource.initialization-mode=always
1111
spring.datasource.platform=mysql

0 commit comments

Comments
 (0)