You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/16 16:00:39 UTC
[jira] [Commented] (TAJO-2097) TajoStatement::getMoreResults throws
SQLFeatureNotSupportedException
[ https://issues.apache.org/jira/browse/TAJO-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197450#comment-15197450 ]
ASF GitHub Bot commented on TAJO-2097:
--------------------------------------
GitHub user blrunner opened a pull request:
https://github.com/apache/tajo/pull/980
TAJO-2097: TajoStatement::getMoreResults throws SQLFeatureNotSupportedException
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/blrunner/tajo TAJO-2097
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/980.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #980
----
commit bd3c95b771a54f45a8cb04842227383ecfef7356
Author: JaeHwa Jung <bl...@apache.org>
Date: 2016-03-16T14:57:12Z
TAJO-2097: TajoStatement::getMoreResults throws SQLFeatureNotSupportedException
commit 1567e326e4a20081aee45d77ef212867f7aa49f8
Author: JaeHwa Jung <bl...@apache.org>
Date: 2016-03-16T14:58:43Z
Remove unnecessary modification
commit 77ce88312739f04bdeb7c73f0039aef68ac79942
Author: JaeHwa Jung <bl...@apache.org>
Date: 2016-03-16T14:59:34Z
Remove unused package
----
> TajoStatement::getMoreResults throws SQLFeatureNotSupportedException
> --------------------------------------------------------------------
>
> Key: TAJO-2097
> URL: https://issues.apache.org/jira/browse/TAJO-2097
> Project: Tajo
> Issue Type: Bug
> Components: JDBC Driver
> Reporter: Jaehwa Jung
> Assignee: Jaehwa Jung
>
> When I execute an application below environment, spring, ibatis, tajo-jdbc-0.11.1. Tajo throws SQLException as following:
> {code:xml}
> Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
> --- The error occurred in model.xml.
> --- The error occurred while applying a result map.
> --- Check the Xyz-AutoResultMap.
> --- Check the result mapping for the 'userid' property.
> --- Cause: java.sql.SQLFeatureNotSupportedException: getMoreResults() is not supported yet.
> at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:201)
> at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForList(MappedStatement.java:139)
> at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:567)
> at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:541)
> at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:118)
> at org.springframework.orm.ibatis.SqlMapClientTemplate$3.doInSqlMapClient(SqlMapClientTemplate.java:295)
> at org.springframework.orm.ibatis.SqlMapClientTemplate$3.doInSqlMapClient(SqlMapClientTemplate.java:1)
> at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:200)
> ... 57 more
> Caused by: java.sql.SQLFeatureNotSupportedException: getMoreResults() is not supported yet.
> at org.apache.tajo.jdbc.TajoStatement.getMoreResults(TajoStatement.java:240)
> at org.apache.commons.dbcp.DelegatingStatement.getMoreResults(DelegatingStatement.java:270)
> at com.ibatis.sqlmap.engine.execution.SqlExecutor.moveToNextResultsSafely(SqlExecutor.java:354)
> at com.ibatis.sqlmap.engine.execution.SqlExecutor.handleMultipleResults(SqlExecutor.java:325)
> at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:189)
> at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery(MappedStatement.java:221)
> at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:189)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)