BAEL-2436

* BAEL-2436 Type Safe Criteria Queries Using Hibernate Metamodel

* Formattng fixes

* Formatting fixes
This commit is contained in:
raghav-jha 2018-12-28 04:22:09 +05:30 committed by Emily Cheyne
parent 6f93d7f2b1
commit 07f762dfc8
2 changed files with 0 additions and 2 deletions

View File

@ -72,7 +72,6 @@
<groupId>org.hibernate</groupId> <groupId>org.hibernate</groupId>
<artifactId>hibernate-jpamodelgen</artifactId> <artifactId>hibernate-jpamodelgen</artifactId>
<version>${hibernate.version}</version> <version>${hibernate.version}</version>
<scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -35,7 +35,6 @@ public class HibernateUtil {
Metadata metadata = metadataSources.getMetadataBuilder() Metadata metadata = metadataSources.getMetadataBuilder()
.applyBasicType(LocalDateStringType.INSTANCE) .applyBasicType(LocalDateStringType.INSTANCE)
.build(); .build();
return metadata.getSessionFactoryBuilder().build(); return metadata.getSessionFactoryBuilder().build();
} catch (IOException ex) { } catch (IOException ex) {
throw new ExceptionInInitializerError(ex); throw new ExceptionInInitializerError(ex);