Announcement Announcement Module
Collapse
No announcement yet.
Spring Declarative Transaction Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Declarative Transaction

    Hello,

    We are facing problem related to transaction management.

    We are encountering the below Error in Websphere ffdc log.

    java.sql.SQLException: DSRA9010E: 'setReadOnly' is not supported on the WebSphere java.sql.Connection implementation.

    We are using WAS-ND version 7 for our application.

    And we are using Spring declarative transaction management in our application code.
    Ex:
    @Transactional(readOnly=true)
    public ConversationState findByProjectIdWithLatestSubmitTime(long projectId) {
    Assert.notNull(projectId);
    return unique(getHibernateTemplate().findByNamedQueryAndN amedParam(
    "conversationState.findByProjectIdWithLatestSubmit Time",
    new String[] {"projectId"},
    new Object[] {projectId}), ConversationState.class);
    }

    We are using Hibernate layer to interact with database and we are using Oracle 11g database in our application.

    Please help us providing some solution to us.

    Thank you very much!!!

    Regards,
    Rajesh

  • #2
    In the transaction definition you're setting readOnly and this doesn't seem to be supported. Did you paste the error into google at all? There seem to be quite a few discussions about it.

    Comment

    Working...
    X