RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-16 Thread Meindert
2007 05:01 PM To: user-java@ibatis.apache.org Cc: [EMAIL PROTECTED] Subject: Re: converting iBATIS framework DAOs to the Spring Framework See below. On Apr 16, 2007, at 9:46 AM, Meindert wrote: Thus larry could you add the following to finish the converting from IbatisDao to springDao with

Re: converting iBATIS framework DAOs to the Spring Framework

2007-04-16 Thread Tom Duffey
See below. On Apr 16, 2007, at 9:46 AM, Meindert wrote: Thus larry could you add the following to finish the converting from IbatisDao to springDao with ibatis sqlmaps? 3) Spring config Add the following to the spring config file; class="org.springframework.jdbc.datasource.DataSourceT

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-16 Thread Meindert
Ok, have to stay on that track then ;-) After adding the jar from sourceforce (cglib-2.2_beta1.jar) I get the message; org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in ServletContext resource [/WEB-INF/spring.xml]: Initializatio

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-16 Thread Poitras Christian
don't see anything else that could cause a problem. Christian From: Meindert [mailto:[EMAIL PROTECTED] Sent: Monday, 16 April 2007 04:32 To: user-java@ibatis.apache.org Subject: RE: converting iBATIS framework DAOs to the Spring Framework Hi Chris, I

Re: converting iBATIS framework DAOs to the Spring Framework

2007-04-16 Thread Tom Duffey
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: 16 April 2007 03:10 PM To: user-java@ibatis.apache.org Subject: Re: converting iBATIS framework DAOs to the Spring Framework Hmm, I think I'd rather add cglib than give up transactions in the service layer. I

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-16 Thread Meindert
3:10 PM To: user-java@ibatis.apache.org Subject: Re: converting iBATIS framework DAOs to the Spring Framework Hmm, I think I'd rather add cglib than give up transactions in the service layer. It's another jar, but reduces complexity (that's unusual when you *add* a jar), and puts transa

Re: converting iBATIS framework DAOs to the Spring Framework

2007-04-16 Thread Larry Meadors
Hmm, I think I'd rather add cglib than give up transactions in the service layer. It's another jar, but reduces complexity (that's unusual when you *add* a jar), and puts transaction management where it belongs, IMO. Larry On 4/16/07, Meindert <[EMAIL PROTECTED]> wrote: Had a closer look at i

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-16 Thread Meindert
m: Poitras Christian [mailto:[EMAIL PROTECTED] Sent: 13 April 2007 06:08 PM To: user-java@ibatis.apache.org Subject: RE: converting iBATIS framework DAOs to the Spring Framework Download CGLIB (at least version 2.1.3) http://sourceforge.net/project/showfiles.php?group_id=56933 Christian

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-16 Thread Meindert
rg; [EMAIL PROTECTED] Subject: RE: converting iBATIS framework DAOs to the Spring Framework Hi All, I had a look at spring transactions and can get the annotation working for the dao layer but not for the service layer? This is the xml I added in the spring config file to enable spring annotation

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-13 Thread Poitras Christian
] On Behalf Of Larry Meadors Sent: 12 April 2007 04:14 PM To: [EMAIL PROTECTED] Subject: Re: converting iBATIS framework DAOs to the Spring Framework Thanks a TON for doing this, it's really appreciated! Here is the WIKI Page: http://tinyurl.com/ysvjw5 I just converted it to WIKI

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-13 Thread Meindert
ril 2007 04:14 PM To: [EMAIL PROTECTED] Subject: Re: converting iBATIS framework DAOs to the Spring Framework Thanks a TON for doing this, it's really appreciated! Here is the WIKI Page: http://tinyurl.com/ysvjw5 I just converted it to WIKI format and corrected some simple stuff.

Re: converting iBATIS framework DAOs to the Spring Framework

2007-04-13 Thread Larry Meadors
supplement wiki page to indicate what are the advantages of using Stripes to reduce Spring config file. Christian -Original Message- From: Meindert [mailto:[EMAIL PROTECTED] Sent: Friday, 13 April 2007 09:59 To: [EMAIL PROTECTED] Subject: RE: converting iBATIS framework DAOs to the Sprin

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-13 Thread Poitras Christian
April 2007 09:59 To: [EMAIL PROTECTED] Subject: RE: converting iBATIS framework DAOs to the Spring Framework Another framework? How much work is it to convert an existing project (like jpetstore)? -Original Message- From: Poitras Christian [mailto:[EMAIL PROTECTED] Sent: 12 April 2007 03:

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-13 Thread Meindert
Another framework? How much work is it to convert an existing project (like jpetstore)? -Original Message- From: Poitras Christian [mailto:[EMAIL PROTECTED] Sent: 12 April 2007 03:57 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: converting iBATIS framework DAOs to the Spring

Re: converting iBATIS framework DAOs to the Spring Framework

2007-04-12 Thread Larry Meadors
Thanks a TON for doing this, it's really appreciated! Here is the WIKI Page: http://tinyurl.com/ysvjw5 I just converted it to WIKI format and corrected some simple stuff. I was curious why if we are starting with jpetshop5, why not use the hsqldb stuff that is there? Also, I'd suggest that we

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-12 Thread Meindert
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: 12 April 2007 04:14 PM To: [EMAIL PROTECTED] Subject: Re: converting iBATIS framework DAOs to the Spring Framework Thanks a TON for doing this, it's really appreciated! Here is the WIKI Page

RE: converting iBATIS framework DAOs to the Spring Framework

2007-04-12 Thread Poitras Christian
lways forget about updating xml anyway...). Christian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Thursday, 12 April 2007 07:35 To: [EMAIL PROTECTED] Subject: Re: converting iBATIS framework DAOs to the Spring Framework I'll a

Re: converting iBATIS framework DAOs to the Spring Framework

2007-04-12 Thread Larry Meadors
I'll add this to the wiki, and clean up anything I see in it that looks odd. Larry On 4/12/07, Meindert <[EMAIL PROTECTED]> wrote: Hi all. I've documented the process of converting jpetshop5, and would like to know if it is right? Also I don't know what to do with the com.ibatis.dao.clien

converting iBATIS framework DAOs to the Spring Framework

2007-04-12 Thread Meindert
Hi all. I've documented the process of converting jpetshop5, and would like to know if it is right? Also I don't know what to do with the com.ibatis.dao.client.DaoException thrown in SequenceSqlMapDao? I'm going to add the transaction on OrderService now. Steps to convert jpetshop5 to iba