mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-20 01:55:02 +00:00
HHH-7843 : Add support for one-to-one to new metamodel
This commit is contained in:
parent
910ba3b814
commit
8b706fb3d6
@ -114,7 +114,7 @@ else if ( "false".equals( getOuterJoinSelectionString() ) ) {
|
||||
else if ( "extra".equals( lazySelection ) ) {
|
||||
return FetchTiming.EXTRA_DELAYED;
|
||||
}
|
||||
else if ( "true".equals( lazySelection ) || "proxy".equals( lazySelection ) ) {
|
||||
else if ( "true".equals( lazySelection ) || "proxy".equals( lazySelection ) || "no-proxy".equals( lazySelection ) ) {
|
||||
return FetchTiming.DELAYED;
|
||||
}
|
||||
else if ( "false".equals( lazySelection ) ) {
|
||||
|
@ -48,7 +48,6 @@
|
||||
condition = LazyOneToOneTest.DomainClassesInstrumentedMatcher.class,
|
||||
message = "Test domain classes were not instrumented"
|
||||
)
|
||||
@FailureExpectedWithNewMetamodel
|
||||
public class LazyOneToOneTest extends BaseCoreFunctionalTestCase {
|
||||
@Override
|
||||
public String[] getMappings() {
|
||||
|
@ -75,7 +75,6 @@ public String[] getMappings() {
|
||||
|
||||
@Test
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@FailureExpectedWithNewMetamodel
|
||||
public void testExistingModifiableAfterSetSessionReadOnly() {
|
||||
Container cOrig = createContainer();
|
||||
Set expectedInitializedObjects = new HashSet(
|
||||
@ -170,7 +169,6 @@ public void testExistingModifiableAfterSetSessionReadOnly() {
|
||||
s.close();
|
||||
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@Test
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
public void testExistingReadOnlyAfterSetSessionModifiable() {
|
||||
@ -260,7 +258,6 @@ public void testExistingReadOnlyAfterSetSessionModifiable() {
|
||||
s.close();
|
||||
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@Test
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
public void testExistingReadOnlyAfterSetSessionModifiableExisting() {
|
||||
@ -351,7 +348,6 @@ public void testExistingReadOnlyAfterSetSessionModifiableExisting() {
|
||||
s.close();
|
||||
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@Test
|
||||
public void testExistingReadOnlyAfterSetSessionModifiableExistingEntityReadOnly() {
|
||||
@ -445,7 +441,6 @@ public void testExistingReadOnlyAfterSetSessionModifiableExistingEntityReadOnly(
|
||||
s.close();
|
||||
}
|
||||
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@Test
|
||||
public void testExistingReadOnlyAfterSetSessionModifiableProxyExisting() {
|
||||
@ -536,7 +531,6 @@ public void testExistingReadOnlyAfterSetSessionModifiableProxyExisting() {
|
||||
s.close();
|
||||
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@Test
|
||||
public void testExistingReadOnlyAfterSetSessionModifiableExistingProxyReadOnly() {
|
||||
@ -629,7 +623,6 @@ public void testExistingReadOnlyAfterSetSessionModifiableExistingProxyReadOnly()
|
||||
t.commit();
|
||||
s.close();
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@Test
|
||||
public void testDefaultModifiableWithReadOnlyQueryForEntity() {
|
||||
@ -716,7 +709,7 @@ public void testDefaultModifiableWithReadOnlyQueryForEntity() {
|
||||
t.commit();
|
||||
s.close();
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@Test
|
||||
public void testDefaultReadOnlyWithModifiableQueryForEntity() {
|
||||
@ -791,7 +784,6 @@ public void testDefaultReadOnlyWithModifiableQueryForEntity() {
|
||||
t.commit();
|
||||
s.close();
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@Test
|
||||
public void testDefaultReadOnlyWithQueryForEntity() {
|
||||
@ -879,7 +871,6 @@ public void testDefaultReadOnlyWithQueryForEntity() {
|
||||
t.commit();
|
||||
s.close();
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@Test
|
||||
public void testDefaultModifiableWithQueryForEntity() {
|
||||
@ -1001,7 +992,7 @@ public void testDefaultModifiableWithReadOnlyQueryForCollectionEntities() {
|
||||
t.commit();
|
||||
s.close();
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
|
||||
@Test
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
public void testDefaultReadOnlyWithModifiableFilterCollectionEntities() {
|
||||
@ -1093,7 +1084,6 @@ public void testDefaultReadOnlyWithModifiableFilterCollectionEntities() {
|
||||
t.commit();
|
||||
s.close();
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@Test
|
||||
public void testDefaultModifiableWithReadOnlyFilterCollectionEntities() {
|
||||
@ -1171,7 +1161,6 @@ public void testDefaultModifiableWithReadOnlyFilterCollectionEntities() {
|
||||
t.commit();
|
||||
s.close();
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@Test
|
||||
public void testDefaultReadOnlyWithFilterCollectionEntities() {
|
||||
@ -1260,7 +1249,6 @@ public void testDefaultReadOnlyWithFilterCollectionEntities() {
|
||||
t.commit();
|
||||
s.close();
|
||||
}
|
||||
@FailureExpectedWithNewMetamodel
|
||||
@SuppressWarnings( {"unchecked"})
|
||||
@Test
|
||||
public void testDefaultModifiableWithFilterCollectionEntities() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user