db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "V.Narayanan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2587) Connection.createClob() and Connection.createBlob() need to return locator support enabled LOB objects in the NetworkClient
Date Thu, 03 May 2007 10:49:15 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

V.Narayanan updated DERBY-2587:
-------------------------------

    Attachment: ConnectionLocatorWork_v3.stat
                ConnectionLocatorWork_v3.diff

Thanks again for the review of the patch Rick. I have attached a patch with all the issues
pointed out by you addressed. I saw a couple of errors which I have not seen before during
test runs. 

I have pasted a snippet of the error output below. I seem to get such errors sporadically
in my laptop. I am sure this error is not due to the using ExceptionUtil. But just to confirm
I will run the tests again in another machine and I will run the tests on a fresh workspace
in the laptop and revert back with the results.

I request for this patch to be considered for reviews and comments.

FormatableError:read error    : java.io.EOFException
FormatableError:class written : class org.apache.derby.impl.store.access.heap.Heap
FormatableError:read back as null
FormatableError:write id      : 467
java.io.EOFException
    at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:273)
    at org.apache.derby.iapi.services.io.CompressedNumber.readInt(CompressedNumber.java:127)
    at org.apache.derby.impl.store.access.conglomerate.ConglomerateUtil.readCollationIdArray(ConglomerateUtil.java:328)
    at org.apache.derby.impl.store.access.heap.Heap.localReadExternal(Heap.java:1219)
    at org.apache.derby.impl.store.access.heap.Heap.readExternal(Heap.java:1238)
    at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject(FormatIdInputStream.java:126)
    at org.apache.derby.iapi.services.io.DebugByteTeeOutputStream.checkObject(DebugByteTeeOutputStream.java:59)
    at org.apache.derby.iapi.services.io.FormatIdOutputStream.writeObject(FormatIdOutputStream.java:151)
    at org.apache.derby.iapi.services.io.ArrayUtil.writeArrayItems(ArrayUtil.java:75)
    at org.apache.derby.impl.sql.GenericStorablePreparedStatement.writeExternal(GenericStorablePreparedStatement.java:197)
    at org.apache.derby.iapi.services.io.FormatIdOutputStream.writeObject(FormatIdOutputStream.java:165)
    at org.apache.derby.iapi.types.UserType.writeExternal(UserType.java:286)
    at org.apache.derby.impl.store.raw.data.StoredPage.logColumn(StoredPage.java:6233)
    at org.apache.derby.impl.store.raw.data.StoredPage.logRow(StoredPage.java:3953)
    at org.apache.derby.impl.store.raw.data.UpdateOperation.writeOptionalDataToBuffer(UpdateOperation.java:255)
    at org.apache.derby.impl.store.raw.data.UpdateOperation.<init>(UpdateOperation.java:106)
    at org.apache.derby.impl.store.raw.data.LoggableActions.actionUpdate(LoggableActions.java:80)
    at org.apache.derby.impl.store.raw.data.StoredPage.doUpdateAtSlot(StoredPage.java:8521)
    at org.apache.derby.impl.store.raw.data.BasePage.updateAtSlot(BasePage.java:983)
    at org.apache.derby.impl.store.access.conglomerate.GenericConglomerateController.replace(GenericConglomerateController.java:468)
    at org.apache.derby.impl.sql.execute.RowChangerImpl.updateRow(RowChangerImpl.java:523)
    at org.apache.derby.impl.sql.catalog.TabInfoImpl.updateRow(TabInfoImpl.java:1100)
    at org.apache.derby.impl.sql.catalog.TabInfoImpl.updateRow(TabInfoImpl.java:975)
    at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.updateSPS(DataDictionaryImpl.java:3491)
    at org.apache.derby.iapi.sql.dictionary.SPSDescriptor.updateSYSSTATEMENTS(SPSDescriptor.java:1097)
    at org.apache.derby.iapi.sql.dictionary.SPSDescriptor.getPreparedStatement(SPSDescriptor.java:706)
    at org.apache.derby.iapi.sql.dictionary.SPSDescriptor.getPreparedStatement(SPSDescriptor.java:642)
    at org.apache.derby.impl.sql.compile.ExecSPSNode.generate(ExecSPSNode.java:177)


> Connection.createClob() and Connection.createBlob() need to return locator support enabled
LOB objects in the NetworkClient
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2587
>                 URL: https://issues.apache.org/jira/browse/DERBY-2587
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: V.Narayanan
>         Assigned To: V.Narayanan
>         Attachments: ConnectionLocatorWork_v1.diff, ConnectionLocatorWork_v1.stat, ConnectionLocatorWork_v2.diff,
ConnectionLocatorWork_v2.stat, ConnectionLocatorWork_v3.diff, ConnectionLocatorWork_v3.stat
>
>


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


Mime
View raw message