Varbinary error in DBUM connector reconcile from Oracle target into MSSql

I am getting the following exception thrown when I try to run a lookup reconcile from (target) Oracle 10g DB into Microsoft SQL Server 2005 (which is the OIM DB).
-> * Nested Exception (Underlying Cause) - com.microsoft.sqlserver.jdbc.SQLServerException: Operand type clash: varbinary is incompatible with text
The connector type is DBUM 9.1.0.3 and I am trying to reconcile the database roles lookup.
The OIM version is 9.1.0.2 with BP08 applied (upgrade path with 9.1.0.1 -> 9.1.0.2 + BP08)
The OIM database is Microsoft SQL server 2005 with SP2
sqljdbc version 1.2
Communication between OIM and Oracle has not been configured as 'secure'
The Database connection seems to be ok (I tested the connectivity/create/delete with the Utility provided to test the connector)
In the same environment I have a Active Directory against which I can run both trusted and untrusted reconciles, so it may suggest that any error is specific to the Oracle resource.
Thanks for any advice/tips
/M

Server log output @ DEBUG
---------->
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Task Name
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = DBUM Lookup reconciliation
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Exclusion List
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = NODATA
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Timeout check interval
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 30
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Initial pool size
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 3
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Database Name
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = OIMDB1
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Validate connection on borrow
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = true
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Database Driver
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = oracle.jdbc.driver.OracleDriver
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Pool excluded fields
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = Configuration Lookup
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Admin Password
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = ***************
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = IT Resource.Key
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 3
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Connection Timeout
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 1000
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Target supports only one connection
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = False
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Configuration Lookup
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = Lookup.DBUM.Oracle.Configuration
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = JDBC URL
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = jdbc:oracle:thin:@w2k03r2sp2.mydomain.com:1521:OIMDB1
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Connection Properties
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = SQLNET.AUTHENTICATION_SERVICES=(NTS),NAMES.DIRECTORY_PATH=(TNSNAMES)
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Max pool size
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 30
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Native connection pool class definition
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue =
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Inactive connection timeout
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 300
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Ref Data Provider Impl
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = oracle.iam.connectors.dbum.tasks.DBUMLookupReconTask
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = isSecure
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = No
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Min pool size
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 2
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Connection pooling supported
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = False
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = ResourceConnection class definition
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = oracle.iam.connectors.dbum.common.db.util.DBUMResourceConnectionImpl
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Query Properties File Path
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = /oracle/OIM/xellerate/XLIntegrations/DBUM/config/DBUMLookUpQuery.properties
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Connection wait timeout
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 60
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Pool preference
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = Default
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Connection Retries
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 2
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Lookup Definition Name
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = Lookup.DBUM.Oracle.Roles
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = IT Resource Name
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = Oracle
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Abandoned connection timeout
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 900
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Admin ID
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = system
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrName = Retry Interval
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : ITResourceAttrValue = 1000
2010-06-25 13:10:02,183 INFO [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : isPool : False
2010-06-25 13:10:02,183 INFO [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection : Connection Pooling has not been enabled. Will not use Connection Pooling Service
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : DBConnection:: FINISHED
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.tasks.DBUMLookupReconTask : initializeDBConnection:: FINISHED
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.tasks.DBUMLookupReconHelper : DBUMLookupReconHelper : Constructor invoked
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.tasks.DBUMLookupReconTask : init:: FINISHED
2010-06-25 13:10:02,183 DEBUG [OIMCP.LOOKUP] oracle.iam.connectors.common.tasks.LookupReconciliationTask : execute : Calling handle on the implementation class
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.tasks.DBUMLookupReconTask : handle:: STARTED
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.tasks.DBUMLookupReconHelper : getRecords:: STARTED
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.tasks.DBUMLookupReconHelper : getRecords : lookupQueryFilePath : /oracle/OIM/xellerate/XLIntegrations/DBUM/config/DBUMLookUpQuery.properties
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.tasks.DBUMLookupReconHelper : getRecords : lookupQueryName : Lookup.DBUM.Oracle.Roles
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.tasks.DBUMLookupReconHelper : getRecords : sqlInjectionKeywords : DROP ~DROP\t~INSERT ~INSERT\t~ALTER ~ALTER\t~CREATE ~CREATE\t~DELETE ~DELETE\t~UPDATE ~UPDATE\t~TRUNCATE ~TRUNCATE\t~EXEC ~EXEC\t~/*~--~;
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.tasks.DBUMLookupReconHelper : getRecords : SQL injection keywords : [Ljava.lang.String;@14b2312
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : getSqlQuery:: STARTED
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : loadQuery:: STARTED
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : loadQuery : Query properties file path : /oracle/OIM/xellerate/XLIntegrations/DBUM/config/DBUMLookUpQuery.properties
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : loadQuery : Finished reading in the Properties file{Lookup.DBUM.MSSQL.DBNames=SELECT name FROM sys.sysdatabases, Lookup.DBUM.Sybase.DefaultLang=SELECT alias FROM syslanguages , Lookup.DBUM.DB2.Schema=SELECT DISTINCT tabschema FROM syscat.tables, Lookup.DBUM.Oracle.Profiles=SELECT DISTINCT profile FROM dba_profiles, Lookup.DBUM.Oracle.Temp.Tablespace=SELECT tablespace_name FROM dba_tablespaces WHERE contents = 'TEMPORARY', Lookup.DBUM.Sybase.Databases=SELECT name FROM sysdatabases, Lookup.DBUM.MySQL.SchemaPrivileges=SELECT DISTINCT PRIVILEGE_TYPE FROM SCHEMA_PRIVILEGES, Lookup.DBUM.Oracle.Privileges=SELECT name FROM system_privilege_map, Lookup.DBUM.MSSQL.DefaultLang=SELECT name FROM sys.syslanguages, Lookup.DBUM.DB2.Tablespaces=SELECT DISTINCT tbspace FROM syscat.tablespaces, Lookup.DBUM.Sybase.Roles=select name from syssrvroles , Lookup.DBUM.Oracle.Tablespaces=SELECT tablespace_name FROM dba_tablespaces WHERE contents = 'PERMANENT', Lookup.DBUM.Oracle.Roles=SELECT role FROM dba_roles, Lookup.DBUM.MySQL.Schemata=SELECT SCHEMA_NAME FROM SCHEMATA, Lookup.DBUM.Sybase.DBGroups=SELECT name from sysusers where uid = gid, Lookup.DBUM.MSSQL.DBRoles=SELECT name FROM sysusers WHERE ( issqlrole = 1 or isapprole = 1)  AND (name NOT in ('PUBLIC'))                                   }
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : loadQuery:: FINISHED
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : getSqlQuery : SQL Query : SELECT role FROM dba_roles
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : isValidQuery:: STARTED
2010-06-25 13:10:02,183 INFO [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : isValidQuery : Query string : SELECT role FROM dba_roles
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : isValidQuery:: FINISHED
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : getSqlQuery : formattedQuery = SELECT role FROM dba_roles
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder : getSqlQuery:: FINISHED
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.tasks.DBUMLookupReconHelper : getRecords : sqlQuery : SELECT role FROM dba_roles
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : getNonPooledConnection:: STARTED
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : getNonPooledConnection : Admin ID : system
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : getNonPooledConnection : JDBC URL : jdbc:oracle:thin:@w2k03r2sp2.mydomain.com:1521:OIMDB1
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : getNonPooledConnection : Is Secure : false
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : getNonPooledConnection : Connection properties : null
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : getNonPooledConnection : Max Retries : 2
2010-06-25 13:10:02,183 DEBUG [OIMCP.DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection : getNonPooledConnection : Retry Interval : 1000
2010-06-25 13:10:02,199 ERROR [OIMCP.LOOKUP] ====================================================
2010-06-25 13:10:02,199 ERROR [OIMCP.LOOKUP] oracle.iam.connectors.common.tasks.LookupReconciliationTask : execute : Exception ocuured = null
2010-06-25 13:10:02,199 ERROR [OIMCP.LOOKUP] ====================================================
2010-06-25 13:10:02,199 ERROR [XELLERATE.SERVER] Class/Method: QuartzWrapper/run encounter some problems: Operand type clash: varbinary is incompatible with text
com.microsoft.sqlserver.jdbc.SQLServerException: Operand type clash: varbinary is incompatible with text
     at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(Unknown Source)
     at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.updateStatusToError(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.access$600(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
     at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
     at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
2010-06-25 13:10:02,214 ERROR [XELLERATE.SERVER] Class/Method: QuartzWrapper/execute encounter some problems: com.microsoft.sqlserver.jdbc.SQLServerException: Operand type clash: varbinary is incompatible with text
org.quartz.JobExecutionException: com.microsoft.sqlserver.jdbc.SQLServerException: Operand type clash: varbinary is incompatible with text [See nested exception: com.microsoft.sqlserver.jdbc.SQLServerException: Operand type clash: varbinary is incompatible with text]
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
     at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
     at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
* Nested Exception (Underlying Cause) ---------------
com.microsoft.sqlserver.jdbc.SQLServerException: Operand type clash: varbinary is incompatible with text
     at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(Unknown Source)
     at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.updateStatusToError(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.access$600(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
     at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
     at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
2010-06-25 13:10:02,214 INFO [org.quartz.core.JobRunShell] Job DEFAULT.DBUM Lookup reconciliation threw a JobExecutionException:
org.quartz.JobExecutionException: com.microsoft.sqlserver.jdbc.SQLServerException: Operand type clash: varbinary is incompatible with text [See nested exception: com.microsoft.sqlserver.jdbc.SQLServerException: Operand type clash: varbinary is incompatible with text]
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
     at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
     at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
* Nested Exception (Underlying Cause) ---------------
com.microsoft.sqlserver.jdbc.SQLServerException: Operand type clash: varbinary is incompatible with text
     at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(Unknown Source)
     at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
     at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.updateStatusToError(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.access$600(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
     at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
     at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
     at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

Similar Messages

  • Error While Querying DB Link from Oracle 10g to Postgres 8.2

    Hi,
    I have installed unixodbc 2.3.1, postgres odbc driver (psqlodbc-07.03) and dg4odbc 11.2
    On querying : select sysdate from dual@dblink_postgresql, the following error occurs:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a' : file not found {01000}
    ORA-02063: preceding 2 lines from DBLINK_POSTGRES
    Similar error appears in the trace file as well.
    [unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a'
    $ isql -v postgresql postgres postgres@2012
    [01000][unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a' : file not found
    [ISQL]ERROR: Could not SQLConnect
    However the file is present in the location and has no permission related problems.
    $ pwd
    /oracle/psqlodbc/lib
    $ ls -lrt
    total 2952
    -rwxr-xr-x 1 oracle oinstall 663 Mar 25 15:28 psqlodbc.la
    -rw-r--r-- 1 oracle oinstall 731419 Mar 25 15:28 libpsqlodbc.a
    -rw-r--r-- 1 oracle oinstall 12215 Mar 25 22:11 win_md5.o
    -rw-r--r-- 1 oracle oinstall 18100 Mar 25 22:11 options.o
    -rw-r--r-- 1 oracle oinstall 13196 Mar 25 22:11 misc.o
    -rw-r--r-- 1 oracle oinstall 4234 Mar 25 22:11 lobj.o
    -rw-r--r-- 1 oracle oinstall 122442 Mar 25 22:11 info.o
    -rw-r--r-- 1 oracle oinstall 26464 Mar 25 22:11 execute.o
    -rw-r--r-- 1 oracle oinstall 22070 Mar 25 22:11 environ.o
    -rw-r--r-- 1 oracle oinstall 8633 Mar 25 22:11 drvconn.o
    -rw-r--r-- 1 oracle oinstall 83758 Mar 25 22:11 convert.o
    -rw-r--r-- 1 oracle oinstall 62529 Mar 25 22:11 connection.o
    -rw-r--r-- 1 oracle oinstall 5685 Mar 25 22:11 columninfo.o
    -rw-r--r-- 1 oracle oinstall 19724 Mar 25 22:11 bind.o
    -rw-r--r-- 1 oracle oinstall 3768 Mar 25 22:11 tuplelist.o
    -rw-r--r-- 1 oracle oinstall 2816 Mar 25 22:11 tuple.o
    -rw-r--r-- 1 oracle oinstall 36770 Mar 25 22:11 statement.o
    -rw-r--r-- 1 oracle oinstall 10490 Mar 25 22:11 socket.o
    -rw-r--r-- 1 oracle oinstall 74140 Mar 25 22:11 results.o
    -rw-r--r-- 1 oracle oinstall 22686 Mar 25 22:11 qresult.o
    -rw-r--r-- 1 oracle oinstall 1977 Mar 25 22:11 psqlodbc.o
    -rw-r--r-- 1 oracle oinstall 25893 Mar 25 22:11 pgtypes.o
    -rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 pgapi30.o
    -rw-r--r-- 1 oracle oinstall 34071 Mar 25 22:11 parse.o
    -rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 odbcapi30.o
    -rw-r--r-- 1 oracle oinstall 41540 Mar 25 22:11 odbcapi.o
    -rw-r--r-- 1 oracle oinstall 11601 Mar 25 22:11 multibyte.o
    -rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 info30.o
    -rw-r--r-- 1 oracle oinstall 5972 Mar 25 22:11 gpps.o
    -rw-r--r-- 1 oracle oinstall 37546 Mar 25 22:11 dlg_specific.o
    My odbc.ini and init4dg4odbc looks like below:
    $ pg odbc.ini
    [postgresql]
    Description = Test to Postgres
    Driver = /oracle/psqlodbc/lib/libpsqlodbc.a
    Trace = Yes
    TraceFile = postgres.log
    Database = postgres
    Servername = TCLDSAPORTUAT
    UserName = postgres
    Password = postgres@2012
    Port = 5432
    Protocol = TCP
    ReadOnly = Yes
    RowVersioning = No
    ShowSystemTables = No
    ShowOidColumn = No
    FakeOidIndex = No
    $ pg initdg4odbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = postgresql
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_SHAREABLE_NAME = /oracle/unixodbc64/lib/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/oracle/unixodbc64/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    I found similar threads in the forum but could not find solution for this problem.
    Please help to resolve this issue.
    Thanks,
    Akanksha
    Edited by: 996208 on Mar 26, 2013 5:35 AM

    Hi Mike,
    I used the truss option for diagnosis, the output is really long and shows the same error at the end of execution:
    $truss isql -v postgresql postgres postgres@2012
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    access("/usr/lib/nls/msg/en_US/execerr.cat", 0) = 0
    _getpid()                                       = 27262980
    kopen("/usr/lib/nls/msg/en_US/execerr.cat", O_RDONLY) = 3
    kioctl(3, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
    kfcntl(3, F_SETFD, 0x0000000000000001) = 0
    kioctl(3, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
    kread(3, "\0\001 ù\001\001 I S O 8".., 4096) = 4096
    lseek(3, 0, 1) = 4096
    lseek(3, 0, 1) = 4096
    lseek(3, 0, 1) = 4096
    _getpid()                                       = 27262980
    lseek(3, 0, 1) = 4096
    _getpid()                                       = 27262980
    lseek(3, 0, 1) = 4096
    _getpid()                                       = 27262980
    lseek(3, 0, 1) = 4096
    lseek(3, 4639, 0) = 4639
    kread(3, "\t 0 5 0 9 - 1 9 4 E x".., 4096) = 1686
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    kioctl(1, 22528, 0x0000000000000000, 0x0000000000000000) = 0
    [01000][unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/psqlodbc.o' : file not found
    kwrite(1, " [ 0 1 0 0 0 ] [ u n i x".., 99)     = 99
    [ISQL]ERROR: Could not SQLConnect
    kwrite(2, " [ I S Q L ] E R R O R :".., 34) = 34
    kfcntl(1, F_GETFL, 0x0000000010DF0051) = 67110914
    kfcntl(2, F_GETFL, 0x0000000010DF0051) = 67110914
    _exit(1)
    Do I need to install postgres software also?
    While installing postgres odbc driver in /oracle/psqlodbc only two folders were created viz. lib and share
    In lib folder two files were created viz. psqlodbc.la and libpsqlodbc.a
    And everybody on the net seems to refer psqlodbc.so in the "Driver = " parameter
    Today, I extracted the libpsqlodbc.a by using ar -X 64 -xv libpsqlodbc.a again, still no file with .so has been created.
    $ ls -lrt
    total 2952
    -rwxr-xr-x 1 oracle oinstall 663 Mar 25 15:28 psqlodbc.la
    -rwxr-xr-x 1 oracle oinstall 731419 Mar 28 13:51 libpsqlodbc.a
    -rw-r--r-- 1 oracle oinstall 12215 Apr 01 13:50 win_md5.o
    -rw-r--r-- 1 oracle oinstall 3768 Apr 01 13:50 tuplelist.o
    -rw-r--r-- 1 oracle oinstall 2816 Apr 01 13:50 tuple.o
    -rw-r--r-- 1 oracle oinstall 36770 Apr 01 13:50 statement.o
    -rw-r--r-- 1 oracle oinstall 10490 Apr 01 13:50 socket.o
    -rw-r--r-- 1 oracle oinstall 74140 Apr 01 13:50 results.o
    -rw-r--r-- 1 oracle oinstall 22686 Apr 01 13:50 qresult.o
    -rw-r--r-- 1 oracle oinstall 1977 Apr 01 13:50 psqlodbc.o
    -rw-r--r-- 1 oracle oinstall 25893 Apr 01 13:50 pgtypes.o
    -rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 pgapi30.o
    -rw-r--r-- 1 oracle oinstall 34071 Apr 01 13:50 parse.o
    -rw-r--r-- 1 oracle oinstall 18100 Apr 01 13:50 options.o
    -rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 odbcapi30.o
    -rw-r--r-- 1 oracle oinstall 41540 Apr 01 13:50 odbcapi.o
    -rw-r--r-- 1 oracle oinstall 11601 Apr 01 13:50 multibyte.o
    -rw-r--r-- 1 oracle oinstall 13196 Apr 01 13:50 misc.o
    -rw-r--r-- 1 oracle oinstall 4234 Apr 01 13:50 lobj.o
    -rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 info30.o
    -rw-r--r-- 1 oracle oinstall 122442 Apr 01 13:50 info.o
    -rw-r--r-- 1 oracle oinstall 5972 Apr 01 13:50 gpps.o
    -rw-r--r-- 1 oracle oinstall 26464 Apr 01 13:50 execute.o
    -rw-r--r-- 1 oracle oinstall 22070 Apr 01 13:50 environ.o
    -rw-r--r-- 1 oracle oinstall 8633 Apr 01 13:50 drvconn.o
    -rw-r--r-- 1 oracle oinstall 37546 Apr 01 13:50 dlg_specific.o
    -rw-r--r-- 1 oracle oinstall 83758 Apr 01 13:50 convert.o
    -rw-r--r-- 1 oracle oinstall 62529 Apr 01 13:50 connection.o
    -rw-r--r-- 1 oracle oinstall 5685 Apr 01 13:50 columninfo.o
    -rw-r--r-- 1 oracle oinstall 19724 Apr 01 13:50 bind.o
    Thanks,
    Akanksha

  • Error, while pushing the data from Oracle to MSSQL.

    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.

    [email protected] wrote:
    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.This is an error from SQL Server being passed back to Oracle so you can see the problem.
    What it is saying is that you are trying to insert (or update) data to a database view and that view contains a column that is either a constant (literal) value or is derived (a calculation, formula or string concatenation etc.).
    As such, you can't insert or update data on that column because it has nowhere to go on the database table(s) that underly the view.

  • How to I convert data from oracle database into excel sheet

    how to I convert data from oracle database into excel sheet.
    I need to import columns and there datas from oracle database to microsoft excel sheet.
    Please let me know the different ways for doing this.
    Thanks.

    asktom.oracle.com has an excellent article on writing a PL/SQL procedure that dumps data to an Excel spreadsheet-- search for 'Excel' and it'll come up.
    You can also use your favorite connection protocol (ODBC, OLE DB, etc) to connect from Excel to Oracle and pull the data out that way.
    Justin

  • Error Connecting to TFS 2013 from Oracle PL/SQL using MSSCCI

    Hi,
    previously we were able to connect to TFS 2008 through MSSCCI.
    we have MSSCCI 2013 provider, Teamexplorer 2013 andVersion Control Interface installed.
    While trying to connect to TFS 2013 from ORacle PL/SQL Developer 10.5 through MSSCCI ; there is an error coming up when we enter the server url ... it is allowing us only until <tfs home url> without collection...
    "The request failed with the error message
    <head><title>Document moved></title></head>
    <body><h1>Object Model</h1>This document may be found<aHREF=/<Collectionname>/Services/v1.0/ServerStatus.asmx>">http://<tfshome
    url>/<Collectionname>/Services/v1.0/ServerStatus.asmx> But the plugin picks it up automatically.. Am i correct?
    How to resolve the above error?
    Thank you
    Su

    Hi Su, 
    Thanks for your post.
    How do you manually build  your PL/SQL/Oracle projects?
    TFS Build invoke MSBuild command to build project/solution on build agent machine by default. If these projects can be built using MSBuild command line manually, then we can use TFS Build(default build process template) to build these projects.
    If these projects need be built using another complier, and this compiler support run the command line to invoke it, so you can add the InvokeProcess activity(execute the command line) to invoke this compiler to build these projects in build process template,
    then create build definition using this customized build process template.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • GetBlob Error During fetching of Images from Oracle 10g

    Dear Sir,
    By using getBlob Function ,i am getting following error:"Unsupportable action has performed".
    I am using oracle 10g.I am using java code to retrieve image from Oracle 10g.
    So plz help me by giving full code with explaination.
    Thankyou.
    Yours Obedient
    Dipesh Kumar

    I seriously doubt Oracle would write error messages with such atrocious English.
    So it's almost certainly an error from either your own code or code you're calling in some library or part of the application you're not mentioning that noone here except you has knowledge of.
    Ergo, we're not going to be able to help you unless you provide a lot more information.
    And no, we're not going to write your code for you.

  • Error when reading BLOB field from Oracle usin Toplink

    We experience a very annoying problem when trying to read a BLOB
    field from Oracle 8.1.6.2.0 using TOPLink 3.6.3. I have attached the
    exception stack trace that is reported to the console. As far as I can
    judge a fault at oracle.sql.LobPlsqlUtil.plsql_length() happens first and
    then at TOPLink.Private.DatabaseAccess.DatabasePlatform.convertObject().
    The exception is permanently repeating that is very critical for us.
    ServerSession(929808)--Connection(5625701)--SELECT LOBBODY, ID, LABEL, FK_OBJECT_ID, FK_OBJECTTYPE FROM NOTE WHERE (ID = 80020)
    INTERNAL EXCEPTION STACK:
    java.lang.NullPointerException
    at oracle.sql.LobPlsqlUtil.plsql_length(LobPlsqlUtil.java:936)
    at oracle.sql.LobPlsqlUtil.plsql_length(LobPlsqlUtil.java:102)
    at oracle.jdbc.dbaccess.DBAccess.lobLength(DBAccess.java:709)
    at oracle.sql.LobDBAccessImpl.length(LobDBAccessImpl.java:58)
    at oracle.sql.BLOB.length(BLOB.java:71)
    at TOPLink.Private.Helper.ConversionManager.convertObjectToByteArray(ConversionManager.java:309)
    at TOPLink.Private.Helper.ConversionManager.convertObject(ConversionManager.java:166)
    at TOPLink.Private.DatabaseAccess.DatabasePlatform.convertObject(DatabasePlatform.java:594)
    at TOPLink.Public.Mappings.SerializedObjectMapping.getAttributeValue(SerializedObjectMapping.java:43)
    at TOPLink.Public.Mappings.DirectToFieldMapping.valueFromRow(DirectToFieldMapping.java:490)
    at TOPLink.Public.Mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:808)
    at TOPLink.Private.Descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:173)
    at TOPLink.Private.Descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:325)
    at TOPLink.Private.Descriptors.ObjectBuilder.buildObjectsInto(ObjectBuilder.java:373)
    at TOPLink.Public.QueryFramework.ReadAllQuery.execute(ReadAllQuery.java:366)
    at TOPLink.Public.QueryFramework.DatabaseQuery.execute(DatabaseQuery.java:406)
    I have started the application with Oracle JDBC logging on and found that the problem may originate in a possible lack of syncronization in the pooled connection implementation:
    DRVR FUNC OracleConnection.isClosed() returned false
    DRVR OPER OracleConnection.close()
    DRVR FUNC OracleConnection.prepareCall(sql)
    DRVR DBG1 SQL: "begin ? := dbms_lob.getLength (?); end;"
    DRVR FUNC DBError.throwSqlException(errNum=73, obj=null)
    DRVR FUNC DBError.findMessage(errNum=73, obj=null)
    DRVR FUNC DBError.throwSqlException(reason="Logical handle no longer valid",
    SQLState=null, vendorCode=17073)
    DRVR OPER OracleConnection.close()
    so the prepareCall() is issued against an already closed connection and the
    call fails.
    I assume we have been using a JDBC 2.0 compliant driver. We tried out
    drivers that Oracle supplies for 8.1.6, 8.1.7 versions. To be true I
    couldn't find any information about the JDBC specification they conform to. Does it
    mean that these drivers may not be 100%-compatible with JDBC 2.0 Spec?
    How can I find out if they are 2.0 compliant?
    Also I have downloaded Oracle 9.2.0.1 JDBC drivers. This seemed to work
    fine until we found another incompatibility which made us return back to
    8.1.7 driver:
    UnitOfWork(7818028)--Connection(4434104)--INSERT INTO STATUSHISTORY (CHANGEDATE, FK_SET_STATUS_ID) VALUES ({ts '2002-10-17 16:46:54.529'}, 2)
    INTERNAL EXCEPTION STACK:
    java.sql.SQLException: ORA-00904: invalid column name
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.jav
    a:2047)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java
    :1940)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatemen
    t.java:2709)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepare
    dStatement.java:589)
    at TOPLink.Private.DatabaseAccess.DatabaseAccessor.executeDirectNoSelect(
    DatabaseAccessor.java:906)
    at TOPLink.Private.DatabaseAccess.DatabaseAccessor.executeNoSelect(Databa
    seAccessor.java:960)
    at TOPLink.Private.DatabaseAccess.DatabaseAccessor.executeCall(DatabaseAc
    cessor.java:819)
    at TOPLink.Public.PublicInterface.UnitOfWork.executeCall(UnitOfWork.java:

    Hello Yury,
    I believe the problem is that TopLink's ServerSession by default executes read queries concurrently on the same connection. It does this to reduce the number of required connections for the read connection pool. Normally this is a good concurrency optimization, however some JDBC drivers have issues when this is done. I had thought that with Oracle JDBC 8.1.7 this issue no longer occurred, but perhaps it is only after version 9. I believe that the errors were only with the thin JDBC driver, not the OCI, so using the OCI driver should also resolve the problem. Using RAW instead of BLOB would also work.
    You can configure TopLink to resolve this problem through using exclusive read connection pooling.
    Example:
    serverSession.useExclusiveReadConnectionPool(int minNumerOfConnections, int maxNumerOfConnections);
    This will ensure that TopLink does not to try to concurrently execute read queries on the same connection.
    I'm not exactly sure what your second problem with the 9.x JDBC drivers is. From the SQL and stack trace it would seem that the driver does not like the JDBC timestamp syntax. You can have TopLink print timestamp in Oracle's native SQL format to resolve this problem.
    Example:
    serverSessoin.getLogin().useNativeSQL();
    Make sure you configure your server session before you login, or if using the TopLink Session Manager perform the customizations through a SessionEventListener-preLogin event.

  • Error on converting EXECUTE IMMEDIATE from oracle to SQL

    Hi,
    I am converting db from oracle to SQL using SSMA.
    I get following error while converting schema-
    This is the statement on source side (oracle) which is giving below error -EXECUTE IMMEDIATE sqlStat INTO objects_count; 
             *   SSMA error messages:
             *   O2SS0013: EXECUTE IMMEDIATE statement was converted into EXEC(...) statement, but dynamic string was not converted. It must be converted manually.
             EXECUTE (@sqlStat)
    Another issue is that I get below warning when converting this - temHEX NUMBER;
    from oracle to sql.
             *   SSMA warning messages:
             *   O2SS0356: Conversion from NUMBER datatype can cause data loss.
    It is converting to this in SQL - @temHEX float(53), 
    Please suggest.
    Thanks.

    Hi,
    I faced same error again-
    Below is the EXECUTE IMMEDIATE statement. Please help.
                               *   SSMA error messages:
                               *   O2SS0013: EXECUTE IMMEDIATE statement was converted into EXEC(...) statement, but dynamic string was not converted. It must be converted manually.
                               EXECUTE (
                                  'insert into Table1 (C_REPORTNAME,C_REPORTCODE,C_DATE,C_WEEK,C_MONTH,C_YEAR,'
                                   + 
                                  ISNULL(@sColumnNames, '')
                                   + 
                                  ') values ('''
                                   + 
                                  ISNULL(@sReportName, '')
                                   + 
                                   + 
                                  ISNULL(@sReportCode, '')
                                   + 
                                   + 
                                  ISNULL(CAST(@dInputDate AS nvarchar(max)), '')
                                   + 
                                   + 
                                  ISNULL(@sWeekNumber, '')
                                   + 
                                   + 
                                  ISNULL(@sMonth, '')
                                   + 
                                   + 
                                  ISNULL(@sYear, '')
                                   + 
                                   + 
                                  ISNULL(@sName, '')
                                   + 
                                   + 
                                  ISNULL(@sDescription, '')
                                   + 
                                   + 
                                  ISNULL(CAST(@nFail_Count AS nvarchar(max)), '')
                                   + 
                                   + 
                                  ISNULL(CAST(@nPass_Count AS nvarchar(max)), '')
                                   + 
                                   + 
                                  ISNULL(CAST(@nPassing_Fraction AS nvarchar(max)), '')
                                   + 
                                   + 
                                  ISNULL(@sEnabled, '')
                                   + 

  • Error while reading excel file from application server into internal table.

    Hi experts,
    My requirement is to read an excel file from application server into internal table.
    Hence I have created an excel file fm_test_excel.xls in desktop and uploaded to app server using CG3Z tcode (as BIN file type).
    Now in my program I have used :
    OPEN DATASET v_filename FOR INPUT IN text mode encoding default.
    DO.
    READ DATASET v_filename INTO wa_tab.
    The statement OPEN DATASET works fine but I get a dump (conversion code page error) at READ DATASET statement.
    Error details:
    A character set conversion is not possible.
    At the conversion of a text from codepage '4110' to codepage '4103':
    - a character was found that cannot be displayed in one of the two
    codepages;
    - or it was detected that this conversion is not supported
    The running ABAP program 'Y_READ_FILE' had to be terminated as the conversion
    would have produced incorrect data.
    The number of characters that could not be displayed (and therefore not
    be converted), is 445. If this number is 0, the second error case, as
    mentioned above, has occurred.
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_CONVERSION_CODEPAGE', was not
    caught and
    therefore caused a runtime error.
    The reason for the exception is:
    Characters are always displayed in only a certain codepage. Many
    codepages only define a limited set of characters. If a text from a
    codepage should be converted into another codepage, and if this text
    contains characters that are not defined in one of the two codepages, a
    conversion error occurs.
    Moreover, a conversion error can occur if one of the needed codepages
    '4110' or '4103' is not known to the system.
    If the conversion error occurred at read or write of  screen, the file
    name was '/usr/sap/read_files/fm_test_excel.xls'. (further information about
    the file: "X 549 16896rw-rw----201105170908082011051707480320110517074803")
    Also let me know whether this is the proper way of reading excel file from app server, if not please suggest an alternative .
    Regards,
    Karthik

    Hi,
    Try to use OPEN DATASET v_filename FOR INPUT IN BINARY mode encoding default. instead of OPEN DATASET v_filename FOR INPUT IN text mode encoding default.
    As I think you are uploading the file in BIN format to Application server and trying to open text file.
    Regards,
    Umang Mehta

  • Import data from Oracle table into flat file

    How to import the data in the oracle table into flat file using UTL File of PL/SQL....
    I am new in PL/SQL..
    can someone help me in writing query?

    Note : Not Tested.
    DECLARE
    V1 VARCHAR2(32767);
    F1 UTL_FILE.FILE_TYPE;
    cursor c1 is select ename,empno from emp;
    r_c1 c1%rowtype;
    BEGIN
    -- In this example MAX_LINESIZE is less than GET_LINE's length request
    -- so the number of bytes returned will be 256 or less if a line terminator is seen.
    open c1;
    F1 := UTL_FILE.FOPEN('MYDIR','MYFILE','W',256);
    loop
    fetch c1 into r_c1;
    v1:= r_c1.ename||''||To_char(r_c1.empno);
    UTL_FILE.PUT_LINE (F1, v1,TRUE);
    v1:= null;
    Exit when c1%not found;
    end loop;
    UTL_FILE.FCLOSE(F1);
    END;
    http://download.oracle.com/docs/cd/B19306_01/appdev.102
    ------------------------------------------------------------------

  • Error when importing photos/videos from iphone 4 into Picassa.....

    When attempting to import photos and videos from iphone 4 into Picassa (v3.8) I get the following error message:
    "An error has occurred while attempting to import. Either the source is unavailable or the destination is full or read only. (1)"
    Any thoughts? I know this is an iphone specific issue as I was successfully able to import from another camera.
    P.S Quicktime up to date and quicktime movies checked in Picassa.

    I have the same issue. It started only after the most recent iPhone update though, leading me to think it's the phone, not iPhoto.
    The pictures that do import are streaked/blurry with terrrible colour. I can still send them via email but they're smaller files.
    Does anyone know another way to get my full-res pictures off my iPhone?
    [edit] I found out that I could use Apple's Image Capture software, which worked like a charm but the pictures themselves are a mess. I'll have to try resetting.

  • Error in setting datasource location from oracle to sql server

    Post Author: jonathanaramburo
    CA Forum: Data Integration
    Hello,
    I have an application that uses a table named "events" which conflicts the sys.events view in master database in sql server. The error i was encountering is that, whenever i tried to set the datasource location of my crystal report from its previous connection oracle to sql server, i get an error saying that some of the fields has not been updated because theres no matching fields to the current connection. It seems that crystal is pointing on sys.events view on master db and not on the events table in myDb database. How can I tell crystal reports to not pick up sys.events and get only myDB.events table.
    Thank you in advance,
    Thanks,
    Jonathan

    The exact statement in oracle side which causing this error (O2SS0050:
    Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.) is below:
    dStartDate:= to_date(sStartDate,'MON-YYYY');
    Statement causing error O2SS0050:
    Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported is below.
    nCount2:= length(regexp_replace(sDataRow,'[^,]'));
    So there is no statement which is using to_date(VARCHAR2,
    CHAR) and regexp_replace(VARCHAR2, CHAR) in as such. 'MON-YYYY'  and '[^,]'
    are CHAR values hence SSMA is unable to convert it from varchar2 to char.
    Regarding SYSDATE issue, you mean to put below code in target(SQL) side in SSMA ?
    dDate date := sysdate;
    Thanks.

  • BI Publisher throwing error when creating data model from Oracle BI Answers

    I'm having issues creating BI Publisher Datamodel using BI EE as a source. When i select the answer and put the inforamtion needed and hit OK ....it's start doing soehting and then it get there ....
    In the logs:
    It is weird that the Logs is having a message saying that path was not found "/users/mpoler/Data Model without Title.xmd"/_datamodel.xmd
    Any clue on what is going on?
    Thanks!
    Matias

    Can you try using a different account to run this report, if possible use someone from a different Application role.
    The last Time I saw something similar was when the integration between BIP and Analysis was done incorrectly and a few roles were missed.
    Letus know what you find out..

  • Error during dump file Import  from 11g DB into XE database

    Hi ,
    I have a dump file exported from a 11g database. First i imported this dump file into another 11gdb test database and it worked fine.
    Later i tried to import it into an XE database. But import completed with error message as shown below. This error message appeared only for few tables.
    IMP-00015: following statement failed because the object already exists:
    Note - I created a new schema in XE database and tried to import the dump into this schema. So there is no chance for the object to exist before the import operation.
    Does anyone have any idea why import in XE fails? Is there any limitation/restriction in XE?
    FYI - All the tables that failed to import contains LOB data in it. Is LOB datatype is not supported in XE? Does this cause the problem during import?
    Regards,
    Ashok Kumar.G

    Going from 11g to XE(10g) is problematic for two reasons 1st - 11g exports not necessarily compatible with an earlier version and 2nd I have found that in some cases 11g exports can have problems when importing back into another 11g(11.1.0.7) instance due to stack overruns whereas an 10g export to 11g normally works fine..
    ./bob h.

  • How to query data from Oracle, MySQL, and MSSQL?

    For an environment consisting of Oracle 11g/12c enterprise edition, MySQL 5.7 community edition, and MSSQL 2008/2012 stanard/enterprise edition, is there any major issue using DG4ODBC to query data from all 3 platforms?
    Is there other free alternatives?
    If the queried data is mostly contained in MySQL or MSSQL, will it be more efficient to query from MySQL or MSSQL?
    If yes, any suggestion of how to do it in those platforms? I know MSSQL can use linked server but it is quite slow.

    mkirtley-Oracle wrote:
    Hi Ed,
        It is semantics.  By multiple instances I mean you have the gateway installed in an ORACLE_HOME which has 1 listener. However, if you are connecting to different non-Oracle databases or different individual databases of that non-Oracle database then you need multiple gateway instances for each database being connected.  I did not mean that you need a gateway installed in a separate ORACLE_HOME for each non-Oracle database to which you are connecting.
    Each of these would have a separate instance file within that ORACLE_HOME/hs/admin directory with the connection details for the non-Oracle database to which that instance connects.. So, you would have -
    initgtw1.ora - connects to MySQL
    initgtw2.ora - connect to SQL*Server northwind database
    initgtw3.ora - connect to SQL*Server test database
    etc
    etc
    Each of these instances would have a separate entry in the gateway listener.ora.
    In MOS have a look at this note -
    How To Add A New Database or Destination To An Existing Gateway Configuration (Doc ID 1304573.1)
    Regards,
    Mike
    Ah yes, we are in agreement, it was just semantics.  Thanks.

Maybe you are looking for

  • No service for system SAPNID, client 800 in Integration Directory

    Hi All, I am getting “No service for system SAPNID, client 800 in Integration Directory” in tRFC monitor (SM58). My scenario is IDOC to File. I did following step in R3. 1.     Created RFC destination pointing to XI systems (name:XID) 2.     Created

  • Syncing itunes from apple tv back to computer

    my purchased songs only sync from computer to apple tv but if i buy them on apple tv they don't sync back. Is there some thing i need to adjust

  • Able to create new instances in Platform Edition 9.0?

    According to the Platform Edition 9.0 docs http://docs.sun.com/app/docs/doc/819-3662/6n5s9hmtq?a=view , it is possible to create new instances using create-instance command. However, I encountered an invalid command error in asadmin when trying to in

  • How can I move to row number with a search Query

    Hi everybody, Does anybody know how can I located a record in a multiple block, with a SQL sentence, using bind variables. Thanks in adviced

  • Delete transfer order

    hello, friends. i want to delete a delivery that has been previously billed.  the billing document has been cancelled and the goods issue reversed.  however, i could not use LT0G as the document items are locked.  i tried to cancel the transfer order