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 "Kathey Marsden (JIRA)" <ji...@apache.org> on 2009/01/30 02:25:59 UTC
[jira] Commented: (DERBY-576) xaHelper in ij creates global id that
is not the same across platforms
[ https://issues.apache.org/jira/browse/DERBY-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668698#action_12668698 ]
Kathey Marsden commented on DERBY-576:
--------------------------------------
In xaHelper we have:
private Xid makeXid(int xid)
{
return new ijXid(xid, databaseName.getBytes());
}
It should call getBytes with a consistent encoding so we don't get the diff.
> xaHelper in ij creates global id that is not the same across platforms
> ----------------------------------------------------------------------
>
> Key: DERBY-576
> URL: https://issues.apache.org/jira/browse/DERBY-576
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects 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.
-
You can reply to this email to add a comment to the issue online.