Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Upload/Download Sample doesnt work with DB2 database

$
0
0
Hello,

I tried to get the upload/download sample with mediaLibrary.ds.xml to work with DB2 database. I always got an error SQLCODE=-270, SQLSTATE=42997, SQLERRMC=63 which means i cant use LOB-Types columns in select statements with this type of cursor. Is it possible to change the cursor type to FORWARD_ONLY? I couldnt find anything in docu.

Thx for any hint and have a happy new year

The server log is
Code:

2014-12-28 18:03:16,460 [3-38] DEBUG SQLDriver - [builtinApplication.mediaLibrary_fetch] About to execute SQL query in 'DB2' using connection '2112163862'
=== 2014-12-28 18:03:16,460 [3-38] INFO  SQLDriver - [builtinApplication.mediaLibrary_fetch] Executing SQL query on 'DB2': SELECT COUNT(*) FROM MEDIALIBRARY WHERE (MEDIALIBRARY.id=1)
=== 2014-12-28 18:03:16,462 [3-38] DEBUG SQLTransform - [builtinApplication.mediaLibrary_fetch] isBeforeFirst()/isAfterLast() throwing exceptions - attempting workaround
=== 2014-12-28 18:03:16,462 [3-38] DEBUG Timing - [builtinApplication.mediaLibrary_fetch] SQLTransform (1 rows): 0ms
=== 2014-12-28 18:03:16,462 [3-38] DEBUG Timing - [builtinApplication.mediaLibrary_fetch] Counted 1 total rows in result set: 2ms
=== 2014-12-28 18:03:16,463 [3-38] DEBUG SQLDataSource - [builtinApplication.mediaLibrary_fetch] JDBC driver windowed select rows 0->75, result size 75. Query: SELECT MEDIALIBRARY.id, MEDIALIBRARY.title, MEDIALIBRARY.content_date_created, MEDIALIBRARY.content_filename, MEDIALIBRARY.content_filesize, MEDIALIBRARY.content FROM MEDIALIBRARY WHERE (MEDIALIBRARY.id=1)
=== 2014-12-28 18:03:16,464 [3-38] DEBUG SQLConnectionManager - [builtinApplication.mediaLibrary_fetch] About to close  with hashcode "2112163862"
=== 2014-12-28 18:03:16,485 [3-38] DEBUG PoolableSQLConnectionFactory - [builtinApplication.mediaLibrary_fetch] makeObject() created a pooled Connection '495628720'
=== 2014-12-28 18:03:16,487 [3-38] DEBUG DSRequest - About to free up resources for request of type fetch on DataSource mediaLibrary
=== 2014-12-28 18:03:16,487 [3-38] WARN  RequestContext - dsRequest.execute() failed:


Viewing all articles
Browse latest Browse all 4756

Trending Articles