Skip to content

Commit 07f762d

Browse files
raghav-jhaecheyne
authored andcommitted
BAEL-2436
* BAEL-2436 Type Safe Criteria Queries Using Hibernate Metamodel * Formattng fixes * Formatting fixes
1 parent 6f93d7f commit 07f762d

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎persistence-modules/hibernate5/pom.xml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
<groupId>org.hibernate</groupId>
7373
<artifactId>hibernate-jpamodelgen</artifactId>
7474
<version>${hibernate.version}</version>
75-
<scope>provided</scope>
7675
</dependency>
7776
</dependencies>
7877

‎persistence-modules/hibernate5/src/main/java/com/baeldung/hibernate/criteriaquery/HibernateUtil.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ private static SessionFactory buildSessionFactory() {
3535
Metadata metadata = metadataSources.getMetadataBuilder()
3636
.applyBasicType(LocalDateStringType.INSTANCE)
3737
.build();
38-
3938
return metadata.getSessionFactoryBuilder().build();
4039
} catch (IOException ex) {
4140
throw new ExceptionInInitializerError(ex);

0 commit comments

Comments
 (0)