BAEL-2436
* BAEL-2436 Type Safe Criteria Queries Using Hibernate Metamodel * Formattng fixes * Formatting fixes
This commit is contained in:
parent
6f93d7f2b1
commit
07f762dfc8
@ -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>
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user