6 - fix compilation errors in envers and osgi projects
This commit is contained in:
parent
0acd11fae3
commit
20f2002269
|
@ -321,7 +321,7 @@ public class QueryBuilder {
|
|||
query.setParameter(
|
||||
paramValue.getKey(),
|
||||
paramValue.getValue(),
|
||||
new CustomType( new RevisionTypeType() )
|
||||
new CustomType( new RevisionTypeType(), sessionFactory.getTypeConfiguration() )
|
||||
);
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -377,7 +377,9 @@ public class OsgiIntegrationTest {
|
|||
Class impl = sfi.getServiceRegistry().getService( StrategySelector.class ).selectStrategyImplementor( Calendar.class, TestStrategyRegistrationProvider.GREGORIAN );
|
||||
assertNotNull( impl );
|
||||
|
||||
BasicType basicType = sfi.getTypeResolver().basic( TestTypeContributor.NAME );
|
||||
BasicType basicType = sfi.getTypeConfiguration()
|
||||
.getBasicTypeRegistry()
|
||||
.getRegisteredType( TestTypeContributor.NAME );
|
||||
assertNotNull( basicType );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue