jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart" <christophe.lomb...@gmail.com>
Subject Re: Retrieve path & uuid field after insert a new objec
Date Tue, 11 Mar 2008 21:57:02 GMT
Hi,

I fix this problem. Can you check if it is ok for you ?
In stead of calling the method retrieveSimpleFields, I only refresh
the path and the uuid field.

thanks,
Christophe


2008/3/11 Yonder <zyzha@yahoo.com.cn>:
> Hi,
>
>  Unlike Hibernate, ObjectContentManager cannot retrieve the path or uuid field of an
newly persistent object. In my project, I insert the following code after line 221 in ObjectConverterImpl.java
and I got the correct value:
>
>     simpleFieldsHelp.retrieveSimpleFields(session, classDescriptor, objectNode, object);
>
>  Maybe we need a good solution?
>
>
>
>
>
>
>
>
>       ___________________________________________________________
>  雅虎邮箱传递新年祝福,个性贺卡送亲朋!
>  http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline
>
Mime
View raw message