You're a bit ahead of the curve here.  I haven't written an iBATIS
tutorial because it's still a bit difficult to switch persistence
frameworks.  I wrote up a FAQ on this:

http://appfuse.org/display/APF/FAQ#FAQ-daoframeworks

<quote>
How can I change my AppFuse-generated project to use iBATIS or JPA?

Maven doesn't support overriding properties in dependencies. This
means the only way to switch a DAO framework is to:

  1. Specify -Ddao.framework=jpa on the command line or in MAVEN_OPTS.
  2. Checkout AppFuse from Subversion, change the <dao.framework>
property in the root pom.xml and install in your repository.

#2 is the recommended solution for now, but it also requires you to
setup a central repository for your organization.

Another suggested solution is to create archetypes for each of the web
framework + persistent framework options. However, if we create
archetypes for each possibility, we'll end up with 24 archetypes!
That's a lot to maintain IMO. If we add Ant-based full-source
archetypes to the mix, we're up to 36 archetypes. Add in a couple more
web frameworks and we're up to 60 archetypes. Of course, if there was
a way to programmatically create the archetypes from existing sources,
that's a different story.
</quote>

Hope this helps,

Matt

On 3/24/07, Frankee787 <[EMAIL PROTECTED]> wrote:

I have been having some problem in implementing iBatis for persistence. Could
anyone suggest as to how this could be achieved. The hibernate works fine
with help of a tutorial, but still have problems with iBatis. Am using
AppFuse 2 M4. A woring example would be the best if anyone could put one.


Thanks,
Franklin.
--
View this message in context: 
http://www.nabble.com/How-to-use-iBatis-in-AppFuse-2-tf3458855s2369.html#a9650390
Sent from the AppFuse - User mailing list archive at Nabble.com.

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




--
http://raibledesigns.com

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

Reply via email to