JDBC PreparedStatement with Oracle 8.0.5 on Linux

As the subject stated, I am using Oracle 8.0.5 on a Linux machine.
When I am using a PreparedStatement, somehow, the binded variables are reversed in order.
E.g.
String sql = "INSERT INTO TABLE1 (X, Y) VALUES (?, ?)";
PreparedStatement ps = conn.prepareStatement(sql);
ps.setString(1, "1");
ps.setString(2, "2");
ps.executeUpdate();
When I run the above, the insertion is successful. However, when I select the table, this is what I get.
X Y
2 1
The values are reversed.
This is the same for update statement too.
If I do this,
"UPDATE TABLE1 SET X = ? WHERE Y = ?"
ps.setString (1, "3");
ps.setString (2, "1");
The above will not be successful.
If I do this,
ps.setString (2, "3");
ps.setString (1, "1");
The above is successful.
Somehow the order of the binded variable get messed up.
Does anyone has any idea why?

The datatype of X and Y are both VARCHAR2(10) in this case.
Even if they are numbers, they have the same problem. The order get reversed and the data inserted is incorrect.
E.g. I have column M VARCHAR2(10) and column N NUMBER (2) in TABLE2.
String sql = "INSERT INTO TABLE2 (M, N) VALUES (?, ?)";
PreparedStatement ps = conn.prepareStatement(sql);
ps.setString(1, "one");
ps.setInt(2, 1);
ps.executeUpdate();
The insert operation is still successful. But when you select it becomes,
M N
? 0
This is because the order of the variables get reversed again.
Forgot to mention that if we have used Statement instead of PreparedStatement, we will not have such problem.
E.g. Statement stmt = conn.createStatement();
String sql = "INSERT INTO TABLE2 (M, N) VALUES ('one', 1)";
stmt.executeUpdate(stmt);
The above will insert fine and when we do a select, the result is correct.
M N
one 1
Though the above works fine, I still prefer to use PreparedStatement because of performance issue. So anyone has any idea what exactly is happening?
Hmmm, this ones a strange one.
What type are X and Y in the database? If they are of
type NUMBER why not try something like.
ps.setInt(1, 1);
OR
ps.setLong(2, 2);
and see if that makes any difference.

