| org.apache.ojb.junit.PBTestCase org.apache.ojb.broker.AutoIncrementWithRelatedObjectTest
AutoIncrementWithRelatedObjectTest | public class AutoIncrementWithRelatedObjectTest extends PBTestCase (Code) | | author: MBaird mattbaird@yahoo.com author: Equivalent to the ODMG test of the same name, but redone using PB api. author: works for HSQLDB author: fails for MSSQL :( author: If you have results for other databases, please enter them here. |
AutoIncrementWithRelatedObjectTest | public AutoIncrementWithRelatedObjectTest(String name)(Code) | | |
testCreateWithRelatedObject | public void testCreateWithRelatedObject()(Code) | | do the create with a related object to prove it works.
|
testCreateWithoutRelatedObject | public void testCreateWithoutRelatedObject()(Code) | | since java defaults the value of an int to 0, there might be a problem storing an
object that uses int's as foreign keys. If this doesn't work, it means we can't use int's
as foreign keys :(
|
|
|