You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2005/09/17 16:33:54 UTC

[jira] Commented: (DERBY-576) xaHelper in ij creates global id that is not the same across platforms

    [ http://issues.apache.org/jira/browse/DERBY-576?page=comments#action_12329608 ] 

Daniel John Debrunner commented on DERBY-576:
---------------------------------------------

Not sure if it is an ASCII/EBCDIC problem as Derby/Java only uses UniCode at runtime.

> xaHelper in ij creates global id that is not the same across platforms
> ----------------------------------------------------------------------
>
>          Key: DERBY-576
>          URL: http://issues.apache.org/jira/browse/DERBY-576
>      Project: Derby
>         Type: Bug
>   Components: Test
>     Versions: 10.1.1.0
>  Environment: OS/390 (z/OS 1.06) with IBM j2RE 1.4.2.
>     Reporter: Myrna van Lunteren
>     Priority: Minor

>
> The test xa/xaOffline1 fails on OS/390 because the global_xid generated by ij is different. 
> This value is created in org.apache.derby.impl.tools.ij.xaHelper - which class is only for testing. It tries to generate a the 2nd and 3rd part of the global_xid based on the database name, and in method XADataSourceStatement it is trying to do this by doing parser.stringvalue(dbname.image). It would be nice if this could get changed to something that gives the same result in ASCII and EBCDIC.

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