Hi,
I'm trying to make OJB run with Sybase ASA db. I made it with an older version, but 
after integration with Torque nothing work because of Torque. Does anyone know 
Sybase produce another family of db besides ASE? :-(

Anyway... 
after modifying Torque SQL templates form Sybase to work with ASA, I can "prepare 
test db" (correctly, I suppose).

Running JUnit, MtoNMapping test generate a SQLException of duplicate PF on insert.
testInsertion() test generates a double INSERT statement with the same fields and 
values in different orders:

INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ID) VALUES ( 26,1 )
INSERT INTO PERSON_PROJECT (PERSON_ID,PROJECT_ID) VALUES ( 1,26 )

Why?


Also, I get a "Missing PK value for FK" SQL Error in 
BidirectionalAssociationTest.deleteAllA() and in 
AutoIncrementWithRelatedObjectTest.testCreateWithoutRelatedObject()

I tried to generate FK as "check on commit" or "check immediately", but nothing 
changes.

Thanks
        Lorenzo



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to