ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Newbie questions: Merging / DAO?
Date Thu, 20 Aug 2009 12:39:48 GMT
We've deprecated the DAO framework and are working on a new petstore


On Thu, Aug 20, 2009 at 1:21 AM, Chris Lewis <cflewis@gmail.com> wrote:

> Hi guys,
> I'm new to iBATIS, so I am probably missing something obvious, but is
> there a way to do a merge ie. create a record if one with the primary
> key doesn't exist, or insert it if it does? I've used such a function
> in other ORM packages, and appreciate the removal of boilerplate. I
> can't find it in the docs, but like I said, I'm sure I'm missing
> something!
> Also, I was looking through the JPetShop example, and noticed an
> entire DAO substructure that is never mentioned in the docs. Is there
> somewhere I can look up this style of architecture?
> Thanks!
> --
> Chris Lewis
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org

View raw message