| com.sleepycat.je.test.TxnTestCase com.sleepycat.persist.test.OperationTest
OperationTest | public class OperationTest extends TxnTestCase (Code) | | Tests misc store and index operations that are not tested by IndexTest.
author: Mark Hayes |
Inner Class :static class MyEntity | |
Inner Class :static class SharedSequenceEntity1 | |
Inner Class :static class SharedSequenceEntity2 | |
Inner Class :static class SeparateSequenceEntity1 | |
Inner Class :static class SeparateSequenceEntity2 | |
Inner Class :static class CompositeSequenceEntity1 | |
Inner Class :static class CompositeSequenceEntity2 | |
Inner Class :static class ToManyKey | |
Inner Class :static class ToManyKeyEntity | |
Inner Class :static class RelatedX | |
Inner Class :static class RelatedY | |
suite | public static Test suite()(Code) | | |
tearDown | public void tearDown() throws Exception(Code) | | The store must be closed before closing the environment.
|
testAutoOpenRelatedEntity | public void testAutoOpenRelatedEntity() throws DatabaseException(Code) | | When Y is opened and X has a key with relatedEntity=Y.class, X should
be opened automatically. If X is not opened, foreign key constraints
will not be enforced. [#15358]
|
testOpenRawStoreReadOnly | public void testOpenRawStoreReadOnly() throws DatabaseException(Code) | | When opening read-only, secondaries are not opened when the primary is
opened, causing a different code path to be used for opening
secondaries. For a RawStore in particular, this caused an unreported
NullPointerException in JE 3.0.12. No SR was created because the use
case is very obscure and was discovered by code inspection.
|
testToManyKeyClass | public void testToManyKeyClass() throws DatabaseException(Code) | | When opening an X_TO_MANY secondary that has a persistent key class, the
key class was not recognized as being persistent if it was never before
referenced when getSecondaryIndex was called. This was a bug in JE
3.0.12, reported on OTN. [#15103]
|
testToManyReadOnly | public void testToManyReadOnly() throws DatabaseException(Code) | | Test a fix for a bug where opening a TO_MANY secondary index would fail
fail with "IllegalArgumentException: Wrong secondary key class: ..."
when the store was opened read-only. [#15156]
|
|
|