You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Michael Campbell <mi...@gmail.com> on 2005/09/24 16:28:41 UTC

Hibernate integration

I've just started using ibatis and like it quite a lot.  I've seen
references here and there to hibernate integration and wondered
exactly what that was.  When using it, what of hibernate and what of
ibatis do you actually use?


--
I tend to view "truly flexible" by another term: "Make everything
equally hard". -- DHH

Re: Hibernate integration

Posted by hicham abassi <ha...@gmail.com>.
I just discovered ibatis dao last week.
i'm coding a new project based on MyFaces/Ibatis Dao/Hibernate/PostgreSQL.
i was looking for a solution that can handle transaction without
implementing Spring or Session EJB.

I adapted a little patch for supporting Hibernate3 into ibatis dao.

It will be good if more people can validate this patch or share more
experiences about ibatis dao/hibernate

You can get the patch at : http://issues.apache.org/jira/browse/IBATIS-192
If you want to use this patch, don't forget to delete the following
file from the original ibatis dao package :
com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder

Bye.

2005/9/24, Michael Campbell <mi...@gmail.com>:
> I've just started using ibatis and like it quite a lot.  I've seen
> references here and there to hibernate integration and wondered
> exactly what that was.  When using it, what of hibernate and what of
> ibatis do you actually use?
>
>
> --
> I tend to view "truly flexible" by another term: "Make everything
> equally hard". -- DHH
>


--

hicham ABASSI
habassi@gmail.com

Re: Hibernate integration

Posted by Larry Meadors <la...@gmail.com>.
The Hibernate "integration" is in the DAO layer, not in SQL Maps.

So, it allows you to insulate your application from any APIs specific
to Hibernate. It does not make it possible to use both at the same
time (something I have done in the past, and would advise against).

Larry


On 9/24/05, Michael Campbell <mi...@gmail.com> wrote:
> I've just started using ibatis and like it quite a lot.  I've seen
> references here and there to hibernate integration and wondered
> exactly what that was.  When using it, what of hibernate and what of
> ibatis do you actually use?