You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Brendan Miller (JIRA)" <ji...@apache.org> on 2008/02/04 23:49:08 UTC

[jira] Created: (TORQUE-109) Torque Runtime fails SqlExpressionTest with Java 1.6

Torque Runtime fails SqlExpressionTest with Java 1.6
----------------------------------------------------

                 Key: TORQUE-109
                 URL: https://issues.apache.org/jira/browse/TORQUE-109
             Project: Torque
          Issue Type: Bug
          Components: Runtime
    Affects Versions: 3.3-RC1, 3.3-RC2, 3.3-RC3
         Environment: Linux, Java 1.6
            Reporter: Brendan Miller


(posted on torque-devel)

>
> I had a question about 3.3-RC3.  Am I the only one for whom the
> SqlExpressionTest fails?  Surely this cannot be.  I am building from a
> clean svn co of the TORQUE_3_3_RC3 tag(s).
>
> $ maven jar:jar
..

>     [junit] Running org.apache.torque.util.SqlExpressionTest
>     [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 0.623 sec
>     [junit] [ERROR] TEST org.apache.torque.util.SqlExpressionTest FAILED
..
>
> BUILD FAILED
> File...... /home/brmiller/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
> Element... fail
> Line...... 181
> Column.... 54
> There were test failures.
> Total time: 17 seconds
> Finished at: Fri Feb 01 21:19:56 GMT 2008
>
 
I went back to 3.3-RC1 and it won't pass the same test either.  And I know
I've built 3.3-RC1 from source before.  It then occurred to me that we
moved our development environment to Java 1.6 since then.  Rebuilding
the torque runtime (3.3-RC3) using Java 1.5 and the tests work just
fine.

It turns out that the order of the string values tested for in SqlExpressionTest.testBuildInStringObjectSqlEnumbooleanDB is different still in Sun Java 1.6 than 1.3 or 1.4 (for which cases already exist).  This list of re-ordered strings is getting a bit hackish, but a simple test for the order presented in jdk 1.6 "fixes" the issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Re: [jira] Commented: (TORQUE-109) Torque Runtime fails SqlExpressionTest with Java 1.6

Posted by Thomas Vandahl <tv...@apache.org>.
Scott Eade (JIRA) wrote:
> It seems that I do not have the necessary karma to close this issue.

For some reason, you were not listed as a committer of Torque in JIRA. 
It should work now.

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


[jira] Commented: (TORQUE-109) Torque Runtime fails SqlExpressionTest with Java 1.6

Posted by "Scott Eade (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TORQUE-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566022#action_12566022 ] 

Scott Eade commented on TORQUE-109:
-----------------------------------

Patch applied - thanks Brendan.

It seems that I do not have the necessary karma to close this issue.

> Torque Runtime fails SqlExpressionTest with Java 1.6
> ----------------------------------------------------
>
>                 Key: TORQUE-109
>                 URL: https://issues.apache.org/jira/browse/TORQUE-109
>             Project: Torque
>          Issue Type: Bug
>          Components: Runtime
>    Affects Versions: 3.3-RC1, 3.3-RC2, 3.3-RC3
>         Environment: Linux, Java 1.6
>            Reporter: Brendan Miller
>         Attachments: sqlexpressiontest.patch
>
>
> (posted on torque-devel)
> >
> > I had a question about 3.3-RC3.  Am I the only one for whom the
> > SqlExpressionTest fails?  Surely this cannot be.  I am building from a
> > clean svn co of the TORQUE_3_3_RC3 tag(s).
> >
> > $ maven jar:jar
> ..
> >     [junit] Running org.apache.torque.util.SqlExpressionTest
> >     [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 0.623 sec
> >     [junit] [ERROR] TEST org.apache.torque.util.SqlExpressionTest FAILED
> ..
> >
> > BUILD FAILED
> > File...... /home/brmiller/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
> > Element... fail
> > Line...... 181
> > Column.... 54
> > There were test failures.
> > Total time: 17 seconds
> > Finished at: Fri Feb 01 21:19:56 GMT 2008
> >
>  
> I went back to 3.3-RC1 and it won't pass the same test either.  And I know
> I've built 3.3-RC1 from source before.  It then occurred to me that we
> moved our development environment to Java 1.6 since then.  Rebuilding
> the torque runtime (3.3-RC3) using Java 1.5 and the tests work just
> fine.
> It turns out that the order of the string values tested for in SqlExpressionTest.testBuildInStringObjectSqlEnumbooleanDB is different still in Sun Java 1.6 than 1.3 or 1.4 (for which cases already exist).  This list of re-ordered strings is getting a bit hackish, but a simple test for the order presented in jdk 1.6 "fixes" the issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


[jira] Resolved: (TORQUE-109) Torque Runtime fails SqlExpressionTest with Java 1.6

Posted by "Thomas Vandahl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TORQUE-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Vandahl resolved TORQUE-109.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.3-RC3
         Assignee: Scott Eade

I take the liberty to mark this issue as resolved.

> Torque Runtime fails SqlExpressionTest with Java 1.6
> ----------------------------------------------------
>
>                 Key: TORQUE-109
>                 URL: https://issues.apache.org/jira/browse/TORQUE-109
>             Project: Torque
>          Issue Type: Bug
>          Components: Runtime
>    Affects Versions: 3.3-RC1, 3.3-RC2, 3.3-RC3
>         Environment: Linux, Java 1.6
>            Reporter: Brendan Miller
>            Assignee: Scott Eade
>             Fix For: 3.3-RC3
>
>         Attachments: sqlexpressiontest.patch
>
>
> (posted on torque-devel)
> >
> > I had a question about 3.3-RC3.  Am I the only one for whom the
> > SqlExpressionTest fails?  Surely this cannot be.  I am building from a
> > clean svn co of the TORQUE_3_3_RC3 tag(s).
> >
> > $ maven jar:jar
> ..
> >     [junit] Running org.apache.torque.util.SqlExpressionTest
> >     [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 0.623 sec
> >     [junit] [ERROR] TEST org.apache.torque.util.SqlExpressionTest FAILED
> ..
> >
> > BUILD FAILED
> > File...... /home/brmiller/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
> > Element... fail
> > Line...... 181
> > Column.... 54
> > There were test failures.
> > Total time: 17 seconds
> > Finished at: Fri Feb 01 21:19:56 GMT 2008
> >
>  
> I went back to 3.3-RC1 and it won't pass the same test either.  And I know
> I've built 3.3-RC1 from source before.  It then occurred to me that we
> moved our development environment to Java 1.6 since then.  Rebuilding
> the torque runtime (3.3-RC3) using Java 1.5 and the tests work just
> fine.
> It turns out that the order of the string values tested for in SqlExpressionTest.testBuildInStringObjectSqlEnumbooleanDB is different still in Sun Java 1.6 than 1.3 or 1.4 (for which cases already exist).  This list of re-ordered strings is getting a bit hackish, but a simple test for the order presented in jdk 1.6 "fixes" the issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


[jira] Updated: (TORQUE-109) Torque Runtime fails SqlExpressionTest with Java 1.6

Posted by "Brendan Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TORQUE-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brendan Miller updated TORQUE-109:
----------------------------------

    Attachment: sqlexpressiontest.patch

add the order of the strings as presented in Sun Java 1.6

> Torque Runtime fails SqlExpressionTest with Java 1.6
> ----------------------------------------------------
>
>                 Key: TORQUE-109
>                 URL: https://issues.apache.org/jira/browse/TORQUE-109
>             Project: Torque
>          Issue Type: Bug
>          Components: Runtime
>    Affects Versions: 3.3-RC1, 3.3-RC2, 3.3-RC3
>         Environment: Linux, Java 1.6
>            Reporter: Brendan Miller
>         Attachments: sqlexpressiontest.patch
>
>
> (posted on torque-devel)
> >
> > I had a question about 3.3-RC3.  Am I the only one for whom the
> > SqlExpressionTest fails?  Surely this cannot be.  I am building from a
> > clean svn co of the TORQUE_3_3_RC3 tag(s).
> >
> > $ maven jar:jar
> ..
> >     [junit] Running org.apache.torque.util.SqlExpressionTest
> >     [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 0.623 sec
> >     [junit] [ERROR] TEST org.apache.torque.util.SqlExpressionTest FAILED
> ..
> >
> > BUILD FAILED
> > File...... /home/brmiller/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
> > Element... fail
> > Line...... 181
> > Column.... 54
> > There were test failures.
> > Total time: 17 seconds
> > Finished at: Fri Feb 01 21:19:56 GMT 2008
> >
>  
> I went back to 3.3-RC1 and it won't pass the same test either.  And I know
> I've built 3.3-RC1 from source before.  It then occurred to me that we
> moved our development environment to Java 1.6 since then.  Rebuilding
> the torque runtime (3.3-RC3) using Java 1.5 and the tests work just
> fine.
> It turns out that the order of the string values tested for in SqlExpressionTest.testBuildInStringObjectSqlEnumbooleanDB is different still in Sun Java 1.6 than 1.3 or 1.4 (for which cases already exist).  This list of re-ordered strings is getting a bit hackish, but a simple test for the order presented in jdk 1.6 "fixes" the issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org