There are a few areas that are not automatically tested and require
per-adapter setup in the test cases (i.e. a subclass of
org.objectstyle.cayenne.unittest.DatabaseSetupDelegate):
1. [b|c]lob
2. Stored procedures
If we are lucky, DB2 will pass those without customization (like Sybase
does, but not Oracle), if not... ;-)
Anyway, I will probably look at this over the weekend. Holger, if you have
a chance to look at it before that, please let me know. Otherwise, I think
we are ready to do an RC1 on the weekend.
Also I will be on vacation end of July and most of August. If we are
satisfied with the code, we may even have a 1.0 final before that. If not,
lets shoot for mid-Septemeber.
Andrus
>
>> Just installed DB2 on Linux. I am working with it pretty much in the
>> dark - I don't know any of the internals yet (even such simple (?)
>> things like creating users that are not the same as UNIX accounts -
>> any
>
> I think this is a restriction of the 'personal edition', but really
> don't know; it's the same on Windows. I agree it's very annoying.
>
>> pointers on that). Anyway, looks like I was able to fix all problems
>> and all my unit tests succeed 100%.
>
> :)
>
>> The real reason was that unit tests relied on this little "feature" in
>> other Cayenne adapters - PK generation starts from 200, so ids 1..199
>
> Argh! I knew that the DB2 adapter started at 1 but not that the tests
> relied on that.
>
>> Can't reproduce the second error (above) exactly; that same insert
>> query runs just fine for me. Although the same test case was failing
>> in SELECT...LIKE when casting LONG VARCHAR. I had to fix casting in
>> the adapter to address that.
>
> Sigh! I was *so* close when I looked into that one, because I had
> suspected the LONG VARCHAR cast as well and thought that I tried the
> same thing you just did..apparently not.
> Anyway thanks for taking the last step! Since everything passes for me
> as well I just enabled DB2 for Modeler so that it will show up in the
> next release.
>
> Holger
This archive was generated by hypermail 2.0.0 : Tue Jul 08 2003 - 10:37:06 EDT