Hi Mark, The unit test for OPENJPA-525 should validate that it's working. Could you try running TestSerializedLobs.java and see if it fails for you?
FWIW the tests are running with MySQL 5.1.12 in the 2.0.x branch and the test passed.. Regards, -mike On Mon, May 3, 2010 at 7:13 AM, Mark Struberg <[email protected]> wrote: > Hi! > > It seems that I suffer from the same problems which got reported in > OPENJPA-525 [1] while trying to write null value to a not null field. > It seems that OpenJPA magically converts it to an empty string, thus I get > NO Exception in MySQL and I DO get an exception in Oracle (because Oracle > treats empty VARCHAR strings as null). > > Is there any integration test or unit test which proves OPENJPA-525? > > If I'd like to write such a test, where should I add it? > > txs and LieGrue, > strub > > > [1] https://issues.apache.org/jira/browse/OPENJPA-525 > > > >
