[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-757) JDBCPersistenceManager incorrectly detects if a replytoId was null when restoring a message from a ResultSet

Ilya Bochkov (JIRA) jira-events at jboss.com
Thu Jan 18 14:57:55 EST 2007


JDBCPersistenceManager incorrectly detects if a replytoId was null when restoring a message from a ResultSet
------------------------------------------------------------------------------------------------------------

                 Key: JBMESSAGING-757
                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-757
             Project: JBoss Messaging
          Issue Type: Bug
    Affects Versions: 1.0.1.SP2
            Reporter: Ilya Bochkov
         Assigned To: Ovidiu Feodorov


JDBCPersistenceManager, line 728:
boolean replyToExists = rs.wasNull();

-- incorrectly detects if a value was null or not. should do exactly the opposite:
boolean replyToExists = !rs.wasNull();

-- note the negation



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list