Transaction propagation from Oracle 8i or 9i to OC4J V2?

We have a very large Oracle 8i (8.1.6)-based application that uses PL/SQL exclusively for business logic; there are a few hundred user packages. We are considering a gradual introduction of EJB's into the mix, most likely via OC4J V2 when it is released.
Issue:
Because of the significant legacy of PL/SQL, it will be necessary to NOT ONLY be able to invoke PL/SQL and SQL from the EJB residing in the app server in a global transaction, BUT ALSO go the other direction: have a PL/SQL proc/function call out to an EJB in the app server. I theorize we can do this by setting up Java Stored Procedures that act as a facade for invoking EJB methods.
Scenario:
Oracle Forms web client invokes PL/SQL stored procedure, which invokes Java stored procedure, which looks up and invokes an EJB (EJB spec 2.0) in the app server, which invokes PL/SQL stored procedure or just plain SQL via JDBC.
Forms client -> PL/SQL SP -> Java SP -> EJB (on separate app server) -> PL/SQL or SQL.
Questions:
1) Assuming using OC4J V2 as the app server and Oracle 8.1.6 as database at both ends, will a transaction begun with the client (e.g. Forms 6i) propagate to all tiers of the call chain above? If not, why?
2) If it does work, is there anything special that must be coded in the Java stored proc, e.g. anything special usage of JTA?
3) Will it work the same in Oracle 8.1.6 and Oracle 9i?
4) Are there any problems using J2EE 1.3 API's from within Java stored procedures, given that Oracle 8i and 9i have backlevel built-in support for many of these features? In particular, I understand JServer has EJB 1.1 builtin, but what if I want to use an EJB 2.0 running in an external app server?
5) Are there any JTA incompatibilities between 8i/9i and J2EE 1.3 implementations (e.g. OC4J V2), particularly that would hamper this scenario?
6) If all is good so far, could I expect to replace OC4J with another J2EE 1.3 compliant app server (e.g. WebLogic or WebSphere) and still have same results?
7) Is it necessary to setup 2-phase commit in Oracle if the both the client-invoked and EJB-invoked databases in the above example are the same Oracle instance?

Hi Scott,
Answers appear below your questions...
Questions:
1) Assuming using OC4J V2 as the app server and Oracle 8.1.6 as database at both ends, will a transaction begun with the client (e.g. Forms 6i) propagate to all tiers of the call chain above? If not, why?Client side transactions are not supported (as far as I know), so
the answer is "no" and the reason is "not supported".
2) If it does work, is there anything special that must be coded in the Java stored proc, e.g. anything special usage of JTA?Irrelevant, since client-side transactions aren't supported.
3) Will it work the same in Oracle 8.1.6 and Oracle 9i?Yes, since neither 8i or 9i support client-side transactions.
Besides (again, as far as I know), both 8i and 9i both have the
same embedded JVM.
4) Are there any problems using J2EE 1.3 API's from within Java stored procedures, given that Oracle 8i and 9i have backlevel built-in support for many of these features? In particular, I understand JServer has EJB 1.1 builtin, but what if I want to use an EJB 2.0 running in an external app server? The database (8i and 9i) EJB container is not the same as OC4J. In
fact (as far as I know), Oracle recommends NOT using the embedded
container and using OC4J only. This means that in order for a java
stored procedure to lookup an OC4J EJB, you need to load the OC4J
JAR files into the database (via the "loadjava" tool). I haven't
tried it, but someone else posted to the forum saying he would try
it -- but I don't know how his experiment turned out. However, as
a workaround, you can use RMI in a java stored procedure. I have
successfully done this.
5) Are there any JTA incompatibilities between 8i/9i and J2EE 1.3 implementations (e.g. OC4J V2), particularly that would hamper this scenario?I don't know how to answer this question, sorry.
6) If all is good so far, could I expect to replace OC4J with another J2EE 1.3 compliant app server (e.g. WebLogic or WebSphere) and still have same results?Theoretically, J2EE compliant applications should be able to be
deployed and executed in any J2EE compliant application server.
However, another person in this forum had some difficulties in
migrating a ready built application from weblogic (I believe) to
OC4J. I think the problems were due to the application server
specific configuration differences (but I'm not sure).
7) Is it necessary to setup 2-phase commit in Oracle if the both the client-invoked and EJB-invoked databases in the above example are the same Oracle instance? I'm not sure about the status of two-phase commit support in OC4J.
Again, there is a (still unresolved, I think) thread in this forum
about some buggy commit behavious for CMP entity beans. However,
if you're asking this in the context of your scenarion (involving
client-side transactions), then it is moot, since, as I said earlier,
client side transactions are unsupported.
Hope this will help you,
Avi.

