You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Rafael Alcemar <ra...@yahoo.com> on 2005/12/07 15:29:20 UTC

[dbutils]: Using objects as atributes

>Hi people, I wanna know if I can use dbutils in this
> case: 
> 
> If I have one class Person with this structure:
> 
> Person
>    String name
>    int age
>    Address address
> 
> 
> And if the address atribute is another class like:
> 
> Address
>    String street
>    int number
>    
> 
> May I use DBUtils in this case? If I can, could you
> show me an example, please?
> 
> Thanks!
> Rafael
> 
> 
> 		
> __________________________________________ 
> Yahoo! DSL – Something to write home about. 
> Just $16.99/mo. or less. 
> dsl.yahoo.com 
> 
> 



		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [dbutils]: Using objects as atributes

Posted by Elifarley Callado Coelho Cruz <el...@gmail.com>.
I would try SimpleORM
http://www.simpleorm.org/

Cheers,
Elifarley

On 12/7/05, David Graham <gr...@yahoo.com> wrote:
> DbUtils is not intended for complex object-relational mapping.  Try Hibernate, you'll like it :-).
>
>  http://hibernate.org/
>
>  David
>
>
> Rafael Alcemar <ra...@yahoo.com> wrote: >Hi people, I wanna know if I can use dbutils in this
> > case:
> >
> > If I have one class Person with this structure:
> >
> > Person
> >    String name
> >    int age
> >    Address address
> >
> >
> > And if the address atribute is another class like:
> >
> > Address
> >    String street
> >    int number
> >
> >
> > May I use DBUtils in this case? If I can, could you
> > show me an example, please?
> >
> > Thanks!
> > Rafael
>
>
>
>
> Get Firefox!
> http://www.mozilla.org/firefox/
>
> ---------------------------------
>  Yahoo! DSL Something to write home about. Just $16.99/mo. or less
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [dbutils]: Using objects as atributes

Posted by David Graham <gr...@yahoo.com>.
DbUtils is not intended for complex object-relational mapping.  Try Hibernate, you'll like it :-).
 
 http://hibernate.org/
 
 David
 

Rafael Alcemar <ra...@yahoo.com> wrote: >Hi people, I wanna know if I can use dbutils in this
> case: 
> 
> If I have one class Person with this structure:
> 
> Person
>    String name
>    int age
>    Address address
> 
> 
> And if the address atribute is another class like:
> 
> Address
>    String street
>    int number
>    
> 
> May I use DBUtils in this case? If I can, could you
> show me an example, please?
> 
> Thanks!
> Rafael
 



Get Firefox!
http://www.mozilla.org/firefox/
		
---------------------------------
 Yahoo! DSL Something to write home about. Just $16.99/mo. or less