code stringlengths 23 201k | docstring stringlengths 17 96.2k | func_name stringlengths 0 235 | language stringclasses 1
value | repo stringlengths 8 72 | path stringlengths 11 317 | url stringlengths 57 377 | license stringclasses 7
values |
|---|---|---|---|---|---|---|---|
@Test
public void runtimeModelTest(SessionFactoryScope scope) {
final RuntimeMetamodels runtimeMetamodels = scope.getSessionFactory().getRuntimeMetamodels();
final MappingMetamodel mappingMetamodel = runtimeMetamodels.getMappingMetamodel();
final EntityPersister entityDescriptor = mappingMetamodel.findEntityDesc... | Builds on {@link org.hibernate.orm.test.mapping.embeddable.strategy.instantiator.intf2.InstantiationTests}
attempting to map an interface.
At the moment this does not work, as Hibernate fails without setters | runtimeModelTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf/InstantiationTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf/InstantiationTests.java | Apache-2.0 |
@Test
public void basicTest(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
final Person mick = new Person( 1, new NameImpl( "Mick", "Jagger" ) );
session.persist( mick );
final Person john = new Person( 2, new NameImpl( "John", "Doe" ) );
john.addAlias( new NameImpl( "Jon", "Doe" ) );
... | Builds on {@link org.hibernate.orm.test.mapping.embeddable.strategy.instantiator.intf2.InstantiationTests}
attempting to map an interface.
At the moment this does not work, as Hibernate fails without setters | basicTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf/InstantiationTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf/InstantiationTests.java | Apache-2.0 |
@Test
public void bootModelTest(DomainModelScope scope) {
scope.withHierarchy( Person.class, (personMapping) -> {
final Property name = personMapping.getProperty( "name" );
final Component nameMapping = (Component) name.getValue();
assertThat( nameMapping.getPropertySpan() ).isEqualTo( 2 );
final Proper... | A "baseline" test for {@link org.hibernate.orm.test.mapping.embeddable.strategy.instantiator.intf.InstantiationTests}.
There, we try to map an interface as an embeddable.
Here we try to map a class that only defines getters to mimic a typical interface.
Otherwise, they are mapped identically. | bootModelTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/InstantiationTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/InstantiationTests.java | Apache-2.0 |
@Test
public void runtimeModelTest(SessionFactoryScope scope) {
final RuntimeMetamodels runtimeMetamodels = scope.getSessionFactory().getRuntimeMetamodels();
final MappingMetamodel mappingMetamodel = runtimeMetamodels.getMappingMetamodel();
final EntityPersister entityDescriptor = mappingMetamodel.findEntityDesc... | A "baseline" test for {@link org.hibernate.orm.test.mapping.embeddable.strategy.instantiator.intf.InstantiationTests}.
There, we try to map an interface as an embeddable.
Here we try to map a class that only defines getters to mimic a typical interface.
Otherwise, they are mapped identically. | runtimeModelTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/InstantiationTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/InstantiationTests.java | Apache-2.0 |
@Test
public void basicTest(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
final Person mick = new Person( 1, Name.make( "Mick", "Jagger" ) );
session.persist( mick );
final Person john = new Person( 2, Name.make( "John", "Doe" ) );
john.addAlias( Name.make( "Jon", "Doe" ) );
sessio... | A "baseline" test for {@link org.hibernate.orm.test.mapping.embeddable.strategy.instantiator.intf.InstantiationTests}.
There, we try to map an interface as an embeddable.
Here we try to map a class that only defines getters to mimic a typical interface.
Otherwise, they are mapped identically. | basicTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/InstantiationTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/InstantiationTests.java | Apache-2.0 |
@Test
public void basicTest(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
final Person mick = new Person( 1, new Name( "Mick", "Jagger" ) );
session.persist( mick );
final Person john = new Person( 2, new Name( "John", "Doe" ) );
john.addAlias( new Name( "Jon", "Doe" ) );
session.p... | Tests for custom {@link EmbeddableInstantiator} usage,
specified as a registration | basicTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/registered/InstantiationTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/registered/InstantiationTests.java | Apache-2.0 |
@Test
@DomainModel(annotatedClasses = Person.class)
@SessionFactory
void testBasicUsage(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.persist( new Person( 1, "John", Gender.MALE ) );
} );
scope.inTransaction( (session) -> {
session.doWork( (connection) -> {
try (Statement ... | The spec says that for {@linkplain jakarta.persistence.EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | testBasicUsage | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | Apache-2.0 |
@DomainModel(annotatedClasses = Person.class)
@SessionFactory
@Test
void testNulls(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.persist( new Person( 1, "John", null ) );
} );
scope.inTransaction( (session) -> {
session.doWork( (connection) -> {
try (Statement statement = ... | The spec says that for {@linkplain jakarta.persistence.EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | testNulls | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | Apache-2.0 |
@DomainModel(annotatedClasses = Person.class)
@SessionFactory
@RequiresDialectFeature( feature = DialectFeatureChecks.SupportsColumnCheck.class )
@Test
void verifyCheckConstraints(SessionFactoryScope scope) {
scope.inTransaction( (session) -> session.doWork( (connection) -> {
try (PreparedStatement statement =... | The spec says that for {@linkplain jakarta.persistence.EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | verifyCheckConstraints | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | Apache-2.0 |
@DomainModel(annotatedClasses = Person.class)
@SessionFactory
@SkipForDialect( dialectClass = SybaseDialect.class, matchSubTypes = true, reason = "Sybase (at least jTDS driver) truncates the value so the constraint is not violated" )
@RequiresDialectFeature( feature = DialectFeatureChecks.SupportsColumnCheck.class )... | The spec says that for {@linkplain jakarta.persistence.EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | verifyCheckConstraints2 | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | Apache-2.0 |
@AfterEach
void dropTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> session.createMutationQuery( "delete Person" ).executeUpdate() );
} | The spec says that for {@linkplain jakarta.persistence.EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | dropTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | Apache-2.0 |
public char getCode() {
return code;
} | The spec says that for {@linkplain jakarta.persistence.EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | getCode | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/CharEnumerateValueTests.java | Apache-2.0 |
@DomainModel(annotatedClasses = Person.class)
@SessionFactory(useCollectingStatementInspector = true)
@Test
void testBasicUsage(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.persist( new Person( 1, "John", Gender.MALE, Status.ACTIVE ) );
} );
scope.inTransaction( (session) -> {
... | Test for {@linkplain EnumeratedValue} introduced in JPA 3.2
@author Steve Ebersole | testBasicUsage | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | Apache-2.0 |
@DomainModel(annotatedClasses = Person.class)
@SessionFactory(useCollectingStatementInspector = true)
@Test
void testNulls(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.persist( new Person( 1, "John", null, null ) );
} );
scope.inTransaction( (session) -> {
session.doWork( (co... | Test for {@linkplain EnumeratedValue} introduced in JPA 3.2
@author Steve Ebersole | testNulls | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | Apache-2.0 |
@DomainModel(annotatedClasses = Person.class)
@SessionFactory(useCollectingStatementInspector = true)
@RequiresDialectFeature( feature = DialectFeatureChecks.SupportsColumnCheck.class )
@Test
void verifyCheckConstraints(SessionFactoryScope scope) {
scope.inTransaction( (session) -> session.doWork( (connection) ->... | Test for {@linkplain EnumeratedValue} introduced in JPA 3.2
@author Steve Ebersole | verifyCheckConstraints | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | Apache-2.0 |
@AfterEach
void dropTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> session.createMutationQuery( "delete Person" ).executeUpdate() );
} | Test for {@linkplain EnumeratedValue} introduced in JPA 3.2
@author Steve Ebersole | dropTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | Apache-2.0 |
public String getCode() {
return code;
} | Test for {@linkplain EnumeratedValue} introduced in JPA 3.2
@author Steve Ebersole | getCode | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | Apache-2.0 |
public int getCode() {
return code;
} | Test for {@linkplain EnumeratedValue} introduced in JPA 3.2
@author Steve Ebersole | getCode | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/EnumeratedValueTests.java | Apache-2.0 |
@Test
@DomainModel(annotatedClasses = Person.class)
@SessionFactory
void testBasicUsage(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.persist( new Person( 1, "John", Gender.MALE ) );
} );
scope.inTransaction( (session) -> {
assertEquals( Gender.MALE, session.find( Person.class,... | The spec says that for {@linkplain EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | testBasicUsage | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | Apache-2.0 |
@DomainModel(annotatedClasses = Person.class)
@SessionFactory
@Test
void testNulls(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.persist( new Person( 1, "John", null ) );
} );
scope.inTransaction( (session) -> {
session.doWork( (connection) -> {
try (Statement statement = ... | The spec says that for {@linkplain EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | testNulls | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | Apache-2.0 |
@DomainModel(annotatedClasses = Person.class)
@SessionFactory
@RequiresDialectFeature( feature = DialectFeatureChecks.SupportsColumnCheck.class )
@Test
void verifyCheckConstraints(SessionFactoryScope scope) {
scope.inTransaction( (session) -> session.doWork( (connection) -> {
try (PreparedStatement statement =... | The spec says that for {@linkplain EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | verifyCheckConstraints | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | Apache-2.0 |
@DomainModel(annotatedClasses = Person.class)
@SessionFactory
@SkipForDialect( dialectClass = SybaseDialect.class, matchSubTypes = true, reason = "Sybase (at least jTDS driver) truncates the value so the constraint is not violated" )
@RequiresDialectFeature( feature = DialectFeatureChecks.SupportsColumnCheck.class )... | The spec says that for {@linkplain EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | verifyCheckConstraints2 | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | Apache-2.0 |
@AfterEach
void dropTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> session.createMutationQuery( "delete Person" ).executeUpdate() );
} | The spec says that for {@linkplain EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | dropTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | Apache-2.0 |
public char getCode() {
return code;
} | The spec says that for {@linkplain EnumType#STRING}, only {@linkplain String}
is supported. But {@code char} / {@linkplain Character} make a lot of sense to support as well
@author Steve Ebersole | getCode | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java | Apache-2.0 |
@Test
public void baselineTest(SessionFactoryScope scope) {
final SQLStatementInspector statementInspector = scope.getCollectingStatementInspector();
statementInspector.clear();
scope.inTransaction( (session) -> {
final EmployeeGroup group1 = session.getReference( EmployeeGroup.class, 1 );
final EmployeeG... | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | baselineTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
@BeforeEach
public void prepareTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
final EmployeeGroup group1 = new EmployeeGroup(1, "QA");
final Employee employee1 = new Employee(100, "Jane");
final Employee employee2 = new Employee(101, "Jeff");
group1.addEmployee(employee1);
g... | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | prepareTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
@AfterEach
public void dropTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.createQuery( "delete EmployeeGroup" ).executeUpdate();
session.createQuery( "delete Employee" ).executeUpdate();
} );
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | dropTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
public String getName() {
return name;
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
public Employee getLead() {
return lead;
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | getLead | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
public void setLead(Employee lead) {
this.lead = lead;
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | setLead | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
public boolean addEmployee(Employee employee) {
return employees.add(employee);
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | addEmployee | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
public List<Employee> getEmployees() {
return employees;
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | getEmployees | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
@Override
public String toString() {
return "EmployeeGroup(" + id.toString() + " : " + name + ")";
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | toString | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
public String getName() {
return name;
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
@Override
public String toString() {
return "Employee(" + id.toString() + " : " + name + ")";
} | Does not really test batch-fetching, but is used as a baseline
for SimpleBatchFetchTests. | toString | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchBaselineTests.java | Apache-2.0 |
@Test
public void baselineTest(SessionFactoryScope scope) {
final SQLStatementInspector statementInspector = scope.getCollectingStatementInspector();
statementInspector.clear();
scope.inTransaction( (session) -> {
final EmployeeGroup group1 = session.getReference( EmployeeGroup.class, 1 );
final EmployeeG... | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | baselineTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
@BeforeEach
public void prepareTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
final EmployeeGroup group1 = new EmployeeGroup(1, "QA");
final Employee employee1 = new Employee(100, "Jane");
final Employee employee2 = new Employee(101, "Jeff");
group1.addEmployee(employee1);
g... | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | prepareTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
@AfterEach
public void dropTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.createQuery( "delete EmployeeGroup" ).executeUpdate();
session.createQuery( "delete Employee" ).executeUpdate();
} );
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | dropTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
public String getName() {
return name;
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
public Employee getLead() {
return lead;
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | getLead | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
public void setLead(Employee lead) {
this.lead = lead;
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | setLead | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
public boolean addEmployee(Employee employee) {
return employees.add(employee);
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | addEmployee | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
public List<Employee> getEmployees() {
return employees;
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | getEmployees | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
@Override
public String toString() {
return "EmployeeGroup(" + id.toString() + " : " + name + ")";
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | toString | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
public String getName() {
return name;
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
@Override
public String toString() {
return "Employee(" + id.toString() + " : " + name + ")";
} | Simple test for batch fetching.
Partially acts as a baseline for SubselectFetchCollectionFromBatchTest | toString | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/batch/SimpleBatchFetchTests.java | Apache-2.0 |
@Test
public void smokeTest(SessionFactoryScope scope) {
final SQLStatementInspector statementInspector = scope.getCollectingStatementInspector();
statementInspector.clear();
scope.inTransaction( (session) -> {
final List<Owner> misspelled = session.createQuery( "from Owner o where o.name like 'Onwer%' order... | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | smokeTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
@BeforeEach
public void prepareTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
final Owner o1 = new Owner( 1, "Onwer 1" );
final Owner o2 = new Owner( 2, "Onwer 2" );
final Owner o3 = new Owner( 3, "Owner 3" );
final Thing thing1 = new Thing( 1, "first", o1 );
final Thing th... | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | prepareTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
@AfterEach
public void dropTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.createQuery( "delete Thing" ).executeUpdate();
session.createQuery( "delete Owner" ).executeUpdate();
} );
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | dropTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public String getName() {
return name;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public Set<Thing> getThings() {
return things;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | getThings | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public void setThings(Set<Thing> things) {
this.things = things;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | setThings | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public Set<Trinket> getTrinkets() {
return trinkets;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | getTrinkets | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public void setTrinkets(Set<Trinket> trinkets) {
this.trinkets = trinkets;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | setTrinkets | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public String getName() {
return name;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public Owner getOwner() {
return owner;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | getOwner | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public void setOwner(Owner owner) {
this.owner = owner;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | setOwner | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public String getName() {
return name;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public Owner getOwner() {
return owner;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | getOwner | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
public void setOwner(Owner owner) {
this.owner = owner;
} | Continuation of {@link SimpleEagerSubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading ... | setOwner | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleEagerSubSelectFetchTests.java | Apache-2.0 |
@Test
public void smokeTest(SessionFactoryScope scope) {
final SQLStatementInspector statementInspector = scope.getCollectingStatementInspector();
statementInspector.clear();
scope.inTransaction( (session) -> {
final List<Owner> misspelled = session.createQuery( "from Owner o where o.name like 'Onwer%'", Own... | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | smokeTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
@BeforeEach
public void prepareTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
final Owner o1 = new Owner( 1, "Onwer 1" );
final Owner o2 = new Owner( 2, "Onwer 2" );
final Owner o3 = new Owner( 3, "Owner 3" );
final Thing thing1 = new Thing( 1, "first", o1 );
final Thing th... | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | prepareTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
@AfterEach
public void dropTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.createQuery( "delete Thing" ).executeUpdate();
session.createQuery( "delete Owner" ).executeUpdate();
} );
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | dropTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public String getName() {
return name;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public Set<Thing> getThings() {
return things;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | getThings | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public void setThings(Set<Thing> things) {
this.things = things;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | setThings | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public Set<Trinket> getTrinkets() {
return trinkets;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | getTrinkets | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public void setTrinkets(Set<Trinket> trinkets) {
this.trinkets = trinkets;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | setTrinkets | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public String getName() {
return name;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public Owner getOwner() {
return owner;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | getOwner | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public void setOwner(Owner owner) {
this.owner = owner;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | setOwner | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public String getName() {
return name;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public Owner getOwner() {
return owner;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | getOwner | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
public void setOwner(Owner owner) {
this.owner = owner;
} | Continuation of {@link SimpleLazySubSelectFetchTests} testing
sub-select fetching of multiple collections for the same owner.
Tests that the {@link org.hibernate.engine.spi.SubselectFetch} entries
and its matching keys are not prematurely purged from the
{@link org.hibernate.engine.spi.BatchFetchQueue} after loading t... | setOwner | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleMultipleLazySubSelectFetchTests.java | Apache-2.0 |
@Test
public void simpleTest(SessionFactoryScope scope) {
final SQLStatementInspector statementInspector = scope.getCollectingStatementInspector();
statementInspector.clear();
scope.inTransaction( (session) -> {
final Query<Customer> query = session.createQuery( "from Customer c where c.name = 'John' or c.na... | Tests sub-select fetching when we have a collection defined with sub-select fetching whose
entity-valued element also contains a collection defined with sub-select fetching.
Like {@link SimpleMultipleEagerSubSelectFetchTests} and {@link SimpleMultipleLazySubSelectFetchTests},
we are trying to make sure that the BatchF... | simpleTest | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | Apache-2.0 |
@BeforeEach
public void prepareTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
final Customer john = new Customer( 1, "John" );
final Customer sally = new Customer( 2, "Sally" );
final Customer jerry = new Customer( 3, "Jerry" );
final Order johnFirst = new Order( 10, john );
... | Tests sub-select fetching when we have a collection defined with sub-select fetching whose
entity-valued element also contains a collection defined with sub-select fetching.
Like {@link SimpleMultipleEagerSubSelectFetchTests} and {@link SimpleMultipleLazySubSelectFetchTests},
we are trying to make sure that the BatchF... | prepareTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | Apache-2.0 |
@AfterEach
public void dropTestData(SessionFactoryScope scope) {
scope.inTransaction( (session) -> {
session.remove( session.getReference( Customer.class, 1 ) );
session.remove( session.getReference( Customer.class, 2 ) );
session.remove( session.getReference( Customer.class, 3 ) );
} );
} | Tests sub-select fetching when we have a collection defined with sub-select fetching whose
entity-valued element also contains a collection defined with sub-select fetching.
Like {@link SimpleMultipleEagerSubSelectFetchTests} and {@link SimpleMultipleLazySubSelectFetchTests},
we are trying to make sure that the BatchF... | dropTestData | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | Apache-2.0 |
public Integer getId() {
return id;
} | Tests sub-select fetching when we have a collection defined with sub-select fetching whose
entity-valued element also contains a collection defined with sub-select fetching.
Like {@link SimpleMultipleEagerSubSelectFetchTests} and {@link SimpleMultipleLazySubSelectFetchTests},
we are trying to make sure that the BatchF... | getId | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | Apache-2.0 |
public String getName() {
return name;
} | Tests sub-select fetching when we have a collection defined with sub-select fetching whose
entity-valued element also contains a collection defined with sub-select fetching.
Like {@link SimpleMultipleEagerSubSelectFetchTests} and {@link SimpleMultipleLazySubSelectFetchTests},
we are trying to make sure that the BatchF... | getName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Tests sub-select fetching when we have a collection defined with sub-select fetching whose
entity-valued element also contains a collection defined with sub-select fetching.
Like {@link SimpleMultipleEagerSubSelectFetchTests} and {@link SimpleMultipleLazySubSelectFetchTests},
we are trying to make sure that the BatchF... | setName | java | hibernate/hibernate-orm | hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/fetch/subselect/SimpleNestedSubSelectFetchTests.java | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.