Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CqlTemplate.doExecute does not translate Cassandra Exceptions. [DATACASS-304] #475

spring-projects-issues opened this issue Jun 21, 2016 · 0 comments
in: core Issues in core support type: bug A general bug


Copy link

Mark Paluch opened DATACASS-304 and commented

CqlTemplate.doExecute catches Spring's DataAccessException and so it does not translate Cassandra's RuntimeException's.

protected <T> T doExecute(SessionCallback<T> callback) {
     try {
          return callback.doInSession(getSession());
    } catch (DataAccessException e) {
          throw translateExceptionIfPossible(e);

Affects: 1.4.1 (Hopper SR1)

Referenced from: commits 570d71a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: core Issues in core support type: bug A general bug
None yet

No branches or pull requests

2 participants