I download the 5/4 nightly build and have run into somethings that the
previous version I had didn't run into.
1) When printing out retrieved objects, the char attributes are huge.
The text at the beginning is correct, but there are like
18 blank lines after the text.
2) Same thing happens for the sql generated when traversing a
relationship:
SELECT <some columns> WHERE <some column> = ? [params: 'ZZZ
']
May 4, 2002 11:13:38 AM org.objectstyle.cayenne.access.QueryLogger
logSelectCount
INFO: === returned 0 rows.
NOTE: it didn't paste correctly so I added some lines to give a visual
indication ;)
3) I now get the following error when traversing a relationship
Exception in thread "main"
org.objectstyle.cayenne.CayenneRuntimeException: One and only one object
can match object id, found 0
at
org.objectstyle.cayenne.access.DataContext.refetchObject(DataContext.java:392)
at
org.objectstyle.cayenne.CayenneDataObject.readProperty(CayenneDataObject.java:136)
at _MyType.getBeTypeDesc(_MyType.java:16)
at TestCayenne.main(TestCayenne.java:48)
If I switch back to the previous cayenne version I have everything works
great.
I had to change some of the names of things when posting this message
because of work related issues.
RJA
This archive was generated by hypermail 2.0.0 : Sat May 04 2002 - 11:29:49 EDT