Re: storing objects

"Alessandro Colantoni" <[email protected]> Fri, 14 Sep 2007 16:37:05 +0200
Newsgroups gmane.comp.jakarta.ojb.user
Message-ID <[email protected]>
if you  want that name begin with r put leftlike in place of like


2nd. No you have to use the updateCreateTrees, or updatecollectionreference,
or updatecollectionreferences

Mandragora update method just do the ojb store. It just save you to to deal
with transaction, create broker, closing an other annoying things that are
always the same.

Alessandro


On 9/14/07, Hans Novak <[email protected]> wrote:
>
> oh... ok :-)
>
> but when i write
>
>            Collection collection = bd.findCollectionByLogicCondition(
>                    Partner.class, new
> LogicSqlCondition("NAME","like","r*")
>                    );
>
> i get a collection of partners, who have a "r" somewhere in his name,
> not partners, who begins with it !
>
> 2nd, the first question in this ng was, if its normal, that ojb do not
> delete a subtree of an object in the database,
> when i delete it in the object and then make an dao.update(object) to
> the database.
> mangragora do it not too !?
>
> Hans
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>