Hi Ralf,
Thank you for your instruction.
I've submitted to the bug system with testcase. CASTOR-1366.
Ken
Ralf Joachim <[EMAIL PROTECTED]> 写道:
Ralf Joachim <[EMAIL PROTECTED]> 写道:
Ken, this problem sounds to be a bit more difficult then your last one.
Could you please create a new issue in jira (our bug tracking system) under:
http://jira.codehaus.org/browse/CASTOR
and attach a test case following the description at:
http://castor.codehaus.org/how-to-submit-a-bug.html
This will allow me to replay your problem and debug in Castor source to
see what happens. Having said that I'm not sure yet if this is a bug but
it looks like the internal cache does not get updated.
Ralf
Castor JDO, committer
[EMAIL PROTECTED] schrieb:
> Hi all,
> I have strange problem use the castor to deal with
> self reference table.
> After I save the children to parent. and then
> colse the database, and then open a new jdomanager
> Database, search the parent, the number of the
> children isn't right. it miss the one I just append.
> But I close the program, and start again, search the
> same parent, It will show the right number of the
> children.
>
> Exemple:
> TABLE
> [Group]
> ID, GROUP_NAME, PARENT_ID
> 1, abc , NULL
> 2, abcd , 1
>
> After I insert a new sub-group(abcde) to 'abc', It
> still show the 'abc', 'abcd' without 'abcde'.
> But when I start a new program, search the 'abc', it
> will show 'abc', 'abcd', 'abcde'.
>
> Group{
> integer id;
> Group parent;
> Set subGroup;
> }
>
>
>
>
>
>
>> type="java.lang.String">
>
>
>
>> type="myapp.Group" require="false"
> >
>
>
>
>> type="myapp.Group"
> collection="collection"
> >
>
>
>
>
>
>
> __________________________________________________
> 璧跺揩娉ㄥ��������瓒�澶у�归�����璐归��绠�?
> http://cn.mail.yahoo.com
>
> -------------------------------------------------
> If you wish to unsubscribe from this list, please
> send an empty message to the following address:
>
> [EMAIL PROTECTED]
> -------------------------------------------------
--
Syscon Ingenieurb眉ro f眉r
Me��- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra��e 11
D-72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Email: [EMAIL PROTECTED]
Web: www.syscon-world.de
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
想成为冯小刚、陈凯歌、张纪中三大导演的主角吗?

