Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Is there really no official fix for the mybatis-spring multidatabase bug?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dq  
View profile  
 More options Nov 5 2012, 5:02 pm
From: dq <d...@kayak.com>
Date: Mon, 5 Nov 2012 14:02:36 -0800 (PST)
Local: Mon, Nov 5 2012 5:02 pm
Subject: Is there really no official fix for the mybatis-spring multidatabase bug?

I encountered the same problem as these people at the bottom of the page:
http://code.google.com/p/mybatis/wiki/Spring when I tried to configure
multiple databases with mybatis 3.1.1 and mybatis-spring 1.1.1.

I ultimately had to fix the problem myself by removing the final
from SqlSessionDaoSupport's methods setSqlSessionFactory
and setSqlSessionTemplate so that I can override them in my DAO classes and
provide qualifiers to the autowiring so I can specify which database
they're for.

Is there an official fix for this, or is it still officially broken?  Also,
is this the right place for this, or is there a separate group for it?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.