cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Senecal <>
Subject Writing blobs fails
Date Mon, 02 Jul 2012 21:19:46 GMT
Deploying Cayenne program to some new Linux servers, we're getting exceptions when the program
tries to write a blob: 

Caused by: java.sql.SQLException: Invalid argument(s) in call
	at oracle.jdbc.driver.T4CConnection.newOutputStream( ~[ojdbc6.jar:]
	at oracle.sql.BLOB.setBinaryStream( ~[ojdbc6.jar:]
	at org.apache.cayenne.access.DataNodeQueryAction.runQuery( ~[cayenne-server-3.1M3.jar:na]
	at org.apache.cayenne.access.DataNode.performQueries( ~[cayenne-server-3.1M3.jar:na]
	at org.apache.cayenne.access.DataDomainFlushAction.runQueries(
	at org.apache.cayenne.access.DataDomainFlushAction.flush(
	at org.apache.cayenne.access.DataDomain.onSyncFlush( ~[cayenne-server-3.1M3.jar:na]
	at org.apache.cayenne.access.DataDomain$2.transform( ~[cayenne-server-3.1M3.jar:na]
	at org.apache.cayenne.access.DataDomain.runInTransaction( ~[cayenne-server-3.1M3.jar:na]
	at org.apache.cayenne.access.DataDomain.onSyncNoFilters( ~[cayenne-server-3.1M3.jar:na]
	at org.apache.cayenne.access.DataDomain$DataDomainSyncFilterChain.onSync(
	at org.apache.cayenne.access.DataDomain.onSync( ~[cayenne-server-3.1M3.jar:na]
	at org.apache.cayenne.access.DataContext.flushToParent( ~[cayenne-server-3.1M3.jar:na]
	... 8 common frames omitted

As you can see from the trace, I'm still using M3. I found a couple of blogs related to this

One specific to Cayenne from 2010:

And one that describes what's happening (not Cayenne specific):

Has this problem been fixed in 3.1B1? Or is our only option to find and use an older Oracle
JDBC adapter. Or is there more to this issue than what I've found?


View raw message