Similar Messages

  • Transaction propagation from my EJB to a SOA server

    Hi,
    I am developing ejb Stateless wich need to invoke bpel process. To comunicates from my EJB to SOA I'm using Worklist API an EM API.My SOA server is given me a Out Of Memory and I have seen into diagosis file that my EJB statless Trasaccitóns are trasmited to SOA Server, Is it a normal behaviour? How can avoid a Transactión trasmision?
    Thaks.

    Hi,
    You must analyze inside  the Worklist API and your SOA Server.
    Which SOA Server are using ?
    Which JVM configurations are you using to start the SOA server and Container Server ?
    How much free memory has your machine with started JVM and while running the code section ?
    If everything above going well and if OutOfMemory happen inside your application, you should try Weak and Soft Reference (Be careful with your development while coding).

  • How to connect to a Sql server from Oracle using db link

    Hi All,
    Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
    Thank you,
    Praveen.

    we have 2 products - DG4MSQL and DG4ODBC.
    DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
    DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
    Check out Metalink and you'll find notes how to configure both products.
    For a generic overview:
    Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
    And the setup notes:
    DG4ODBC
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
    Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
    Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
    Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
    DG4MSQL
    Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
    Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
    Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux

  • Transactional Behaviour of Oracle B2B 11g

    Hi Gurus/Anuj,
    Can you please explain Transactional Behaviour in Oracle B2B 11g?
    For a Inbound Interface I have three Mediators(Mediator M1,M2 and M3)
    Partner push a file at file location --> B2B Interface used in M1 ,through B2B Binding,picks the FIle and brings to SOA and--> Give it to M2 and M3.
    I need to perform Error Handling in this case..
    M1 M2 and M3 are Asynchronous,Synch and Synch in nature and I guess M1 will propogate it's transaction to M2 and M2 will propogate it's transaction to M3.
    Routing rules are Sequential..
    Note : Fault policies are applicable to parallel routing rules only. For sequential routing rules, the fault goes back to the caller and it is the responsibility of the caller to handle the fault.
    Am I correct in understanding that :
    B2B Adapter in M1 is the caller and M2 and M3 ,as being Synchronous,will follow M1'a transaction.
    And if a Fault goes into M2 and M3,it will go back to the caller,means M1.
    And in M1 we can have Fault-Handling.
    Also please explain Transactional Behaviour in Oracle B2B 11g?
    Is B2B is Asynchronous in nature?
    Is B2B Adapter a Transactional Adapter?
    What category of JCA adapter is Oracle B2B adapter?
    Thanks
    Vivek
    Edited by: Vivek on May 19, 2011 11:41 PM
    Edited by: Vivek on May 19, 2011 11:54 PM

    Hi Vivek,
    Also please explain Transactional Behaviour in Oracle B2B 11g?Oracle B2B depends upon the underlying transport being used for transactional behavior. As far as transaction propagation is concerned, we never had any such need in B2B communication.
    Am I correct in understanding that :
    B2B Adapter in M1 is the caller and M2 and M3 ,as being Synchronous,will follow M1'a transaction.
    And if a Fault goes into M2 and M3,it will go back to the caller,means M1.
    And in M1 we can have Fault-Handling.If you are using AQ interface of B2B adapter with XA Data Source then that adapter can participate in an XA global transaction that can span multiple resources. In this transaction, the application server acts as the coordinating transaction manager with multiple databases (or other resources such as JMS), each of which is involved in a single transaction.
    If you are using JMS interface of B2B adapter with XA Connection factor then that adapter can also participate in an XA global transaction that can span multiple resources.
    If you are using Default (Fabric) interface of B2B adapter then it does not participate in global transaction, rather it starts it's own local transaction and executes in that. So it will totally depend upon the interface you are using with B2B adapter that it will start and propagate a global transaction or will not participate in a global transaction. Moreover, if B2B adapter is starting a transaction and propagating it to a async service then that sync service will start a new local transaction and further sync services may execute in that transaction. As soon as the control comes back to B2B adapter, it will commit the transaction.
    Is B2B is Asynchronous in nature?B2B can be used for both sync and async calls (between partners). B2B is async when communicating with middleware.
    Is B2B Adapter a Transactional Adapter?Explained above
    What category of JCA adapter is Oracle B2B adapter?No special category. It is a specific adapter for Oracle SOA SCA composites to facilitate them in communication with Oracle B2B. You may or may not use this adapter in SOA SCA composites.
    Regards,
    Anuj

  • Porting from Oracle 10g AS to Oracle 11g Weblogic server

    Hi,
    I am trying to port J2EE applicatin from Oracle 10g AS to Oracle 11g Weblogic Server. I have jsp files which contains sql code embedded to fetch data from the DB. The components used in this application are Java, JSP, Servlets and Stateless session beans.
    I have a commonjar which is used to create DB Connection manager and other common stuff which is present inside web-inf/lib. My application is packaged as an ear and which contains the war and different ejb-project.jar files. When the Stateless bean is trying to call the ConnectionManager class, which is present inside the commonjar inside web-inf/lib, I get InvocationTargetException. When I debugged in Eclipse, I see that that inside ejb the reference ConnectionManager, the variable cannot be resolved. So I guess at runtime, ejb is not able to locate ConnectionManager Class.
    I tried to copy this jar to APP-INF/lib and the same jar is present inside web-inf/lib as well. In that case what happens is the jsp fails with the exception ConnectionManager cannot be resolved.
    How can I make the ejb work by keeping the commonjar inside web-inf/lib alone.
    Any help or suggestions?
    Thanks
    Raj

    The classloader hierarchy in WLS looks like this (arrows denote inheritance direction):
    Java bootstrap classloader <- Java CLASSPATH classloader <- WLS $DOMAIN_HOME/lib classloader <- Application (e.g., EAR) classloader <- web app classloader <- single JSP classloader
    The Connection Manager is loaded by the web app classloader while the EJBs are loaded by the application classloader so the EJBs have no visibility to the classes loaded by the child (web app) classloader.
    The simplest fix might be to move the Connection Manager jar file to the EAR file's APP-INF/lib directory.
    One word of caution though, you need to be using WebLogic Server's Data Sources and JDBC connection pooling to make sure that you correct transactional behavior if the application is doing any sort of JTA transaction (regardless of whether the JTA transactions are using XA or not...).
    Hope this helps,
    Robert

  • Unicode characters not transferred correctly to mysql from oracle

    Hi,
    We are transferring data from Oracle11g to MySQL5.5 using DG4ODBC. Data is getting transferred successfully to MySQL, but the Characters like Russian, Chinese etc. are not transferred succesfully. They are shown as ? in MySQL database and even with GUI tools like sqldevelopper or squirrel.
    Oracle Uses NLS_Character set is AL32UTF8 and MySQL database is UTF8.
    Oracle version is 11.1.0.6.0
    MySQL is 5.5.
    unixODBC 2.2.11, comes from redhat for RHEL 5
    I tried setting HS_LANGUAGE=american_america.al32utf8, but no luck.
    Can someone please give hint to configure gateway initialization parameters or some other configuration which is required to support all language characters during transfer.
    -Sudhakar

    Hi,
    Updated to the versions you suggested..Now receiving below error when trying to transfer data from oracle to Mysql using DBMS_HS_PASSTHROUGH.
    Actually written procedure to transfer all records..it works on few tables, but throws below error when transferring data from other tables.
    Any idea where could be wrong?
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02067: transaction or savepoint rollback required
    ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXXXXXX)(PORT=1521))
    (CONNECT_DATA=(SID=mysqlodbc)))
    ORA-02055: distributed update operation failed; rollback required
    ORA-02063: preceding lines from MYSQL
    ORA-06512: at "XXXXXXX.TRANSFER_XXXXXX", line 41
    ORA-06512: at line 1
    below is the gateway trace file dump.....
    Oracle Corporation --- TUESDAY DEC 20 2011 14:10:19.578
    Heterogeneous Agent Release
    11.2.0.3.0
    Oracle Corporation --- TUESDAY DEC 20 2011 14:10:19.577
    Version 11.2.0.3.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    HOSGIP returned value of "REPEATABLE_READ" for HS_FDS_TRANSACTION_ISOLATION
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "mysqlodbc"
    Product-Info:
    Port Rls/Upd:3/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.3.0_0011, Instance:mysqlodbc
    Exiting hgogprd, rc=0
    hostmstr: 0: HOA After hoagprd
    hostmstr: 0: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
    LANG=en_US.UTF-8
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2011/12/20-14:10:19
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libodbc.so"
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0x8b0790
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0x8b0930
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0x8b1350
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0x8b2b50
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0x8bc280
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0x8bc810
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0x8bf820
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0x8c1480
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0x8c1e10
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0x8c4060
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0x8c4090
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0x8c5df0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0x8c9a30
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0x8c9e30
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0x8cbef0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0x8cce10
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0x8cd1d0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0x8cf810
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0x8cfd00
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0x8d26a0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0x8d2420
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLColAttribute
    symbol_peflctx=0x8b3680
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLColumns
    symbol_peflctx=0x8b5580
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLConnect
    symbol_peflctx=0x8b96c0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDescribeCol
    symbol_peflctx=0x8bb9a0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLDriverConnect
    symbol_peflctx=0x8bd4f0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLExecDirect
    symbol_peflctx=0x8c0dc0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLForeignKeys
    symbol_peflctx=0x8c2950
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetConnectAttr
    symbol_peflctx=0x8c44f0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDescField
    symbol_peflctx=0x8c6620
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDescRec
    symbol_peflctx=0x8c6cc0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDiagField
    symbol_peflctx=0x8c8160
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetDiagRec
    symbol_peflctx=0x8c9030
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetInfo
    symbol_peflctx=0x8caa00
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetStmtAttr
    symbol_peflctx=0x8cad80
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLGetTypeInfo
    symbol_peflctx=0x8cba60
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLPrepare
    symbol_peflctx=0x8cdab0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLPrimaryKeys
    symbol_peflctx=0x8ce110
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLProcedureColumns
    symbol_peflctx=0x8ce8b0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLProcedures
    symbol_peflctx=0x8cf0d0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetConnectAttr
    symbol_peflctx=0x8d0040
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetStmtAttr
    symbol_peflctx=0x8d3f00
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLSetDescField
    symbol_peflctx=0x8d1f80
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLStatistics
    symbol_peflctx=0x8d5ff0
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Entered hgolofns at 2011/12/20-14:10:19
    libname=/usr/lib/libodbc.so, funcname=SQLTables
    symbol_peflctx=0x8d7060
    hoaerr:0
    Exiting hgolofns at 2011/12/20-14:10:19
    Exiting hgolofn, rc=0 at 2011/12/20-14:10:19
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoainit
    hostmstr: 0: HOA Before hoalgon
    Entered hgolgon at 2011/12/20-14:10:19
    reco:0, name:sudhakar, tflag:0
    Entered hgosuec at 2011/12/20-14:10:19
    Exiting hgosuec, rc=0 at 2011/12/20-14:10:19
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using sudhakar as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2011/12/20-14:10:19
    HS_FDS_CONNECT_INFO = "mysql5_hgw"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2011/12/20-14:10:19
    dsn:mysql5_hgw, name:sudhakar
    optn:
    Entered hgocip at 2011/12/20-14:10:19
    dsn:mysql5_hgw
    Exiting hgocip, rc=0 at 2011/12/20-14:10:19
    ##>Connect Parameters (len=40)<##
    ## DSN=mysql5_hgw;
    #! UID=sudhakar;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2011/12/20-14:10:19
    Entered hgolosf at 2011/12/20-14:10:19
    ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFFFF 0x03FF 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0xFE00 0x3F5F
    Exiting hgolosf, rc=0 at 2011/12/20-14:10:19
    DriverName:libmyodbc5.so, DriverVer:05.01.0008
    DBMS Name:MySQL, DBMS Version:5.5.17-log
    Exiting hgocont, rc=0 at 2011/12/20-14:10:19
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 0: RPC Before Upload Caps
    hostmstr: 0: HOA Before hoaulcp
    Entered hgoulcp at 2011/12/20-14:10:19
    Entered hgowlst at 2011/12/20-14:10:19
    Exiting hgowlst, rc=0 at 2011/12/20-14:10:19
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:3, Isolation Option:0xf
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
    HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    3 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    Exiting hgoulcp, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoaulcp
    hostmstr: 0: RPC After Upload Caps
    hostmstr: 0: RPC Before Upload DDTR
    hostmstr: 0: HOA Before hoauldt
    Entered hgouldt at 2011/12/20-14:10:19
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoauldt
    hostmstr: 0: RPC After Upload DDTR
    hostmstr: 0: RPC Before Begin Trans
    hostmstr: 0: HOA Before hoabegn
    Entered hgobegn at 2011/12/20-14:10:19
    tflag:0 , initial:1
    hoi:0xbfb25bdc, ttid (len 35) is ...
    00: 4F52434C 2E454445 4C4B4559 2E4E4554 [ORCL.EDELKEY.NET]
    10: 2E653064 34343962 342E332E 312E3535 [.e0d449b4.3.1.55]
    20: 363334 [634]
    tbid (len 32) is ...
    00: 4F52434C 2E454445 4C4B4559 2E4E4554 [ORCL.EDELKEY.NET]
    10: 5B332E31 2E353536 33345D5B 312E345D [[3.1.55634][1.4]]
    Exiting hgobegn, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoabegn
    hostmstr: 0: RPC After Begin Trans
    hostmstr: 0: RPC Before SQL Bundling
    hostmstr: 0: HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2011/12/20-14:10:19
    type:1
    SQL text from hgopars, id=1, len=530 ...
    000: 696E7365 72742069 6E746F20 73746174 [insert into xxxx]
    010: 696F6E73 20282273 74617469 6F6E6964 [xxxx ("xxxxxxxxx]
    020: 222C2261 646D696E 64657363 72697074 [","xxxxxxxxxxxxx]
    030: 696F6E22 2C22636F 756E7472 79696422 [xxx","xxxxxxxxx"]
    040: 2C226465 73637269 7074696F 6E222C22 [,"xxxxxxxxxxx","]
    050: 6C616E67 75616765 6964222C 226C696E [xxxxxxxxxx","xxx]
    060: 6B6F7468 65727365 72766963 6573222C [xxxxxxxxxxxxxx",]
    070: 226C6F67 6F75726C 222C226C 6F6E6764 ["xxxxxxx","xxxxx]
    080: 65736372 69707469 6F6E222C 226E616D [xxxxxxxxxx","xxx]
    090: 65222C22 73746174 7573222C 2274696D [e","xxxxxx","xxx]
    0A0: 65637265 61746564 222C2274 696D6575 [xxxxxxxx","xxxxx]
    0B0: 70646174 6564222C 22757365 72696463 [pdated","xxxxxxx]
    0C0: 72656174 6564222C 22757365 72696475 [xxxxxx","xxxxxxx]
    0D0: 70646174 6564222C 22776562 73697465 [pdated","xxxxxxx]
    0E0: 222C2262 726F6164 63617374 65726964 [","xxxxxxxxxxxxx]
    0F0: 222C2273 74617469 6F6E735F 696E7465 [","xxxxxxxxxxxxx]
    100: 6765725F 69647822 2C226261 6E6E6572 [ger_idx","xxxxxx]
    110: 5F616363 6573735F 64617465 222C2262 [xxxxxxxxxxxx","b]
    120: 616E6E65 725F696D 706C5F64 61746522 [xxxxxxxxxxxxxxx"]
    130: 2C226261 6E6E6572 5F72656D 6F766564 [,"xxxxxxxxxxxxxx]
    140: 5F646174 65222C22 62726F61 64636173 [_date","xxxxxxxx]
    150: 745F7479 7065222C 227A6F6E 65696422 [t_type","xxxxxx"]
    160: 2C226272 6F616463 6173745F 72616E64 [,"xxxxxxxxxxxxxx]
    170: 6F6D5F72 6561736F 6E222C22 6669656C [xxxxxxxxx","fiel]
    180: 64736368 65636B65 64222C22 65787465 [xxxxxxxxx","exte]
    190: 726E616C 73746174 696F6E69 64222C22 [xxxxxxxxxxxxx","]
    1A0: 6D61696E 74656E61 6E636562 726F6164 [xxxxxxxxxxxxxxxx]
    1B0: 63617374 65726964 222C2261 6C746572 [xxxxxxxx","alter]
    1C0: 6E617469 76655F6E 616D6522 290A2020 [xxxxxxxxxxx").  ]
    1D0: 20202020 56414C55 45532028 3F2C3F2C [    VALUES (?,?,]
    1E0: 3F2C3F2C 3F2C3F2C 3F2C3F2C 3F2C3F2C [?,?,?,?,?,?,?,?,]
    210: 3F29 [?)]
    Exiting hgopars, rc=0 at 2011/12/20-14:10:19
    hostmstr: 0: HOA After hoxpars
    hostmstr: 0: RPC After SQL Bundling
    hostmstr: 0: RPC Before SQL Bundling
    hostmstr: 0: HOA Before hoaexec
    Entered hgoexec, cursor id 1 at 2011/12/20-14:10:19
    octype=0 (?????)
    hgoexec, line 145: Printing hoada @ 0x9e7e1b8
    MAX:27, ACTUAL:27, BRC:1, WHT=3 (BIND_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    3 DECIMAL N 6 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 2 0 0/ 0 0 0 0
    12 VARCHAR N 18 0 0/ 0 31 0 200
    3 DECIMAL N 3 0 0/ 0 0 0 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    12 VARCHAR N 196 0 0/ 0 31 0 200
    12 VARCHAR N 33 0 0/ 0 31 0 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    93 TIMESTAMP N 16 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 4 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR N 52 0 0/ 0 31 0 200
    3 DECIMAL N 5 0 0/ 0 0 0 0
    3 DECIMAL N 5 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL N 6 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    Entered hgoprbv at 2011/12/20-14:10:19
    hgoprbv, line 162: Printing hoada @ 0x9e7e1b8
    MAX:27, ACTUAL:27, BRC:1, WHT=3 (BIND_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    3 DECIMAL N 6 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 2 0 0/ 0 0 0 0
    12 VARCHAR N 18 0 0/ 0 31 0 200
    3 DECIMAL N 3 0 0/ 0 0 0 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    12 VARCHAR N 196 0 0/ 0 31 0 200
    12 VARCHAR N 33 0 0/ 0 31 0 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    93 TIMESTAMP N 16 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 4 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR N 52 0 0/ 0 31 0 200
    3 DECIMAL N 5 0 0/ 0 0 0 0
    3 DECIMAL N 5 0 0/ 0 0 0 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    93 TIMESTAMP Y 0 0 0/ 0 0 -1 0
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    3 DECIMAL N 1 0 0/ 0 0 0 0
    3 DECIMAL N 6 0 0/ 0 0 0 0
    3 DECIMAL Y 0 0 0/ 0 0 -1 0
    12 VARCHAR Y 0 0 0/ 0 31 -1 200
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 1, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 6, DecimalDigits 0, BufferLength 6,StrLen_or_IndPtr 0x0x9e909cc (*0x6)
    (Array size: 1)
    6 bytes of data at 0x0x9e8d684...
    0: 32303536 3835 [205685]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 2, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 1, DecimalDigits 0, BufferLength 0,StrLen_or_IndPtr 0x0x9e909d0 (*0xffffffff)
    NULL Data Specified
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 3, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 2, DecimalDigits 0, BufferLength 2,StrLen_or_IndPtr 0x0x9e909d4 (*0x2)
    (Array size: 1)
    2 bytes of data at 0x0x9e8d634...
    0: 3330 [30]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 4, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 18, DecimalDigits 0, BufferLength 18,StrLen_or_IndPtr 0x0x9e909d8 (*0x12)
    (Array size: 1)
    18 bytes of data at 0x0x9e7df70...
    00: 41205265 64652064 61204661 6DED6C69 [A Rede da Fam.li]
    10: 612E [a.]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 5, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 3, DecimalDigits 0, BufferLength 3,StrLen_or_IndPtr 0x0x9e909dc (*0x3)
    (Array size: 1)
    3 bytes of data at 0x0x9e8d5e4...
    0: 313336 [136]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 6, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 1, DecimalDigits 0, BufferLength 1,StrLen_or_IndPtr 0x0x9e909e0 (*0x1)
    (Array size: 1)
    1 bytes of data at 0x0x9e8d594...
    0: 31 [1]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 7, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 1, DecimalDigits 0, BufferLength 0,StrLen_or_IndPtr 0x0x9e909e4 (*0xffffffff)
    NULL Data Specified
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 8, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 196, DecimalDigits 0, BufferLength 196,StrLen_or_IndPtr 0x0x9e909e8 (*0xc4)
    (Array size: 1)
    196 bytes of data at 0x0x9e8d4b8...
    00: 41207072 6F677261 6D61E7E3 6F206461 [A xxxxxxxx..o da]
    10: 20526564 6520416C 656C7569 6120E920 [ Rede Aleluia . ]
    20: 636F6D70 6F737461 20706F72 2063616E [xxxxxxxx por can]
    30: E7F56573 2073656C 6563696F 6E616461 [..es xxxxxxxxxxx]
    40: 73206520 666C6173 68626163 6B732071 [s e xxxxxxxxxx q]
    50: 7565206D 61726361 72616D20 E9706F63 [ue marcaram .poc]
    60: 612C2061 6CE96D20 6465206D 656C6F64 [a, al.m de melod]
    70: 69617320 696E7374 72756D65 6E746169 [ias xxxxxxxxxxxx]
    80: 732C2074 75646F20 656D2070 65726665 [s, tudo em perfe]
    90: 69746120 6861726D 6F6E6961 2C207072 [ita xxxxxxxx, pr]
    A0: 6F706F72 63696F6E 616E646F 20756D61 [xxxxxxxxxxxx uma]
    B0: 2072E164 696F2064 65207175 616C6964 [ r.dio de qualid]
    C0: 6164652E [ade.]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 9, InputOutputType 1, ValueType 1, ParameterType 12,
    ColumnSize 33, DecimalDigits 0, BufferLength 33,StrLen_or_IndPtr 0x0x9e909ec (*0x21)
    (Array size: 1)
    33 bytes of data at 0x0x9e8d488...
    00: 52E16469 6F20416C 656C7569 6120464D [R.xxx xxxxxxxxxx]
    10: 20285269 62656972 E36F2050 7265746F [ (xxxxxx.o xxxxx]
    20: 29 [)]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 10, InputOutputType 1, ValueType 1, ParameterType 3,
    ColumnSize 1, DecimalDigits 0, BufferLength 1,StrLen_or_IndPtr 0x0x9e909f0 (*0x1)
    (Array size: 1)
    1 bytes of data at 0x0x9e8d438...
    0: 31 [1]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Entered WP_SQLBindParameter at 2011/12/20-14:10:19
    ParameterNumber 11, InputOutputType 1, ValueType 93, ParameterType 93,
    ColumnSize 19, DecimalDigits 0, BufferLength 16,StrLen_or_IndPtr 0x0x9e909f4 (*0x10)
    (Array size: 1)
    16 bytes of data at 0x0x9e74d30...
    00: DB070C00 12001400 17003700 00000000 [..........7.....]
    Exiting WP_SQLBindParameter, rc=0 at 2011/12/20-14:10:19
    Edited by: 902859 on 20-Dec-2011 05:00
    Edited by: 902859 on 20-Dec-2011 05:01

  • Error calling BLS from oracle database

    Hi Experts,
    We have a scenario in which we are calling BLS from oracle database using trigger. The call is made using the following URL:
    http://<Host name>:50000/XMII/Runner?Transaction=<TRX_Path>&Material=MATNR&Pallet_id=PALLET&Plant=PLANT&Proc_order=PROC&Prodline=PROD&Quantity=QTY&Start_Date=DAT&Start_Time=TIM&Status=STAT&UOM=UOM1&User_name=USER&OutputParameter=*
    This used to work fine in 11.5 but when we upgraded to 14.0 it is not working. We have maintained server details in \etc\host file.
    We were getting error in file 'Error 1 Text.txt'. "A possible Cross-Frame Scripting attack has been prevented. Please contact your system administrator or refer to" this was the last error message. We checked this on SCN and based on the search results we have implemented SAP note 1651004 wherein setting in netweaver is required to be changed. After note was implemented we are getting another error text ('Error 2 Text.txt') "This will happen if the browser running the page tha". We tried a few ways but could not capture the full message coming.
    Has anybody of faced similar problem? I would highly appreciate any hint which could help in solving this problem.
    System Information:
    NW 7.31 SP 10
    Oracle 11.2.0.4
    MII 14.0 SP5 patch 7
    Regards,
    Darshan

    Hi Christian/Anushree,
    I have now modified the URL by adding Illum login name and password:
    http://<Host name>:50000/XMII/Runner?Transaction=<TRX_Path>&Material=MATNR&Pallet_id=PALLET&Plant=PLANT&Proc_order=PROC&…
    When i run the url in browser it gives me the expected results but when i try to trigger it from Oracle i am still getting the error as below:
    "<script>
      var inPortalScript = false
      var webpath = "/logon_ui_resources/"
    </script>
    <html>
    <head>
    <BASE target="_self">
    <link rel=stylesheet href="/logon_ui_resources/css/ur/ur_ie5.css">
    <title>User Management, SAP AG</title>
    <script language="javascript">
    var originWindowName=window.name;
    window.name="logonAppPage";
    function restoreWindow() {
    try{
    window.name=originWindowName;
    } catch(ex){}
    </script>
    <script language="JavaScript">
    function putFocus(formInst, elementInst) {
      if (document.forms.length > 0) {
        document.forms[formInst].elements[elementInst].focus();
    function setValuesAutoCreation() {
    var form = document.getElementById('logonForm');
    form.j_username.value="";
    form.j_password.value="";
    form.automaticAccountCreation.value="true";
    function submitForm() {
    var form = document.getElementById('logonForm');
    form.submit();
    function clearEntries() {
      document.logonForm.longUid.value="";
      document.logonForm.password.value="";
    function setFocusToFirstField() {
    myform = document.logonForm;
    try{
       for (i=0; i<myform.length; i++) {
        elem = myform.elements[i];
        if (!elem.disabled) {
          elemType = elem.type;
          if (elemType=="text" || elemType=="password") {
           if (!elem.readOnly) {
              elem.focus();
              break;
          if (elemType=="select-one" || elemType=="select-multiple" || elemType=="checkbox" || elemType=="radio") {
            elem.focus();
            break;
    } catch(ex){
    function addTenantPrefix() {
      return true;
    </script>
    </head>
    <body class="urBdyStd" bgcolor="#F7F9FB" onLoad="setFocusToFirstField()" onUnload="restoreWindow()">
    Thanks,
    Darshan
    <script language="JavaScript">
    var blockPage = false;
    </script>
    <script language="JavaScript">
    try {
      if (top.document.domain != self.document.domain) {
      blockPage = true;
    } catch (error) {
      // This will happen if the browser running the page tha"

  • Outbound interfaces from oracle general ledger

    Hi,
    I have a requirement of exporting :
    • Stores transactions
    • Invoice transactions
    • Payment transactions
    • Bank reconciliation transactions
    • Goods Received Not invoiced (GRNI) Accrual transactions
    Please let me know if there are any stadard interfaces or open API from oracle general ledger for exporting these transactions.
    Any links/pointers in this regard would be helpful.
    Thanks & Regards,
    Parag Gurjar

    Hi,
    I believe what you have heard is false, you can work with multiple periods open at the same time. But as a best practice its better if you could close the relevant month period on due dates so as to avoid transaction being entered to previous open periods...  Because the accounts will go on a mess if transaction rolls in from future periods.
    Hope this helps,
    Regards,

  • Have a transaction propagated to two remote machines!!!(URGENT!!!)

              Can we have a transaction propagated to two ejb's in different machines if we have database interaction in both?
              I tested it out with Account beans (examples)
              deployed on two different(remote) servers both servers having the same connection pool name and the mapping to the
              same oracle database (Using the oracle thin driver as well as the Weblogic Driver). One of the beans is in a local server and one in a remote server and both are accessed in the
              same transaction context. What happens is that the 2nd bean accessed throws a Null pointer Exception
              when it tries to getConnection().
              This is the server side stack trace -----
              SQLException: java.sql.SQLException: java.lang.NullPointerException:
              Start server side stack trace:
              java.lang.NullPointerException
              at weblogic.jdbc.common.internal.ConnectionMOWrapper.<init>(ConnectionMO
              Wrapper.java:42)
              at weblogic.jdbc.common.internal.ConnectionEnv.setConnection(ConnectionE
              nv.java:142)
              at weblogic.jdbc.common.internal.DriverProxy.execute(DriverProxy.java:17
              3)
              at weblogic.t3.srvr.ClientRequest.execute(ClientContext.java:1030)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              End server side stack trace
              It appears that when the database call on the 2nd WL server is routed to the first WL server(the server that established the first connection for the transaction) for the database connection it is not able to find the connection( and hence the bombing). I'm going nuts over this for two days. Please help. We need to use Weblogic for our project and i need to confirm that this functionality works!!!!
              I'm attaching the stateless bean code which accesses both these beans.
              [TraderBean.java]
              

              Hi,
              Are you using cluster?
              Definitely you can be in one transaction if you just access one data source. that's two phase transaction.
              "kartik" <[email protected]> wrote:
              >
              >
              >
              >Can we have a transaction propagated to two ejb's in different machines if we have database interaction in both?
              >
              >I tested it out with Account beans (examples)
              > deployed on two different(remote) servers both servers having the same connection pool name and the mapping to the
              > same oracle database (Using the oracle thin driver as well as the Weblogic Driver). One of the beans is in a local server and one in a remote server and both are accessed in the
              > same transaction context. What happens is that the 2nd bean accessed throws a Null pointer Exception
              > when it tries to getConnection().
              >
              >This is the server side stack trace -----
              >SQLException: java.sql.SQLException: java.lang.NullPointerException:
              >Start server side stack trace:
              >java.lang.NullPointerException
              > at weblogic.jdbc.common.internal.ConnectionMOWrapper.<init>(ConnectionMO
              >Wrapper.java:42)
              > at weblogic.jdbc.common.internal.ConnectionEnv.setConnection(ConnectionE
              >nv.java:142)
              > at weblogic.jdbc.common.internal.DriverProxy.execute(DriverProxy.java:17
              >3)
              > at weblogic.t3.srvr.ClientRequest.execute(ClientContext.java:1030)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              >End server side stack trace
              >-----------------
              >
              >It appears that when the database call on the 2nd WL server is routed to the first WL server(the server that established the first connection for the transaction) for the database connection it is not able to find the connection( and hence the bombing). I'm going nuts over this for two days. Please help. We need to use Weblogic for our project and i need to confirm that this functionality works!!!!
              >
              >I'm attaching the stateless bean code which accesses both these beans.
              >
              

  • Insert data from oracle  to sql server

    we have running R12.1.1 .
    our company wants to deploy some CRM Application with sql server database. Continuously we have to insert data ( some fields from some tables of Order Management module ) from ORACLE -----------> SQL Server
    My Questions are :
    1. What are possible methods to insert data from ORACLE -----------------> SQL Server ?
    2. What are pros and cons of each method ?
    3. What is performance over load of each method ?
    PLease share your valuable knowledge / ideas / suggestions
    thanks

    What is a maximal latency for data changed in Oracle come into MS SQL?
    this data will be updated in CRM after 24 hours.Does it mean that data replicated from Oracle will be updated in MS SQL and should be replicated back?
    i want to know more details about these APIs etc and middle layer.what API? In MS SQL you can use Linked server and write SQLs that select from Oracle tables via that linked server and insert/update/delete into MS SQL. You can organize these SQLs into T-SQL procedures and run them in jobs.
    Also you can use MS SQL replication, snapshot or transactional, which is ugly because it places triggers on Oracle tables. I doubt that this will be approved by app vendor.
    Also you can use Oracle Streams via Transparent Gateway for MS SQL, which will be quite heavy solution.
    Also, if real-time replication is needed, you can use "middle layer" Oracle Golden Gate, which may be quite pricy for 30 tables.
    Also, if real-time replication is needed, you can use 3-rd party middle layer like DataCurrents or others.

  • Migrating data from oracle to sql server

    I have two databases(Oracle and Sql Server) in my company.
    I want to migrate some data on daily basis from Oracle to Sql Server.
    what are the best methodologies used to perform this task?
    Can we schedule this task on daily basis?
    please help me guys

    Salma,
    First and foremost, you need to understand that there are architectural difference between Oracle and SQL Server (with the major one being the difference between Oracle's PL/SQL and Microsoft's Transact-SQL) thus, it will not be an easy task to migrate data from Oracle Database to SQL Server. As far as the use of tools is concerned, you can utilize the following tools (third party tools not recommended) to achieve this:
    Microsoft SQL Server Migration Assistant (Oracle to SQL)
    http://www.microsoft.com/sqlserver/2005/en/us/migration-oracle.aspx
    Oracle SQL Developer Migration Workbench (SQL to Oracle)
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    But before proceeding with anything, I would recommend you to read through the following post as it lists down the primary compatibility resources and migration guidelines:
    Migrating from Oracle to SQL Server
    http://vyaskn.tripod.com/oracle_sql_server_differences_equivalents.htm
    Hope this helps.
    Regards,
    Naveed.

  • Microsoft Transaction Server and Oracle 7.3.4/8.0.5

    Hello all,
    I have been working with VB COM objects in MTS and Oracle 7.3.4/8.0.5 for most of this year (2000), and I have things working with relative smoothness. However, I am having severe performance issues.
    I have used the white paper Using Oracle with Microsoft Transaction Server and COM+ (http://support.microsoft.com/support/complus/mtsandoracle.asp), which got things rolling, but there is little/no information on how to gain performance. I am using the same DLLs against SQL Server databases, and the performance is very noticeably better.
    Has anyone done any performance tuning in this type of scenario? Any tips for me?
    null

    Dyna, I have yet to hear of someone that has been able to successfully replicate data from Oracle 8i to 7.3.4 using Oracle Replication Services. I would sugest that you take a look at third-party solutions like DataMirror Transformation Server to help you out with this. More information is available on our web-site (www.datamirror.com) if you wish to investigate this further.
    John Vandermay,
    DataMirror Corporation.

  • How to run batch file from oracle forms 9i

    Hi everyone.
    i have a data in csv file. i want to upload it to my database. i am using sql loader for it.
    i have made a batch file which run the sql loader and transfer my data to database.
    How to run batch file from oracle forms 9i.
    when i press the button, nothing uploads in my database. (when i simply run the batch file it works).
    here is my code
    Begin
    HOST('C:\temp\batchfile.bat');
    message('done');
    end;
    Thanks in advance
    regards
    sajid

    this is my log file, when i run manually.
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 1 23:27:53 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Control File: file_to_upload.ctl
    There are 2 data files:
    Data File: sk.csv
    Bad File: sk.bad
    Discard File: none specified
    (Allow all discards)
    Data File: sk1.csv
    Bad File: sk1.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table KHAN, loaded from every logical record.
    Insert option in effect for this table: APPEND
    Column Name Position Len Term Encl Datatype
    SR FIRST * , O(") CHARACTER
    DATES NEXT * , O(") CHARACTER
    AGENT NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    TRANSACTIONS NEXT * , O(") CHARACTER
    PKR NEXT * , O(") CHARACTER
    USD NEXT * , O(") CHARACTER
    BANK NEXT * , O(") CHARACTER
    Table KHAN:
    11088 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 132096 bytes(64 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 11088
    Total logical records rejected: 0
    Total logical records discarded: 0
    Run began on Thu Jul 01 23:27:53 2010
    Run ended on Thu Jul 01 23:27:54 2010
    Elapsed time was: 00:00:00.63
    CPU time was: 00:00:00.17

  • Transaction propagation between OC4J to non-OC4J J2EE container

    I have a OC4J instance 10.1.3.1 containing a stateless session EJB 2.1. This bean call another session EJB in Websphere EJB container. The call goes through but the transaction is not distributed, meaning I cannot roll the transaction back from the OC4J container.
    I have tried all kinds of context factories but it doesen't work. I use a XA datasource to an Oracle DB from the Websphere container.
    Does anyone know how to propagate transactions from an OC4J container to another J2EE container:
    Thanks
    regards
    A Bastell

    You can specify the JNDI properties in your JSP/Java Client to lookup the EJB if it's in a different EJB container than the one provided by the JSP container.
    Rob

  • Pull the data from ORACLE

    Hi Guru's,
    I would like to know ,How to pull the Data from Oracle tables to BW.
    tell me scratch onwards...
    regards
    sekhar ch

    Hi...
    In the admin workbench open the modeling tab and select Source Systems
    In the right pane, right-click on Source Systems and select Create…
    A dialog requires you to define the type of source system. Select “Database System”
    Enter a description for the source system
    Once you accept the definition of the source system, you have to provide the following information, save and back out:
    DBMS: ORA (Oracle)
    User Name: Your UID
    DB password: Your pwd
    Conn. Info: sql*net string
    Select “Permanent connection” if this is the case
    If everything went well, you should see the new source system. When you do a right-click and ask for the DataSource overview, the first time you execute it you will be prompted to generate the application hierarchy
    In order to test connectivity, right-click on the source system and select “Select Database Tables”
    The following screen shows up. Click on the execute button…
    any tables or views that you have access through your UID
    Select a table or view and click on “Edit DataSource”
    To test data retrieval, click on “Display table contents”
    Designate the application component, determine the type of DataSource (Text, Master data, or Transaction data) then generate the DataSource
    with regards,
    hari

Maybe you are looking for