Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] DSRA9130E: Operation is not permitted by the application server: physicalConnectionWithin

Hi
This is the workaround:

public class Oracle11Platform_Customizer extends Oracle11Platform {

    public void setParameterValueInDatabaseCall(Object parameter,
PreparedStatement statement, int index, AbstractSession session) throws
SQLException {
    	if(parameter instanceof XMLTypeBindCallCustomParameter){
    		statement.setString(index,
((XMLTypeBindCallCustomParameter)parameter).toString());
    	}
    	else{
        	super.setParameterValueInDatabaseCall(parameter, statement, index,
session);    		
    	}
    }

}

Regards,
Dmitry


dmitryerkin wrote:
> 
> Hi
> I am trying to save data to the Oracle DB through the 11g oci driver.
> The application server which I use is websphere 7.0.
> In the end I am catching the next error:
> 
> java.lang.RuntimeException: java.sql.SQLFeatureNotSupportedException:
> DSRA9130E: Operation is not permitted by the application server:
> physicalConnectionWithin
> 	at com.ibm.ws.rsadapter.jdbc.WSJdbcWrapper.invoke(WSJdbcWrapper.java:242)
> 	at $Proxy36.physicalConnectionWithin(Unknown Source)
> 	at
> oracle.sql.DatumWithConnection.setPhysicalConnectionOf(DatumWithConnection.java:224)
> 	at oracle.sql.OPAQUE.<init>(OPAQUE.java:91)
> 	at oracle.xdb.XMLType.<init>(XMLType.java:723)
> 	at oracle.xdb.XMLType.createXML(XMLType.java:835)
> 	at oracle.xdb.XMLType.createXML(XMLType.java:825)
> 
> Could you give me a tip how to force Oracle not to use the
> physicalConnectionWithin method?
> Thanks.
> 
> Regards,
> Dmitry
> 

-- 
View this message in context: http://www.nabble.com/DSRA9130E%3A-Operation-is-not-permitted-by-the-application-server%3A-physicalConnectionWithin-tp20202081p20206760.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top