From: Doug C. <de...@fl...> - 2002-02-17 18:39:58
|
Yet another Mckoi update... I have determined that Mckoi supports composite keys just fine; the problem was in the handling of Dates as keys. The FooBar test code constructs a composite key containing a Date property initialized from the current time. A later attempt to retreive the object by key constructs a new composite key with an updated time (different milliseconds). It seems that Mckoi stores all the milliseconds in the database, and compares against them, too. I worked around this in the test by setting the milliseconds explicitly; now the composite key tests are successful. Mckoi 0.92 currently has the following problems: - Can't cast NULL to VARBINARY -- fixed by mckoi.com patch - Long values 15 digit precision -- fixed by my patch - null valued Longs return 0 -- fixed by my patch - bug in parsing "(not (A=B))" -- Toby says it will be fixed in 0.93 - bug in parsing BETWEEN in complex query -- reported to To...@mc... - bug? when using Date as key - no complex sub-selects, it seems The cvs server has an updated FooBar.java to accommodate Mckoi. It works around the BETWEEN bug, the NOT = bug, and the Date bug, and assumes my patches or their equivalent are in place. If you are using Mckoi and want my patch, let me know. e |