public class IdsTest extends AbstractEntitySqlGeneratorTest
EmbeddedTest.| Constructor and Description |
|---|
IdsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testEmptyEntity()
Tests to write an entity with just the generated ID.
|
void |
testFixedId()
Tests to write entities with fixed ids.
|
void |
testIdentityGenerator()
Tests to write an entity with an identity column.
|
void |
testSequenceGenerator()
Tests to write an entity with a sequence generator.
|
findResults, findResults, findSingleResult, findSingleResult, setUp, tearDown, writepublic void testEmptyEntity()
throws Exception
Exception - if Hibernate or the generator throws onepublic void testFixedId()
throws Exception
Exception - if Hibernate or the generator throws onepublic void testIdentityGenerator()
throws Exception
Exception - if Hibernate or the generator throws oneCopyright © 2016 fastnate.org. All rights reserved.