Similar Messages

  • Remote JDBC Problem with Oracle BPM Studio

    Hi all, i am facing the Remote JDBC Problem with Oracle BPM Studio.
    When i configure a Remote JDBC Connection for SQL in BPM Studio, it prompt me an error.
    The SQL Connection is configured as following :
    External Resource:
    Name : MyDS
    Type : SQL Database
    Supported Types : Remote JDBC
    Details:
    Database Type : BPM's Oracle Driver Version:10, 11
    J2EE : WLS
    Lookup Name : MyAppDS
    Configuration for "WLS"
    Name : WLS
    Type : J2EE Application Server
    Supported Types : GENERIC_J2EE
    Details:
    Initial Context Factory : weblogic.jndi.WLInitialContextFactory
    URL : t3://localhost:7001
    But, when i try to connect to the Database by using this configuration, I will get an Exception.
    An exception occurred while getting a resource from a connector.
    Detail:The connector [[ MyDS : SQL : REMOTE_JDBC ]] caused an exception when getting a resource.
    Caused by: An exception occurred while getting a resource from a connector.
    Detail:The connector [[ WLS : J2EE : J2EE ]] caused an exception when getting a resource.
    Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [[ Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory ]]
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at fuego.jndi.FaultTolerantContext.createContext(FaultTolerantContext.java:726)
         at fuego.jndi.FaultTolerantContext.<init>(FaultTolerantContext.java:79)
         at fuego.connector.impl.GenericJ2EEConnector.createInitialContext(GenericJ2EEConnector.java:177)
         at fuego.connector.impl.GenericJ2EEConnector.createStandaloneContext(GenericJ2EEConnector.java:98)
         at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:92)
         at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:76)
         at fuego.connector.J2EEHelper.getReadOnlyContext(J2EEHelper.java:86)
         ... 12 more
    Edited by: user2262377 on Jun 22, 2009 4:01 PM

    I guess the weblogic.jar is not included in the studio.
    So, i added weblogic.jar (Weblogic 10.3) and wlclient.jar (Weblogic 10.3)
    It is working in my simple java code. But, still not working in BPM Studio.
    The error logs:
    An exception occurred while getting a resource from a connector.
    Detail:The connector [OFT_APP_DS:SQL:REMOTE_JDBC] caused an exception when getting a resource.
    Caused by: java.lang.Object cannot be cast to java.io.Serializable
    fuego.connector.ConnectorException: An exception occurred while getting a resource from a connector.
    Detail:The connector [OFT_APP_DS:SQL:REMOTE_JDBC] caused an exception when getting a resource.
         at fuego.connector.ConnectorException.exceptionOnGetResource(ConnectorException.java:88)
         at fuego.connector.JDBCHelper.getReadOnlyConnection(JDBCHelper.java:93)
         at fuego.sqlintrospector.BrowserPanel.connect(BrowserPanel.java:395)
         at fuego.sqlintrospector.BrowserPanel.populateTree(BrowserPanel.java:200)
         at fuego.ui.wizards.ui.CheckTreeBrowser$1.construct(CheckTreeBrowser.java:63)
         at fuego.ui.SwingWorker$2.run(SwingWorker.java:39)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassCastException: java.lang.Object cannot be cast to java.io.Serializable
         at weblogic.iiop.IIOPOutputStream.writeAny(IIOPOutputStream.java:1588)
         at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2231)
         at weblogic.utils.io.ObjectStreamClass.writeFields(ObjectStreamClass.java:413)
         at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:235)
         at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:225)
         at weblogic.corba.utils.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:182)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1963)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:2001)
         at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2266)
         at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  • Is Oracle Hyperion SQR Production Reporting certified with Oracle 12 on the redhat linux ?

    s Oracle Hyperion SQR Production Reporting certified with Oracle 12 on the redhat linux ?

    As per the support matrix Oracle 12 will be supported with 11.1.2.3.500. Check the support matrix at : Supported Platforms Matrices - Oracle Enterprise Performance Management System
    Thanks,
    KK

  • JDBC Problem with Oracle 8.1.7. and OC4J  Version 2

    I use the following connection statement with Oracle 8.1.7. and JDeveloper 3 and Apache Server. It works fine.
    String user = "scott/tiger";
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:"+user+"@RDL");
    The same program does not obtain the connection with JDeveloper 9i, OC4J Version 2 and Oracle 8.1.7. I do not receive any error message, no exception is thrown.
    Please help me.

    Hi Avi,
    I had already tried the thin Diriver but after yout help I try again.
    With this thin driver, I received a SQLException which helps me.
    As usual, there were a lot of different problems. The main one was that my default configuration do not use the jdbc/lib817 main jdbc/lib. There is a classe12.jar in these libs that are apparently different.
    Finally, I obtain the connection with the "thin" driver.
    Thank you very much Avi!
    Reni

  • JDBC error with Oracle Database

    Hi,
      We are now facing some problems when using Oracle JDBC in XI JDBC Adapter, and this problem happens randomly.
      Our oracle is ver 8.1.5, jdbc ver 9.2.0.1 ojdbc14.jar, J2RE 1.4.2 IBM AIX build ca142-20060824.
      The following exceptions have been found in log viewer:
    Exception caught when executing statement for table/stored proc. 'cgjs_zj_zjb' (structure 'SELECTSTMT'):
    java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
         at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:3668)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:850)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2599)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:653)
         at com.sap.aii.adapter.jdbc.SAXHandler.executeQuery(xml2sql.java(Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.executeQuery(xml2sql.java(Inlined Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.SQLsel(xml2sql.java(Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.processList(xml2sql.java(Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.endElement(xml2sql.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.endElement(SAXDocHandler.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanEndTag(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java(Inlined Compiled Code))
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java(Inlined Compiled Code))
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java(Compiled Code))
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at com.sap.aii.adapter.jdbc.xml2sql.service(xml2sql.java:211)
         at com.sap.aii.adapter.jdbc.XI2JDBC.onInternalMessage(XI2JDBC.java:481)
         at com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.callSapAdapter(SapAdapterServiceFrameImpl.java:175)
         at com.sap.aii.af.modules.CallAdapterWithMessageBean.process_receiver(CallAdapterWithMessageBean.java:226)
         at com.sap.aii.af.modules.CallAdapterWithMessageBean.process(CallAdapterWithMessageBean.java:164)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_1.process(ModuleLocalLocalObjectImpl0_1.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:264)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103)
         at com.sap.aii.af.listener.AFWListenerBean.onMessage(AFWListenerBean.java:267)
         at com.sap.aii.af.listener.AFWListenerLocalObjectImpl0_0.onMessage(AFWListenerLocalObjectImpl0_0.java:103)
         at com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:306)
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:1034)
         at com.sap.aii.af.ra.ms.impl.core.queue.RequestConsumer.onMessage(RequestConsumer.java:118)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java(Compiled Code))
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
        Hope you can help me.
        B'Rgds,
                     YiNing

    nice trick:)
    This problem hasn't been solved yet, and now I found something harder to solve with this Oracle database and it's JDBC when I was using a synchronous scenario.
    Check the following adapter log:
    2007-02-28 10:03:53 Success Message successfully received by messaging system. Profile: XI URL: http://sapxidev:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    2007-02-28 10:03:53 Success Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
    2007-02-28 10:03:53 Success Message successfully put into the queue.
    2007-02-28 10:03:53 Success The message was successfully retrieved from the request queue.
    2007-02-28 10:03:53 Success The message status set to DLNG.
    2007-02-28 10:03:53 Success Delivering to channel: JDBC_RECV_PO_SBC
    2007-02-28 10:03:53 Success MP: entering
    2007-02-28 10:03:53 Success MP: processing local module localejbs/CallSapAdapter
    2007-02-28 10:03:53 Success Receiver JDBC adapter: processing started; QoS required: BestEffort
    2007-02-28 10:10:59 Success JDBC adapter receiver channel JDBC_RECV_PO_SBC: processing started; party  , service PO_SYS
    2007-02-28 10:10:59 Success SELECT BUSID, BUDAT, EDPER, BKTXT, XBLNR, BUZEI, BSCHL, HKONT, LIFNR, NEWUM, DMBTR, GSBER, MATNR, MENGE, ZUONR, SGTXT, XREF1, XREF2, XREF3, IDXSP, MWSKZ, RMVCT, RSTGR, ZTERM, ZFBDT, ZLSCH, XNEGP, KOSTL, AUFNR, LGORT_I, LGORT_O, GRUND, BWART, BSELM, STATS, ERFME, ZZFIELD2 FROM SAP_ZJB WHERE (STATS=O AND EDPER=9105)
    2007-02-28 10:11:01 Success UPDATE SAP_ZJB SET STATS=U WHERE (STATS=O AND EDPER=9105)
    2007-02-28 10:11:01 Success Database request processed successfully
    2007-02-28 10:11:01 Success MP: leaving
    2007-02-28 10:11:01 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired.. Setting message to status failed.
    2007-02-28 10:11:01 Error The message status set to FAIL.
    2007-02-28 10:11:01 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired..
    Between the 2007-02-28 10:03:53 and 2007-02-28 10:10:59, what takes it so long to process? Also it happens randomly.
    Since it is synchronous, the remote database table has been updated but the connection with XI has been disconnected for timeout issue, which lead to unrecoverable data inconsistent problem.
    Anyone who can help me?

  • Problem in getting jdbc connection with oracle for win 98

    This is my code given below
    import java.sql.*;
    public class Oconnection
    Connection conn;
    Statement st;
    PreparedStatement pst,pstissue,pstret,pstbook;
    public Oconnection()
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","system","manager");
    catch(Exception ex)
    System.out.println(ex.getMessage());
    ex.printStackTrace();
    public static void main(String args[])
    new Oconnection();
    *****************************************************8
    Error
    C:\Library>java Oconnection
    Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the
    connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:211)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:324)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:266)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at Oconnection.<init>(Oconnection.java:17)
    at Oconnection.main(Oconnection.java:39)
    I am using Oracle for win95 or i think it is oarcleforwin98 .
    The sid of my database i found through query given was orcl, what changes should i do in the code so that it works.
    should i use another driver coz i am using latest driver from oracle.com which is for oracle 8i. if a need a driver change where can i download it from please help me

    http://forum.java.sun.com/thread.jsp?thread=291584&forum=48&message=1305045

  • Which version of JDBC works with Oracle 7.3.3 for NT?

    I use Oracle 7.3.3. It seems I can not use a JDBC to connect to it. Anyone know which version of JDBC I should use?
    Thanks in advance.
    Tony Luo
    [email protected]

    Well you should have said NT4 in first post and then I would have told you that Firefox 2.0.0.20 was the last to work on Win 98/NT4 while 1.5.012 was the last for Win95 as Fx 2.0.0.* tended to crash or freeze on startup.
    The error means either OLEAUT32.DLL is corrupted or outdated. A fresh install of Windows 95/98/NT4 can give this error. Also the corruption can occur if while installing a software it insists on installing a older version of OLEAUT32.DLL.
    Been four or five years since I really saw anybody post about this error on Firefox startup.

  • JDBC Connectivity with Oracle:

    Hi!
    I am trying to find a driver for oracle 8i. I want connect to an oracle database from Home. I am want the driver work both locally and on the server. I went to oracle.com I couldn't get it. The links are bronken. Please let me know where can I get a free driver for oracle. Please either give me a like or email it to [email protected]
    Thanks,
    Michael

    You need to load the driver first as follows:
    Class.forName(oracle.jdbc.driver.OracleDriver);
    Then jdbc url :
    Connection connection = DriverManager.getConnection(jdbc:oracle:thin:@oraclehostname/IP Address of oracle server:1521:Oracle SID,username,password)
    Go forward!!!

  • Oracle Workflow 2.6 with Oracle 8.1.7 for linux

    Is Oracle Workflow Server 2.6 available for Linux as a
    standalone product against an Oracle 8.1.7 database?
    Oracle Workflow does not seem to be included in the Integration
    Server option with the 8.1.7 installation.
    I've only found the Oracle Workflow Server included with the 9i
    database. Will this work with 8.1.7 as well or does it require
    9i db?
    Thanks in advance for your help,
    Josi Antonio

    Is Oracle Workflow Server 2.6 available for Linux as a
    standalone product against an Oracle 8.1.7 database?
    Oracle Workflow does not seem to be included in the Integration
    Server option with the 8.1.7 installation.
    I've only found the Oracle Workflow Server included with the 9i
    database. Will this work with 8.1.7 as well or does it require
    9i db?
    Thanks in advance for your help,
    Josi Antonio

  • JDBC 2 on Oracle 8.0.5 on linux ?

    Hi there;
    I can't find oracle package for JDCB 2.0.
    In fact I need connection pooling and scrollable cursor features.
    Please save me !
    null

    Do yourself a favour and upgrade to Oracle 8i Release 2. It comes with it's own JRE and supports Java 2 via Jserver.
    :)

  • Help with Oracle 10g Client Connectivity from Linux to IBM SAN storage

    Hello Oracle Experts,
    This is my first post. My client is having oracle 10g database up and running in IBM SAN storage.
    We have some NMS tools running in Red Hat Linux version 5. So, these tools require connectivity to Oracle database which is residing in SAN storage connected with the Fibre cables.
    How do I establish the connectivity from Linux to SAN storage. If would be glad if you can explain me the steps and also if there is any pre-installation/post-installation, patches and procedures involved.
    If it is IP based network we normally give the IP address of the host running the database server. I have no idea about SAN storage connected with Fibre cable.
    Please guide me to establish the connectivity from linux 5 to SAN.
    Thanks.
    Regards,
    RaviShankar.

    user13153556 wrote:
    Hi Rajesh,
    Actually I will not be touching the Oracle instance SAN box directly. I will only access the database from another machine. I my case it is Linux box.
    So, my question is how do you make the Oracle Client in Linux box to connect to Oracle instance running in another non ip based machine SAN storage.Install Oracle client on this Linux machine ..
    Make sure you have network connectivity from linux machine to database server. You need to connect to server where db instance is running and you need not to bother about SAN storage.
    make tns entry into client $ORACLE_HOME/network/admin/tnsnames.ora file.
    Use sqlplus to connect to database using client.
    Regards
    Rajesh

  • Failed to Load Oracle.jdbc.PreparedStatement

    Hi all,
    My application says
    "Failed to Load either oracle.jdbc.PreparedStatement or oracle.jdbc.driver.PreparedStatement .
    I have oracle driver in <server-instance>/lib directory.
    Anybody has an idea about this ?
    Thanks

    Hi,
    Here is the server.log meassage at fine Level
    11/Mar/2003:09:06:17] FINE (20766): Status to be set : 0
    [11/Mar/2003:09:06:17] FINE (20766): Invoked receivedReply()
    [11/Mar/2003:09:06:17] FINE (20766): ---SQLPersistenceManagerFactory: dbname = Oracle.[11/Mar/2003:09:06:17] FINE (20766): <-> DBVendorType(), vendorName = [ Oracle] propertyName: oracle short name: ORACLE.
    [11/Mar/2003:09:06:17] FINE (20766): --> DBVendorType.initialize().
    [11/Mar/2003:09:06:17] FINE (20766): --> DBVendorType.load() - resourceName: com/sun/jdo/spi/persistence/support/sqlstore/database/SQL92.properties , override: false.
    [11/Mar/2003:09:06:17] FINE (20766): --> DBVendorType.load() - resourceName: com/sun/jdo/spi/persistence/support/sqlstore/database/ORACLE.properties , override: false.
    [11/Mar/2003:09:06:17] FINE (20766): --> DBVendorType.load() - resourceName: .tpersistence.properties , override: true.
    [11/Mar/2003:09:06:17] FINE (20766): <-> DBVendorType.overrideProperties() - NONE.
    [11/Mar/2003:09:06:17] INFO (20766): Failed to load either oracle.jdbc.OraclePreparedStatement or oracle.jdbc.driver.OraclePreparedStatement. Oracle specific optimization will be disabled.
    [11/Mar/2003:09:06:17] FINE (20766): <-- DBVendorType.initialize().
    [11/Mar/2003:09:06:17] FINE (20766): ---SQLStoreManager: vendor type = ORACLE.
    [11/Mar/2003:09:06:18] FINE (20766): initializeServerLogger: javax.enterprise.resource.jdo.transaction com.sun.jdo.spi.persistence.support.sqlstore.Bundle null
    [11/Mar/2003:09:06:18] FINE (20766): initializeServerLogger: javax.enterprise.resource.jdo.transaction com.sun.jdo.spi.persistence.support.sqlstore.Bundle FINE

  • JDBC access to Oracle DB - nls_charset-12.jar

    All,
    I found this jar used by an application along with the oracle 9.x JDBC driver. Obviously an upgrade is required to the latest JDBC drivers. Does anyone know what nls_charset-12.jar is used for and if the new 11g version still requires it? I would assume there is only 1 jar file which would take care of JDBC communication with Oracle DB.
    Thanks in advance!

    >
    Yes, I will have to support international characters as well. So this jar file is still required with Oracle 11g?
    >
    That file has been replaced with orai18n.jar which is clearly stated on the download page:
    http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html
    The driver's readme also clearly explains for which character sets you need the ora18n.jar:
    http://download.oracle.com/auth/otn/utilities_drivers/jdbc/112/Readme.txt?e=1302938175&h=f74ccdcb22412e9b88109cc11fc17b32
    >
    The JDBC Server-side Internal Driver provides complete NLS support.
    It does not require any NLS extension jar file. Discussions in this
    section only apply to the Oracle JDBC Thin and JDBC OCI drivers.
    The basic jar files (ojdbc5.jar and ojdbc6.jar) contain all the
    necessary classes to provide complete NLS support for:
    - Oracle Character sets for CHAR/VARCHAR/LONGVARCHAR/CLOB type data
    that is not retrieved or inserted as a data member of an Oracle
    Object or Collection type.
    - NLS support for CHAR/VARCHAR data members of Objects and
    Collections for a few commonly used character sets. These
    character sets are: US7ASCII, WE8DEC, WE8ISO8859P1, WE8MSWIN1252,
    and UTF8.

  • Using multipool Connections with Oracle 8i OPS Parallel Server

    Does anyone have any experience using multipool JDBC connections with Oracle 8i OPS? During a oracle node failure, we are seeing all of the connections fail. Any help you could give me her would be greatly appreciated!

    hal lavender wrote:
    Hi,
    I am trying to achieve Load Balancing & Failover of Database requests to two of the nodes in 8i OPS.
    Both the nodes are located in the same data center.
    Here comes the config of one of the connection pools.
    <JDBCConnectionPool CapacityIncrement="5" ConnLeakProfilingEnabled="true"
    DriverName="oracle.jdbc.driver.OracleDriver" InactiveConnectionTimeoutSeconds="0"
    InitialCapacity="10" MaxCapacity="25" Name="db1Connection598011" PasswordEncrypted="{3DES}ARaEjYZ58HfKOKk41unCdQ=="
    Properties="user=ts2user" Targets="ngusCluster12,ngusCluster34" TestConnectionsOnCreate="false"
    TestConnectionsOnRelease="false" TestConnectionsOnReserve="true" TestFrequencySeconds="0"
    TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@192.22.11.160:1421:dbinst01" />
    <JDBCConnectionPool CapacityIncrement="5" ConnLeakProfilingEnabled="true"
    DriverName="oracle.jdbc.driver.OracleDriver" InactiveConnectionTimeoutSeconds="0"
    InitialCapacity="10" MaxCapacity="25" Name="db2Connection598011" PasswordEncrypted="{3DES}ARaEjYZ58HfKOKk41unCdQ=="
    Properties="user=ts2user" Targets="ngusCluster12,ngusCluster34" TestConnectionsOnCreate="false"
    TestConnectionsOnRelease="false" TestConnectionsOnReserve="true" TestFrequencySeconds="0"
    TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@192.22.11.161:1421:dbinst01" />
    <JDBCMultiPool AlgorithmType="Load-Balancing" Name="pooledConnection598011"
    PoolList="db1Connection598011,db2Connection598011" Targets="ngusCluster12,ngusCluster34" />
    Please let me know , if you need further information
    HalHi Hal. All that seems fine, as it should be. Tell me how you
    enact a failure so that you'd expect one pool to still be good
    when the other is bad.
    thanks,
    Joe

  • TCL/TK with ORacle.

    I have installed oracle 8.0.5 on linux. I want to use oratcl
    with it.
    I have found that even oracle uses oratcl for agents and
    jobs.But they have just provided tcl . Has somebody used tk
    toolkit.It will be great to use Tk with oracle.
    I have tried compiling oratcl 2.5 . It does not compile with tk
    option .
    Has anyone tried using TK with oracle 8.0.5 on linux.
    THanks in advance..
    Naveen
    null

    aquila_deus wrote:
    oscar wrote:
    Hello everyone!
    Could some kind person create an tcl/tk PKGBUILD with xft enabled?
    It's only in cvs (last time I checked), but it was stable last time I tried it (6 months ago), and I lack the skills to create a cvs-build for myself
    There are a few tars on the tcl-server one can use...
    tcl-devel http://aur.archlinux.org/packages.php?d … =1&ID=1905
    tk-devel http://aur.archlinux.org/packages.php?d … =1&ID=1906
    Thanks!

Maybe you are looking for