correct !

Elderclei R Reami wrote:
> Thomas,
> 
> This is very good news! :) Therefore, I just need to configure OJB
> properties? Right?
> 
> Thanks.
> Elder
> 
> -----Mensagem original-----
> De: Thomas Mahler [mailto:[EMAIL PROTECTED]]
> Enviada em: quarta-feira, 9 de outubro de 2002 03:24
> Para: OJB Users List
> Assunto: Re: OJB & BeanUtils
> 
> 
> Hi ELder,
> 
> There is already a PersistentFieldDynaBeanImpl!
> It uses the org.apache.commons.beanutils.DynaBean for field access.
> 
> cheers,
> Thomas
> 
> Elderclei R Reami wrote:
> 
>>Hi,
>>
>>Any chance that we can use BeanUtils to feed PersistentFields? For
> 
> instance,
> 
>>we could define in the repository:
>>
>><!-- Definitions for org.apache.ojb.broker.Role -->
>>   <class-descriptor
>>      class="org.apache.ojb.broker.Role"
>>      table="PERSON_PROJECT"
>>   >
>>...
>>      <field-descriptor id="1"
>>         name="person.id"
>>         column="PERSON_ID"
>>         jdbc-type="INTEGER"
>>         primarykey="true"
>>      />
>>      <field-descriptor id="2"
>>         name="project.id"
>>         column="PROJECT_ID"
>>         jdbc-type="INTEGER"
>>         primarykey="true"
>>      />
>>...
>>   </class-descriptor>
>>
>>
>>and in the Persistence Class:
>>
>>public class Role implements Serializable
>>{
>>      Person person;
>>      Project project;
>>...
>>}
>>
>>
>>Does this make any sense? I've been investigating the
>>PersistentFieldFactory.java, but I'm not sure if it's the class to change.
>>
>>Regards,
>>Elder
>>
>>
>>--
>>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>
>>
>>
>>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to