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

Ovidiu Feodorov (JIRA) jira-events at jboss.com
Thu Jan 18 15:17:52 EST 2007


     [ http://jira.jboss.com/jira/browse/JBMESSAGING-757?page=all ]

Ovidiu Feodorov updated JBMESSAGING-757:
----------------------------------------

    Fix Version/s: 1.0.1.SP4

> 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
>             Fix For: 1.0.1.SP4
>
>
> 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