What is apex.jdbc.MaxStatementsLimit for ?

Hi,
I'm wondering what exactly is apex.jdbc.MaxStatementsLimit parameter for and if/how the value should be adjusted.
Documentation says only: Specify the maximum number of statements to cache for each connection. Default = 10
Thanks,
Jan

Hi Jan,
I'm wondering what exactly is apex.jdbc.MaxStatementsLimit parameter for and if/how the value should be adjusted.Documentation says only: Specify the maximum number of statements to cache for each connection. Default = 10>
These are JDBC parameters detailed here http://docs.oracle.com/cd/B19306_01/java.102/b14355/concache.htm#CDEBCBJC
You may change the Max numbers to higher values, but do not reduce them. These have a impact on the memory used, and may not necessarily result in improved performance. You may need to find the right set with some trial and error.
Cheers,

Similar Messages

  • Jdbc url for yahoo finance

    Hey guys,
    Can anyone please help me find out what is the JDBC url for Yahoo Finance Database that stores the values of the historical stock quotes . I desperately need it for my java application in which I require to access the database in order to get the high, low, open, close quotes of a stock index. Any help would be greatly appreciated.
    Thank you,
    Vivek

    Hi!!
    The URL to the database on the yahoo webpage is http://chart.yahoo.com/d . If you go to that link then you will be able to access the database and do a search on it.
    Please reply. Any help will be greatly appreciated.
    Thank you,
    Vivek

  • What are the needed tools for JDBC???

    iam new to this field, i want to know what are the required tools for JDBC??
    i know that i need java.sql and javax.sql packages, but how can i get them???
    what about the drivers???
    thnx in advance

    You need to go to the vendor's web site such as Oracle and download the jar file for that particular database. Example: ojdbc14.jar for an oracle database and copy it to the 'lib' folder of your project and then include it with your project. Within that jar file, you will have datasource, preparedStatement, resultSet objects. You will need to read up on how to instansiate the datasource for that database from the vendor's documentation.

  • What is the recommended way for persisting JMS messages?

    What is the recommended way for persisting JMS messages?. As per the IMQ admin documentation , using the default built-in persistence type which is through unix flat files is much efficient and faster, compared to the database persistence .
    Tried setting up the jdbc stuff for database persistence on iAS 6.5 . I am getting the following
    error .
    [24/Apr/2002:16:09:20 PDT] [B1060]: Loading persistent data...
    [24/Apr/2002:16:09:21 PDT] Using plugged in persistent store: database connection
    url=jdbc:oracle:thin:@dbatool.mygazoo.com:1521:qa1 brokerid=ias01
    [24/Apr/2002:16:09:23 PDT] [B1039]: Broker "jmqbroker" ready.
    [24/Apr/2002:16:11:56 PDT] ERROR [B4012]: Failed to persist interest
    SystemManager%3ASystemManagerEngine%2BiMQ+Destination%0AgetName%28%29%3A%09%09SM_Response%0AClass%3A%09%09%09com.sun.messaging.Topic%0AgetVERSION%28%29%3A%09%092.0%0AisReadonly%28%29%3A%09%09false%0AgetProperties%28%29%3A%09%7BJMQDestinationName%3DSM_Response%2C+JMQDestinationDescription%3DA+Description+for+the+Destination+Object%7D:
    java.sql.SQLException: ORA-01401: inserted value too large for column
    [24/Apr/2002:16:11:56 PDT] WARNING [B2009]: Creation of consumer SM_Response to destination 1
    failed:com.sun.messaging.jmq.jmsserver.util.BrokerException: Failed to persist interest
    SystemManager%3ASystemManagerEngine%2BiMQ+Destination%0AgetName%28%29%3A%09%09SM_Response%0AClass%3A%09%09%09com.sun.messaging.Topic%0AgetVERSION%28%29%3A%09%092.0%0AisReadonly%28%29%3A%09%09false%0AgetProperties%28%29%3A%09%7BJMQDestinationName%3DSM_Response%2C+JMQDestinationDescription%3DA+Description+for+the+Destination+Object%7D:
    java.sql.SQLException: ORA-01401: inserted value too large for column
    Any thoughts?

    From the output, you are using imq 2.0. In that release
    the key used to persist a durable subscriber in the database
    table has a limit of 100 characters. The output shows that
    your value is:
    SystemManager%3ASystemManagerEngine%2BiMQ+Destination%0AgetName%28%29%3A%09%09SM_Res
    ponse%0AClass%3A%09%09%09com.sun.messaging.Topic%0AgetVERSION%28%29%3A%09%092.0%0Ais
    Readonly%28%29%3A%09%09false%0AgetProperties%28%29%3A%09%7BJMQDestinationName%3DSM_R
    esponse%2C+JMQDestinationDescription%3DA+Description+for+the+Destination+Object%7D:
    which is much longer than 100 characters.
    You might want to shorten the string you use for the
    durable name.
    And yes, the default file-based persistence store is
    more efficient when compared to the plugged-in persistence
    through a database.

  • JDBC connection for SQL Server 2000

    How to connect SQL Server 2000 from java?
    If i can get any sites where i can get examples also fine.
    Thanks in advance
    Praveen.

    Developer's Daily  Java Education 
      front page | java | perl | unix | DevDirectory 
      Front Page
    Java
    Education
    Pure Java
       Articles
    JDBC 101: How to connect to an SQL database with JDBC
    Introduction
    If you're interested in connecting your Java applets and applications to standard SQL databases like Oracle, Informix, Sybase, and others, JDBC is your ticket to paradise.  The combination of Java's JDBC and standard SQL makes a simple and powerful database solution. JDBC makes the simple things easy -- without making the complex tasks too difficult either.
    In this first article in our series, we'll show you step-by-step how to establish a connection from your Java programs to an SQL database using JDBC. In the process we'll show you how to connect to two different databases -- Mini SQL (mSQL), and Interbase -- just so you can see how the code changes when you switch from one database to another.
    Obtaining the JDBC driver
    Before you start working with JDBC, you'll need a copy of the Java JDK. If you don't have it already, you can get the JDK for free at Sun's Java web site, or it will also be included with many IDE's that you can purchase, such as JBuilder or Visual Cafe.
    Once you have the JDK, the next thing you need to do is to get the correct JDBC driver for your database. In most cases the JDBC driver will be provided by your database vendor. For instance, if you purchase the Interbase database, the driver will be provided with the software, or you can obtain the most recent version at http://www.interbase.com/.
    (An exception to this rule is Mini SQL, or mSQL. Because it's a very low-cost database, the JDBC driver has actually been developed by a separate group of people, led by George Reese at imaginary.com. You can download the mSQL JDBC driver from the imaginary.com web site.)
    Once you have the correct JDBC driver for your database, install it according to the instructions that came with it. Installation instructions will vary somewhat for each vendor.
    Establishing a connection is a two-step process
    Once you have the correct JDBC driver installed, establishing a connection from your Java programs to your SQL database is pretty easy.
    Regardless of whether you're trying to connect to Oracle, Sybase, Informix, mSQL, or Interbase (or any other JDBC data source), establishing a connection to an SQL database with Java JDBC is a simple two-step process:
    Load the JDBC driver.
    Establish the connection.
    We'll show you two examples just so you can see how easy it is, and how little the code changes when you migrate from one database server to another.
    A Mini SQL Example
    Listing 1 provides the full source code required to establish a connection to a mSQL database on a server named "www.myserver.com".
      //  Establish a connection to a mSQL database using JDBC. 
    import java.sql.*; 
    class JdbcTest1 { 
        public static void main (String[] args) { 
            try { 
                // Step 1: Load the JDBC driver. 
                Class.forName("com.imaginary.sql.msql.MsqlDriver"); 
                // Step 2: Establish the connection to the database. 
                String url = "jdbc:msql://www.myserver.com:1114/contact_mgr"; 
                Connection conn = DriverManager.getConnection(url,"user1","password");  
            } catch (Exception e) { 
                System.err.println("Got an exception! "); 
                System.err.println(e.getMessage()); 
      Listing 1: This source code example shows the two steps required to establish a connection to a Mini SQL (mSQL) database using JDBC. 
    An Interbase Example
    Listing 2 provides the full source code required to establish a connection to an Interbase database. In this example, we're connecting to a local Interbase server (i.e., the server is running on the same PC that we're running the Java code on).
      //  Establish a connection to an Interbase database using JDBC. 
    import java.sql.*; 
    class JdbcTest1 { 
        public static void main (String[] args) { 
            try { 
                // Step 1: Load the JDBC driver. 
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); 
                // Step 2: Establish the connection to the database. 
                String url = "jdbc:odbc:contact_mgr"; 
                Connection conn = DriverManager.getConnection(url,"user1","password");  
            } catch (Exception e) { 
                System.err.println("Got an exception! "); 
                System.err.println(e.getMessage()); 
      Listing 2: This source code example shows the two steps required to establish a connection to an Interbase database using JDBC. 
    What's the difference?
    The difference between the two source code listings is very small, so we highlighted them in a dark blue color. The only difference between connecting to the two databases is:
    The name of the JDBC driver.
    The URL used to connect to the database.
    Everything else in the two source code listings -- except for the comment at the top -- is identical. Here's a slightly more detailed discussion of the two differences:
    1. The JDBC Driver
    The name of the JDBC driver will be supplied to you by your database vendor. As you can see in the class.forName() statements, these names will vary. In the first case we're using the mSQL-JDBC driver. In the second case we're using the JDBC-ODBC Bridge driver supplied with the Interbase server.
    2. The URL
    The syntax of the DriverManager.getConnection() method is:
    DriverManager.getConnection(String url, String username, String password);
    The username and password are the normal names you use to log into your database. The URL you use will again vary with the database you use. In both examples shown, we're establishing a connection to a database named contact_mgr. (We'll use this database for all of our examples in this series of JDBC articles.)
    If you stick with standard SQL commands, it can be very easy to switch from one database server to another. In fact, I've heard from several developers who are using mSQL to prototype their software (because it's so inexpensive), and then switching to another commercial vendor when it's time to take their product "live".
    Conclusion
    Establishing a connection to an SQL database with Java JDBC is a simple, two-step process. The process is nearly identical for all SQL databases, and the only real differences are (a) the driver name, and (b) the URL used to connect to the database. Your database vendor will provide this information in their documentation.
    Resources mentioned in this article
    Here are a few links to resources we mentioned in this article:
    Interbase
    The Mini SQL (mSQL) database
    The mSQL-JDBC driver at imaginary.com
      [an error occurred while processing this directive]
     

  • Error deploying JDBC driver for SQL Server 2005

    Hi all
    I'm trying to deploy a JDBC driver for MS SQL Server 2005 (downloaded [here|http://www.microsoft.com/downloads/details.aspx?familyid=C47053EB-3B64-4794-950D-81E1EC91C1BA&displaylang=en]). When I try to deploy it according to the instructions found [here|http://help.sap.com/saphelp_nwce10/helpdata/en/51/735d4217139041e10000000a1550b0/frameset.htm] it fails.
    The error in the logs doesn't give any useful information though. It only says Error occurred while deploying component ".\temp\dbpool\MSSQL2005.sda".
    Has anyone else deployed a driver for SQL Server 2005, or perhaps have any suggestions of what else I could try?
    Thanks
    Stuart

    Hi Vladimir
    That's excellent news! Thanks for the effort you've put into this. I'm very impressed with how seriously these issues are dealt with, specifically within the Java EE aspects of SAP.
    May I make two suggestions on this topic:
    1. Given that NWA has such granular security permissions, please could the security error be shown when it is raised? This would help immediately identify that the problem isn't actually a product error, but rather a missing security permission (and thus save us time and reduce your support calls).
    2. Please could the role permissions be clearly documented (perhaps they already are, and I just couldn't find the docs?) so we know what is and isn't included in the role. The name is very misleading, as a "superadmin" is generally understood to have no limitation on their rights - so clear documentation on what is in-/excluded would be most helpful.
    On a related topic, I came across another issue like this that may warrant your attention (while you're already looking into NWA security issues). I logged a support query about it (ref: 0120025231 0000753421 2008) in case you can retrieve details there (screenshots, logs, etc.). It's basically a similar security constraint when trying to create a Destination. I'm not sure if this is something you would like to include as standard permissions within the NWA_SUPERADMIN role or not, but I think it's worth consideration.
    Thanks again for your help!
    Cheers
    Stuart

  • JDBC connection for Unidata (6.1) database

    Does any one know from the BI Publisher JDBC data source how to connect to a Unidata 6.1 database?
    I have installed the UnidataDK on the BI Publisher machien, but not sure what's the setting for the class driver and connection string.
    And also what else need to do for Oracle BIPublisher applicaton to know the Unidata driver path etc.
    Appreciate anyone can give me a light.

    Hi,
    according to this document, Unidata JDBC driver class name is {noformat}com.ibm.u2.jdbc.UniJDBCDriver and URL format is jdbc:ibm-u2://<host>[:<port>]/<account>[[;name=value]...]{noformat}

  • Configure BI JDBC system for VC

    Hello,
    I am new at VC and try to configure a BI JDBC system (BW 3.5) for VC. I have downloaded
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    (How to Configure a BI JDBC System for Visual Composer.pdf) but do not know how to proceed after step 8 where SDK_JDBC is required. In my Visual Admin --> Cluster tab --> Services --> Connector Container --> Runtime tab --> under sap.com/com/sap.ip.bi.sdk.dac.connector.jdbc node SDK_JDBC must be selected. However, such node does not exist, how can I install it? Please help!
    Thank you very much,
    Elias Negrin

    Hello Elias,
    Please see my comments on your last post below:
    > Hi Deep,
    >
    > In step 7 I have to specify location of JDBC JARs
    > provided by RDBMS vendor (<b>Oracle 9i</b> in our case). I
    > have already done step 6 where added <b>MSSQL </b>jar files
    > (JDBC Connector --> Runtime tab --> Datasources -->
    > Drivers). What am I missing?
    >
    > Thanks again,
    > Elias
    I highlighted in bold where the issue is, you went ahead and loaded the JDBC driver for Microsoft's SQL Server on the JAVA WebAS and not the JDBC driver for Oracle 9i, which is the RDBMS you are using. You can download the appropriate JDBC driver from the site below.
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    Once you have done this install the Oracle JDBC Driver and you should be fine.
    Good Luck,
    Cheers,
    Scott

  • NW04s JDBC Connection for MSSQL not working

    In portal JDBC settings are:
    Connection properties
    URL = jdbc:microsoft:sqlserver://192.168.0.101:1433;DatabaseName=Northwind
    Driver = com.microsoft.jdbc.sqlserver.SqlServerDriver
    User Management
    User mapping type = admin,user
    I assigned a user to Administrator under User Administration
    Visual Administrator settings are:
    DriverName = com.microsoft.jdbc.sqlserver.SqlServerDriver
    URL = jdbc:microsoft:sqlserver://192.168.0.101:1433;DatabaseName=Northwind
    UserName = empty
    Password = empty
    Result
    Connection test fails in portal. The settings appear ok.
    The only thing I can think of is that user specified in portal user mapping is not setup properly on SQLServer.
    Also:
    When I run link:
    http://localhost:53000/TestJDBC_Web/TestJDBCPage.jsp
    my jdbc service MSSQL_JDBC does not appear. MSSQL_JDBC was cloned from SDK_JDBC and the libray for drivers was added
    I am running MSSQL 2000 SP4 but using JDBC drivers for SP3 as I didn't find any for SP4 and assumed they would work for SP4
    What am I missing?

    Raynald,
    I think I am having a similar problem.
    I also cloned the connection names in Vis. Administrator to the SDK_name.
    Indeed it now appears in the test servlet, and I can succesfully execute SQL statements from there.
    So the connector seems ok.
    But I have still problems with the Connection Test in the Portal.
    I am trying to make BI JDBC system to be able to use my database from the Visual Composer.
    I am using these properties:
    CodeLink = com.sap.portal.systems.bi.SAP_BI_JDBC
    ConnectionFactoryClass = SDK_TESTDB
    ConnectionUrl = jdbc:jtds:sqlserver://sapserver:1433;databaseName=TestDb
    (this url is the same as in Vis. Administrator)
    Driver Class Name =  net.sourceforge.jtds.jdbc.Driver
    Fixed Catalog = empty
    Fixed Schema = empty
    System Type = SAP_BI_JDBC
    User Mapping = admin, user
    I am logged in as Administrator, so I added the login credentials at the User Mapping page of the Administrator user.
    When I use Connection Test function from the portal I get the following messages:
    Retrieval of default alias successful
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    What can I do to solve this problem?

  • Oracle JDBC Driver for Linux

    I'm looking for a place to download an Oracle JDBC driver for Linux. I have installed Oracle 8.1.5 for Linux, but don't find the driver either in the installation, nor on the CD. Can anyone point me to someplace I might be able to find it?
    Also, generic help in setting this up to work, JDBC API calls would also be of great help.
    Thanks.

    Luis Claudio Rodrigues da Silveira (guest) wrote:
    : How can I configure JDBC driver in a Suse environment? What
    are
    : the necessary steps?
    : Thanks in advance.
    1) You need classes111.zip usually located at
    $ORACLE_HONE/jdbc/lib.
    2) Add classes111.zip to CLASSPATH and export
    3) If you use thin driver your code should look like:
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    // Connect to the database
    // You must put a database name after the @ sign in the
    connection URL.
    // You can use either the fully specified SQL*net syntax or
    a short cut
    // syntax as <host>:<port>:<sid>. The example uses the
    short cut syntax.
    Connection conn =
    DriverManager.getConnection
    (jdbc:oracle:thin:@hostname:port:ORACLE_SID,
    USER_NAME, PASSWOED);
    null

  • I want JDBC driver for Sybase database...

    Hi All:
    Can any one help me with JDBC driver for Sybase database ? I have surfed the net, but not able to find a Sybase driver that works correctly.
    Also, can you please let me know if anything special needs to be done in case of Sybase database connection, apart from what we normally do to connect to a database like "Oracle" or "MS SQL Server".
    Thanks and Regards,

    And why do you think someone using Oracle might know the Competitor's drivers?
    Having said this: you should give jTDS a try:
    http://jtds.sourceforge.net
    Also, can you please let me know if anything special
    needs to be done in case of Sybase database
    connection, apart from what we normally do to connect
    to a database like "Oracle" or "MS SQL Server".It's all in the docs of the driver

  • EMERGENCY: what kind of jdbc driver should I use?

    Suppose one machine with 9iAS standarv version installed, and another one with oracle8.1.6 installed. OSE is used for JSP and servlet engine. In this case, Oracle internal JDBC driver does not apply, am I right? Then what kind of JDBC should I used to access the database on the other machine?
    thanks
    null

    Your have 4 driver options :
    1) 2 from a client install
    a) jdbc thin
    b) jdbc oci with a client install
    2) 2 from inside the JVM including the ose component.
    a) server sdie internal(kprb) -- for inside the rdbms usage ONLY
    b) server side thin driver.
    Please review the following "overview" :
    Overview of the Oracle JDBC Drivers
    http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a83724/overvw2.htm#1000908
    For server side jdbc connection the following information is also relevant :
    It applies to java code in IAS 9i running in the Oracle jvm (including the ose) -- but not the apache jserv component.
    JDBC in the Server: the Server-Side Internal Driver
    http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a83724/advanc4.htm#1001042
    i hope this helps ....

  • APEX as frontend for Oracle Maps and Mapviewer data

    Just to let you know:
    I did some work with Oracle Application Express (APEX) integrating Oracle Maps and Mapviewer functionality
    and published it occasionly it in my Oracle Application Express (German) BLOG. : http://htmldb-de.blogspot.com/ -
    Guess you will understand from the screens, what all is possible and beyond...
    An integration (application) of APEX and Mapquest for Routeplanning done in APEX can be seen (and downloaded) as well.
    Feel free to have a look !
    Bernhard
    http://htmldb-de.blogspot.com/

    Just to let you know:
    I did some work with Oracle Application Express (APEX) integrating Oracle Maps and Mapviewer functionality
    and published it occasionly it in my Oracle Application Express (German) BLOG. : http://htmldb-de.blogspot.com/ -
    Guess you will understand from the screens, what all is possible and beyond...
    An integration (application) of APEX and Mapquest for Routeplanning done in APEX can be seen (and downloaded) as well.
    Feel free to have a look !
    Bernhard
    http://htmldb-de.blogspot.com/

  • Can anybody give me the jdbc code for postgres database.

    Hello all,
    I tried to search for sample jdbc code for postgres. But I couldn't find working sample. Can anybody please post the sample jdbc code for connecting to postgres database.
    I have already added the jar file, "postgresql-8.0-312.jdbc3.jar" to the build path.
    Thanks.
    Srinivas

    Hi,
    Thanks for your reply!
    I wrote the following code, but the insert doesn't add a row.
    try {
              Class.forName("org.postgresql.Driver");
              //Preparing Conenction String     
              Connection con = DriverManager.getConnection("jdbc:postgresql://<name>:5432/sales_office_test", "sales_office_data","sales_office_data");
              PreparedStatement prepSt =  con.prepareStatement(
                                  "INSERT INTO office_personnel (office_id, salutation, firstname, lastname, email_address,"
                                  + " cellphone, phonenumber, extension, password, username) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
                             prepSt.setString(1, newOfficeIds);
                             prepSt.setString(2, whopperUserSalutation);
                             //Close statement
                             prepSt.close();
         } catch (ClassNotFoundException e1) {
              // TODO Auto-generated catch block
              e1.printStackTrace();
         } catch (SQLException e1) {
              // TODO Auto-generated catch block
              e1.printStackTrace();
         }If I print the connection object I get
    Sql connection value: org.postgresql.jdbc3.Jdbc3Connection@10965c3 I double checked the same query by directly executing it on the web interface to the postgres, works fine there and creates the row...
    What could be wrong.
    Thanks
    Srinivas

  • Where I can download JDBC driver for AIX

    Only NT and SUN Solaris JDBC drivers are available in the download area. Where I can download JDBC driver for AIX 8.1.7?

    What if you try deleting the /Library/Printer/EPSON and the/Library/Caches/Epson/ folders and then reinstalling the updates?
    The scanner is shown as supported on
    http://support.apple.com/kb/HT3669
    Hope this helps.

Maybe you are looking for

  • Was reset and now it won't charge?

    I have had my Ipad less than one year. I had about 20 pictures, no music, no videos. I had I Books that had 3 books on my shelf, TWCable app and Walgreens App. I tried to record an event I attended and I got a message saying I did not have enough mem

  • Applet TV X2

    Hi Is it possible for me to link 2 apple tv to my macbook air and have them displaying as different displays side by side (so not just mirroring) as I want to show different content on each?  I.E. in total there would be 3 screens when you factor in

  • ABAP proxy web service authentication

    Hi, We are trying to develop an ABAP proxy for a web service call on ECC6 (SP14). The web service (provided by another SAP system) uses basic authentication. The proxy has been created as has the logical endpoint/service (via SOAMANAGER). In the endp

  • Using Disk Utility From Recovery Partition

    Is there an advantage to repairing permissions after booting into Recovery disk? (Hold Option key as restart) I realize that Repair disk will be available if needed & it is not available when using Disk Utility from Mac HD partition.

  • New G/l issue

    Dear expert         am facing one error in "Assign Variants for Real-Time Integration to Company Codes". while am assigning  variant and company code am getting below error message    Activate company code check in controlling area 1000    Message no