db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomohito Nakayama (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1610) Resolve difference of type compatibility between Embedded and NetworkServer/NetworkDriver
Date Tue, 12 Sep 2006 12:15:24 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1610?page=all ]

Tomohito Nakayama updated DERBY-1610:
-------------------------------------

    Attachment: XCL12.diff

I commented out code to accept XCL12 Exception in parameterMapping.java and execute it with
Embedded.

Attached file is the result.
There found XCL12 Exception was thrown in some cases.


By the way, I found questionable comment  in parameterMapping.java, as next .

	private static String checkForInvalidConversion(SQLException sqle)
	{
		if (sqle == null)
			return null;

		boolean unknownException = true;
		SQLException e = sqle;
		while (e != null && unknownException == true)
		{
			// XCL12 is temp
			if ("22005".equals(e.getSQLState()) ||
				"XCL12".equals(e.getSQLState()) ||
				e.getMessage().indexOf("Illegal Conv") != -1)
			{


It says that XCL12 is temp .....

What does this comment mean ...?
Exception of XCL12 is a kind of deprecated existance ..?

Does anyone know background about it ?

> Resolve difference of type compatibility between Embedded and NetworkServer/NetworkDriver
> -----------------------------------------------------------------------------------------
>
>                 Key: DERBY-1610
>                 URL: http://issues.apache.org/jira/browse/DERBY-1610
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server, Network Client
>            Reporter: Tomohito Nakayama
>         Assigned To: Tomohito Nakayama
>         Attachments: DERBY-1610.diff, DERBY-1610_2.diff, DERBY-1610_3.diff, parameterMapping.diff,
parameterMapping.diff, parameterMapping.diff.betweenEmbedded_and_NetworkServerNetworkClient,
parameterMapping_3.diff, TestNullChar.java, XCL12.diff
>
>
> There exists difference of type compatibility between  Embedded and NetworkServer/NetworkClient.
> This issue tries to resolve it.

-- 
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

        

Mime
View raw message