You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
What version of the MyBatis are you using?
==>3.1.0
Please describe the problem. Unit tests are best!
==>In my web app, i want to use stored procedures whose input parameter is
oracle.sql.ARRAY. So i have to get the underlying connection.At first, i
extended SqlSessionDaoSupport and use
"super.getSqlSession().getConnection().getMetaData().getConnection()" to get
the connection.The unit test is ok, but when i called the service from web, I
got the sql exception.
What is the expected output? What do you see instead?
Can you provide stack trace, logs, error messages that are displayed?
==>java.sql.SQLException: Connection is closed.
at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.checkOpen(PoolingDataSource.java:175)
at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.getMetaData(PoolingDataSource.java:233)
Please provide any additional information below.
Original issue reported on code.google.com by hillfall...@gmail.com on 28 Mar 2012 at 2:45
The text was updated successfully, but these errors were encountered:
oh i fixed it. my solution is "@Autowired SqlSessionFactory
sqlSessionFactory;" and
"sqlSessionFactory.openSession().getConnection().getMetaData().getConnection();"
Original comment by hillfall...@gmail.com on 28 Mar 2012 at 5:03
Original issue reported on code.google.com by
hillfall...@gmail.com
on 28 Mar 2012 at 2:45The text was updated successfully, but these errors were encountered: