You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Emi Lu <em...@encs.concordia.ca> on 2010/08/12 22:12:24 UTC

Does Spring3 support mybatis3.x?

Hello,

Does anyone know whether spring3 supports mybatis3.x?

http://www.apacheserver.net/No-MyBatis-support-in-Spring-3-x-at204449.htm


thank you,
--
Lu Ying


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Does Spring3 support mybatis3.x?

Posted by Cimballi <ci...@cimballi.net>.
Lu, this is a Struts ML, not a Spring or iBatis ML.

A simple search in Spring documentation would have given you the answer :
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/orm.html#orm-ibatis

Cimballi


On Thu, Aug 12, 2010 at 3:12 PM, Emi Lu <em...@encs.concordia.ca> wrote:
> Hello,
>
> Does anyone know whether spring3 supports mybatis3.x?
>
> http://www.apacheserver.net/No-MyBatis-support-in-Spring-3-x-at204449.htm
>
>
> thank you,
> --
> Lu Ying
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Cimballi
Freelance - JAVA J2EE project leader
http://cimballi.elance.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Does Spring3 support mybatis3.x?

Posted by Cimballi <ci...@cimballi.net>.
Are you sure the crash is related to the dependencies ?
Below is a what I used on a project, mixing Struts 2.1.8.1 and Spring 3.0.2.

Cimballi

  <dependencies>
    <!-- scope compile -->
    <dependency>
      <groupId>com.opensymphony</groupId>
      <artifactId>xwork</artifactId>
      <version>2.1.3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-beans</artifactId>
      <version>${spring.version}</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      <version>${spring.version}</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context-support</artifactId>
      <version>${spring.version}</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
      <version>${spring.version}</version>
      <scope>compile</scope>
    </dependency>

    <!-- scope provided -->
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.5</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet.jsp</groupId>
      <artifactId>jsp-api</artifactId>
      <version>2.0</version>
      <scope>provided</scope>
    </dependency>

    <!-- scope runtime -->
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>jstl</artifactId>
      <version>1.2</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.struts</groupId>
      <artifactId>struts2-core</artifactId>
      <version>2.1.8.1</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.struts</groupId>
      <artifactId>struts2-spring-plugin</artifactId>
      <version>2.1.8.1</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-aop</artifactId>
      <version>${spring.version}</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-orm</artifactId>
      <version>${spring.version}</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-test</artifactId>
      <version>${spring.version}</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-tx</artifactId>
      <version>${spring.version}</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-web</artifactId>
      <version>${spring.version}</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>taglibs</groupId>
      <artifactId>standard</artifactId>
      <version>1.1.2</version>
      <scope>runtime</scope>
    </dependency>
  </dependencies>


On Thu, Aug 12, 2010 at 6:00 PM, Frans Thamura <fr...@meruvian.org> wrote:
> We found several conflict in the maven tree
>
> And got mix spring mvc and struts2 make the app crash
>
> Wanna review the code?
>
>
> (m)
>
> -----Original Message-----
> From: Cimballi <ci...@cimballi.net>
> Sender: cimballi.cimballi@gmail.com
> Date: Thu, 12 Aug 2010 17:46:52
> To: Struts Users Mailing List<us...@struts.apache.org>
> Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
> Subject: Re: Does Spring3 support mybatis3.x?
>
> Frank, I think that you can simply replace the Spring 2.5.6 jars by
> the 3.0.x jars.
>
> Cimballi
>
>
> On Thu, Aug 12, 2010 at 5:32 PM, Frans Thamura <fr...@meruvian.org> wrote:
>> hi all
>>
>> talking spring3
>>
>> any idea to make struts 2.21 using spring 3 rather 2.5.6?
>>
>> F
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>
>
> --
> Cimballi
> Freelance - JAVA J2EE project leader
> http://cimballi.elance.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Cimballi
Freelance - JAVA J2EE project leader
http://cimballi.elance.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Does Spring3 support mybatis3.x?

Posted by Frans Thamura <fr...@meruvian.org>.
We found several conflict in the maven tree

And got mix spring mvc and struts2 make the app crash

Wanna review the code?


(m)

-----Original Message-----
From: Cimballi <ci...@cimballi.net>
Sender: cimballi.cimballi@gmail.com
Date: Thu, 12 Aug 2010 17:46:52 
To: Struts Users Mailing List<us...@struts.apache.org>
Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
Subject: Re: Does Spring3 support mybatis3.x?

Frank, I think that you can simply replace the Spring 2.5.6 jars by
the 3.0.x jars.

Cimballi


On Thu, Aug 12, 2010 at 5:32 PM, Frans Thamura <fr...@meruvian.org> wrote:
> hi all
>
> talking spring3
>
> any idea to make struts 2.21 using spring 3 rather 2.5.6?
>
> F
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Cimballi
Freelance - JAVA J2EE project leader
http://cimballi.elance.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Does Spring3 support mybatis3.x?

Posted by Cimballi <ci...@cimballi.net>.
Frank, I think that you can simply replace the Spring 2.5.6 jars by
the 3.0.x jars.

Cimballi


On Thu, Aug 12, 2010 at 5:32 PM, Frans Thamura <fr...@meruvian.org> wrote:
> hi all
>
> talking spring3
>
> any idea to make struts 2.21 using spring 3 rather 2.5.6?
>
> F
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Cimballi
Freelance - JAVA J2EE project leader
http://cimballi.elance.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Does Spring3 support mybatis3.x?

Posted by Frans Thamura <fr...@meruvian.org>.
hi all

talking spring3

any idea to make struts 2.21 using spring 3 rather 2.5.6?

F

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Does Spring3 support mybatis3.x?

Posted by Dave Newton <da...@gmail.com>.
I'd consider asking on the Spring or MyBatis lists, no?

The last I heard (a few months ago) Spring 3 didn't support iBatis 3.

Dave

On Thu, Aug 12, 2010 at 4:12 PM, Emi Lu <em...@encs.concordia.ca> wrote:

> Hello,
>
> Does anyone know whether spring3 supports mybatis3.x?
>
> http://www.apacheserver.net/No-MyBatis-support-in-Spring-3-x-at204449.htm
>
>
> thank you,
> --
> Lu Ying
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>