execution / better performace on sql or java)

Hi experts,

I would like to start a topic on the best performance or best pratice adf using the sql codes or java.

am basically of Oracle forms - bottom of pl/sql. Well, I knew java and I awareness about the Exception (my code maynt be coherent sometimes(run time) or or in other words sometimes fell on the run-time exceptions based on the user input).

tell as an example: consider this scenario.

I input employee named lov, if the inputs are not avaiable that I'd throw an employee entered is not found.

Basically, I would like to follow this method.

method 1:

application of vo:
Select * From sometable
 Where Btx = :px1 And 
 :px2 Between Btbx And Btbxo And Btb_x=:px
amimpl.code
   
 public void Validatex(String px ,String px1, oracle.jbo.domain.Date px2 ) {
        
       someVOImpl vo1 = (someVOImpl)this.getsomeRequest1();
        Row r = vo1.getCurrentRow();
        String Schx = (String)r.getAttribute("Btrxxx");
        
          if(Schxx.equals("somevalue")) 
            {
            xffVOImpl vo2 = (xffVOImpl)this.getxkEff1();
            vo2.setNamedWhereClauseParam("px", px.toString());
            vo2.setNamedWhereClauseParam("px1", px1.toString());
            vo2.setNamedWhereClauseParam("px2", px2);
            vo2.executeQuery();
             if(vo2.getEstimatedRowCount() == 0)
            {
               throw new JboException("xxx Not Found");
            }
            }
            
       
       if(Scheme.equalsIgnoreCase("somevalue"))
        {
        xxffVOImpl vo = (xxxffVOImpl)this.getxxkEff1();
        vo.setNamedWhereClauseParam("px", px);
        vo.setNamedWhereClauseParam("px1", px1);
        vo.setNamedWhereClauseParam("px2", px2);
        vo.executeQuery();
         if(vo.getEstimatedRowCount() == 0)
        {
            throw new JboException("xxx Not Found");
        }
        }
       }
This will be exposed as a method called in what listeners valuechange. It's work very well.

My question is:

If I wrote the same thing in java like this. I think that it take more time over methods sometimes out exceptions.


public void Validatex(String px ,String px1, oracle.jbo.domain.Date px2 ) {
  
some vos... as like same of which i mentioned above

using iterator iterate each and every row.

try{
 
for (.......)
{

if(...)
{

 }
 else
{

}

} } catch()
{}

}
who would be advised. ? I hope that iterating each line taking little shortly.

but I think that method1 without any exception and smarter time produce the result.

If people suggest me? Where am who would be the best approach.

Thank you & & looks
ADF7.

(1) SQL is still better compared to Java--that db is optimized to work best for large data... suggestion of Timo-+ 1
(2) the above mentioned use System.currentTimeMillis () to assess the time takes... This approach is almost common to all java developers... to check the method execution times.

Tags: Java

Similar Questions

  • Oacle SQL Developer Java Version issue

    Installed Oracle SQL Developer 3.2.09.30 (liberation, 27 August 2012) on SUSE Linux 11 r2. Also installed JDK 1.7.0_07.

    When it is running: sqldeveloper.sh sh-> pop-up window:

    You try to run with Java 1.7.0_07

    This product running is supported with a minimum of Java
    version 1.6.0_04 and a maximum version lower than 1.7.

    This product is not supported and may not work correctly
    If you continue. Continue anyway?

    -That means that my best bet is to use the Java JDK 1.6.0_04 version?

    I read a few bugs online complain under the Oracle SQL Developer java 1.7. But those who are back in 2011. I wonder if the problem has since been resolved.

    -Also, do I need to run the SQL Developer as user oracle?

    Thank you

    >
    You try to run with Java 1.7.0_07

    This product running is supported with a minimum of Java
    version 1.6.0_04 and a maximum version lower than 1.7.

    This product is not supported and may not work correctly
    If you continue. Continue anyway?

    -That means that my best bet is to use the Java JDK 1.6.0_04 version?
    >
    This means that if you follow the recommended instructions and free instructions, it will not be supported and it probably won't work correctly.

    Oracle has delivered the warning as clear as possible.
    >
    I read a few bugs online complain under the Oracle SQL Developer java 1.7. But those who are back in 2011. I wonder if the problem has since been resolved.
    >
    Wonder no more! Visit the official download page and read the latest release dated August 2012 notes
    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/sqldev-32-Relnotes-1734493.html
    >
    JDK support
    Oracle SQL Developer 3.2 version comes with JDK 1.6.0_11. You can use the JDK download embedded or to connect to an installed JDK. Developer SQL supports a java version minimum of to a maximum java version 1.6.0_04 less than 1.7.
    >
    You should EU JDK 1.6.0_11 if possible, and as your warning message and the release notes say: DO NOT USE JAVA 1.7

    -Also, do I need to run the SQL Developer as user oracle?

  • SQL, PL/SQL and Java can be executed in the database

    I read this statement in a book
    "SQL, PL/SQL and Java can executed in the database".
    What it means.
    It does not imply that we can write the java code in client tools such as sql developer?

    >
    I read this statement in a book
    "SQL, PL/SQL and Java can executed in the database".
    What it means.
    >
    This means that Oracle has a JVM that is built into the server. This JAVA virtual machine can be used to run any Java classes that you have loaded (using the loadjava utility).

    Alternatively, you can write stored procedures that are executed in the same way as basic Java PL/SQL procedures.
    >
    It does not imply that we can write the java code in client tools such as sql developer?
    >
    It has nothing to do with where the java source code is written. The java source code or the code of the class file must be loaded in the database to be executed.

    The Oracle database is unable to interact with the Java code that runs outside the database as part of the same application.

  • pl/sql appellant java class member function obtains ora-00932 in 11g.

    Call a member function of class of java from a pl/sql script, I get an error ora-00932.

    ORA-00932: inconsistent data types: waiting for an IN argument in position 1 which is an instance of an O

    convertible to an instance of a user defined class Java got a type of Oracle that could not be converted

    The code works fine when the java function is declared static.   However, since there could be thousands of users hitting the function at the same time and there is no instance of the object, I wasn't sure if it would be a matter of how oracle manages memory for each user in a session, if it would not be a problem, I can go forward with this approach.   However, I have greatly simplified this for an example that reproduces the problem.

    Create the oracle type:

    CREATE OR REPLACE TYPE MyObject AS OBJECT

    (

    col1Data VARCHAR2 (10),

    MEMBER FUNCTION createData

    RETURN VARCHAR2 AS LANGUAGE JAVA

    NAME "java.lang.String return MyObject.createData ().

    );

    Java code:

    CREATE OR REPLACE AND FIX JAVA SOURCE NAMED 'MyObject' AS

    import java. IO;

    public class MyObject

    {

    private String col1Data;

    public void createData)

    {

    System.out.println ("col1:" + col1Data);

    }

    }

    Java function call vai pl/sql function:

    FUNCTION to CREATE or REPLACE fn_myobject

    (col1 IN varchar2)

    RETURN VARCHAR2

    AS

    p_rc varchar2 (100);

    myObj MyObject;

    BEGIN

    myObj: = new MyObject (col1);

    p_rc: = myObj.createData ();   -This line gets an error 00932

    RETURN p_rc;

    END;

    /

    And finally, the script from sqlplus to test:

    Set serverout

    call dbms_java.set_output (50);

    Set line 120

    declare

    VARCHAR2 (64) RC: = ";

    R1 varchar2 (64): = 'abc ';

    Start

    RC: = fn_myobject (r1);

    end;

    /

    I tried all sorts of things without success.   Any ideas on this would be most appreciated.  It is once again, 11g.

    Thank you.

    MarkF says:

    If you go back to the example code I posted, it is mapping a java class oracle object.

    No, it isn't.

    Your example simply sets an Oracle object type whose member createData function is implemented in Java.

    The fact that the implementing class has the same name does not have a direct mapping between the class and the type of Oracle.

    The important part to read and understand in the link I posted is:

    A call specification outlines the top level of an Oracle database Java method entry point. So, you can publish only public static methods.

    However, there is an exception. You can publish instance methods as members of an SQL object type methods.

    You are in the first case.

    To be in the exceptional cases and be able to publish instance methods, the Java class must implement SQLData.

    See the latest example here:

    https://docs.Oracle.com/database/121/JJDEV/chsix.htm#JJDEV13273

    Adapted to your example:

    CREATE OR REPLACE AND compile JAVA SOURCE NAMED "MyObject" AS
    import java.sql.*;
    
    public class MyClass implements SQLData
    {
      // Implement the attributes and operations for this type.
      private String col1Data;
    
      public String createData ()
      {
          System.out.println ("col1: " + col1Data);
          return col1Data;
      }
    
      // Implement SQLData interface.
      String sql_type;
    
      public String getSQLTypeName() throws SQLException
      {
        return sql_type;
      }
    
      public void readSQL(SQLInput stream, String typeName) throws SQLException
      {
        sql_type = typeName;
        col1Data = stream.readString();
      }
    
      public void writeSQL(SQLOutput stream) throws SQLException
      {
        stream.writeString(col1Data);
      }
    }
    /
    
    CREATE OR REPLACE TYPE MyObject AS OBJECT
    (
      col1Data  VARCHAR2(10),
      MEMBER FUNCTION createData
              RETURN VARCHAR2 AS LANGUAGE JAVA
        NAME 'MyClass.createData() return java.lang.String'
    );
    /
    

    Test:

    SQL> exec dbms_java.set_output(1000)
    
    PL/SQL procedure successfully completed.
    
    SQL> set serverout on
    SQL>
    SQL> select MyObject('ABC').createData() from dual;
    
    MYOBJECT('ABC').CREATEDATA()
    --------------------------------------------------------------------------------
    ABC
    
    col1: ABC
    
  • Extension of SQL Developer Java does not

    Hello

    I developed a small extension of Java to start the SQL Developer via command line and put some parameters such as the server name, user and password to create a connection when you start.

    THS connection will be deleted when closing.

    This extension was working fine until the 3.0.2 version and does not work with version 4.0.2.

    My question: are there changes in the load of an extension?

    Any help would be appreciated, thanks.


    I developed a small extension of Java to start the SQL Developer via command line and put some parameters such as the server name, user and password to create a connection when you start.

    THS connection will be deleted when closing.

    This extension was working fine until the 3.0.2 version and does not work with version 4.0.2.

    My question: are there changes in the load of an extension?

    Yes - there are MAJOR changes and they include the use of "lazy" loading of extensions.

    See note on the main page of Oracle extension exchange.

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/Extensions-083825.html Special Note regarding Extensions developed prior to SQL

    Developer v4.0:

    With the new version of SQL Developer 4.0, an extension that was written for an earlier version of the SQL Developer will no longer work. Developer SQL is based on the JDeveloper Framework. We have updated the framework to be up-to-date with the JDeveloper 12 c version. With JDeveloper 11 g 2, they switched to an OSGI framework. The JDeveloper team issued instructions to update your extensions to be compatible with the new framework and SQL v4.0 developer.

    Note that first sentence than the previous expansions 'won't work' If you use them in 4.x

    It also appears to be bugs or incompatibilities between the extension of JDeveloper published SDK and the "new" version Sql Dev 4.x uses. The public is 12.1.2, and is one that is available for download for use in the development of an extension. SQL Dev uses version 12.1.3 and who has NOT yet been published.

    I have a new thread posted recently to ask about any aspect of this compatibility, but have not yet had all the answers:

    https://community.Oracle.com/thread/3570408

    A few simple extensions, perhaps yours, may only need a small change in the file "extension.xml" use appropriate brackets.

    Other extensions will require additional changes. One of the main changes is the new ESDK of "lazy" loading of extensions use.

    Some additional info is available on the Java.net site:

    https://Java.NET/projects/jdev-extensions/pages/trigger-hooks

  • pl/sql to java shell script

    This issue crosses many boundaries, but it begins with PL/SQL, and I hope that there is sufficient expertise here in order to cover the basics.

    System: Oracle 11.2.0.1.0 on Oracle 5, 64 - bit Linux

    I have a PL/SQL, java appeal procedure, which in turn calls a shell script. I put a few diagnostic output in the shell script, the redirection of stdout to a file in / tmp. running the script from the command line works perfectly. When it is called by procedures, no output.

    Here is the 'chain of traceability', somehow...

    In the PL/SQL:
    Host_Command (p_command => v_command||v_control_file||v_orasid);
    where the variable v_command = /opt/u01/app/oracle/admin/control/sqlldr3_test.script


    So this is 'Host_command', the whole procedure procedure:
    CREATE OR REPLACE  PROCEDURE "DW"."HOST_COMMAND" (p_command  IN  
        VARCHAR2)
    AS LANGUAGE JAVA
    NAME 'Host.executeCommand (java.lang.String)';
    And the shell script /opt/u01/app/oracle/admin/control/sqlldr3_test.script:
    #!/bin/ksh
    export trcfle=/tmp/edstest.$$
    export ORACLE_SID=$2
    export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dwdev
    export PATH=$PATH:/u01/app/oracle/product/11.2.0/dwdev/bin
    export ORACLE_BASE=/u01/app/oracle
    export SQLLDR_CONTROLFILE=$1
    #
    echo input parms are $* >> $trcfle
    echo environment is: >> $trcfle
    env|grep -i ORACLE|grep -v grep|sort >> $trcfle
    #
    exit
    but in the end, there is no /tmp/edstest.* file
    oracle$ ls -ltr /tmp/eds*
    ls: /tmp/eds*: No such file or directory
    oracle$
    open to all ideas.

    I cut things down to their bases, but with the exception of the line of the high level process, the code above is finished... is that my test cut original scripts to exactly what is show. Requriement of business is to take existing scripts and remove some of the stuff that is hard coded, allowing procedures move from dev to qa to prod without hardcoded values unique to each environment.

    I'm very comfortable with PL/SQL and more with shell scripts, but the java link is a black hole for me.

    When the proc of Java runs the external command, a child process of Unix/Linux is created for it. This process inherits the environment settings of the parent process - that would be a dedicated server process, a work process or shared in the pool of the MTS server process.

    These processes have parameters of environment of bare bones and something fundamental that + $PATH + should not be approved as being valid and usable.

    If the Java code should fully qualify the path to the executable file to run.

    Java code should do 2 things - stdout (and stderr if possible) back to the appellant to PL/SQL as vacrhar2 of the parameters out. And return the exit code of the child process.

    They help a lot in troubleshooting why an outgoing external call failed.

    We use these external calls widely enough (through a number of interfaces, treatments to distance running and pulling on the release of data by the latter in the database). All driven from PL/SQL using the proc of Java to make an outgoing call. If the basics are working-, but there seems to be a constant learning and troubleshooting curve to follow to get this working in a robust way.

  • Drive options T110 II for better performance of SQL Server.

    I am building a development machine that will run Win Server 2008 and MS SQL 2008. About 10 developers use it. functions of database pretty standard with each DB about 20 GB in size. I'm going to spec an E3-1230 and max the RAM to 32 GB but not sure that the best option for disk.

    As this is a dev machine I don't need her to be elastic, no need to mirror, but I have speed and space for a budget.

    I need at least 2 TB of space but the better and happy to put in 2 or even 4 discs, I understand chassis will have 4.

    I'm not sure I know is if I should the modern fast SATA drives and connect 4 of them to the motherboard?

    I was not able to discover what is the chipset of the motherboard and if it supports 3 Gbps or 6 GB/s speeds.

    I know there is a map available H200 and would that be born if necessary, but I think that does support only 2 discs and not sure so if it will coexist with 2 connected directly to the motherboard. Also, I found in the past, these cards controller Dell add resilience but are sometimes older slower technology so may be slower than 6 GB/s, or even plugged directly 3gbps.

    Our DBA SQL like as many spindles as possible, but which reduces flexibility and even if it was appropriate, when the disks were the bottleneck, I think they are faster now then perhaps it is useless if the controller/bus now is the bottleneck?

    Advice please it who's boss?

    Waterman,

    The T110 II uses the latest Intel C202 chipset and supports the Xeon processor E3-1200 product family.  You can use the H200 or S300 controller for this server limitations to the S300 is that its Windows only.

    The server can support 4 hard drives cabled them, either to the Council or to the controller. Onboard SATA ports are valued at 6 GB/s: http://www.intel.com/content/www/xa/en/chipsets/6-chipset-c200-chipset-datasheet.html page 200.  You won't win any show using a controller. Internal memory is limited to 12 TB.

    Hope that answers your basic questions.

    Kind regards

  • Plans of multiple executions for the same SQL statement

    Dear experts,

    awrsqrpt. SQL shows several plans for a single SQL statement executions. How is it possible that a single SQL statement will be several Plans of executions within the AWR report.

    Here is the output of the awrsqrpt for your reference.

    WORKLOAD REPOSITORY SQL Report
    
    Snapshot Period Summary
    
    DB Name         DB Id    Instance     Inst Num Release     RAC Host
    ------------ ----------- ------------ -------- ----------- --- ------------
    TESTDB          2157605839 TESTDB1               1 10.2.0.3.0  YES testhost1
    
                  Snap Id      Snap Time      Sessions Curs/Sess
                --------- ------------------- -------- ---------
    Begin Snap:     32541 11-Oct-08 21:00:13       248     141.1
      End Snap:     32542 11-Oct-08 21:15:06       245     143.4
       Elapsed:               14.88 (mins)
       DB Time:               12.18 (mins)
    
    SQL Summary                            DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    
                    Elapsed
       SQL Id      Time (ms)
    ------------- ----------
    51szt7b736bmg     25,131
    Module: SQL*Plus
    UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL,0) + NVL(ACCT_DR_BAL,
    0)) FROM ACCT WHERE ACCT_TRN_DT = (:B1 ) AND TEST_ACC_NB = ACCT_ACC_NB(+)) WHERE
     TEST_BATCH_DT = (:B1 )
    
              -------------------------------------------------------------
    
    SQL ID: 51szt7b736bmg                  DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> 1st Capture and Last Capture Snap IDs
       refer to Snapshot IDs witin the snapshot range
    -> UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL,0) + NVL(AC...
    
        Plan Hash           Total Elapsed                 1st Capture   Last Capture
    #   Value                    Time(ms)    Executions       Snap ID        Snap ID
    --- ---------------- ---------------- ------------- ------------- --------------
    1   2960830398                 25,131             1         32542          32542
    2   3834848140                      0             0         32542          32542
              -------------------------------------------------------------
    
    
    Plan 1(PHV: 2960830398)
    -----------------------
    
    Plan Statistics                        DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    
    Stat Name                                Statement   Per Execution % Snap
    ---------------------------------------- ---------- -------------- -------
    Elapsed Time (ms)                            25,131       25,130.7     3.4
    CPU Time (ms)                                23,270       23,270.2     3.9
    Executions                                        1            N/A     N/A
    Buffer Gets                               2,626,166    2,626,166.0    14.6
    Disk Reads                                      305          305.0     0.3
    Parse Calls                                       1            1.0     0.0
    Rows                                        371,735      371,735.0     N/A
    User I/O Wait Time (ms)                         564            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     2            N/A     N/A
    Sharable Mem(KB)                                 26            N/A     N/A
              -------------------------------------------------------------
    
    Execution Plan
    ------------------------------------------------------------------------------------------------
    | Id  | Operation                    | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    ------------------------------------------------------------------------------------------------
    |   0 | UPDATE STATEMENT             |                 |       |       |  1110 (100)|          |
    |   1 |  UPDATE                      | TEST            |       |       |            |          |
    |   2 |   TABLE ACCESS FULL          | TEST            |   116K|  2740K|  1110   (2)| 00:00:14 |
    |   3 |   TABLE ACCESS BY INDEX ROWID| ACCT            |     1 |    26 |     5   (0)| 00:00:01 |
    |   4 |    INDEX RANGE SCAN          | ACCT_DT_ACC_IDX |     1 |       |     4   (0)| 00:00:01 |
    ------------------------------------------------------------------------------------------------
    
    
    
    
    Plan 2(PHV: 3834848140)
    -----------------------
    
    Plan Statistics                        DB/Inst: TESTDB/TESTDB1  Snaps: 32541-32542
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    
    Stat Name                                Statement   Per Execution % Snap
    ---------------------------------------- ---------- -------------- -------
    Elapsed Time (ms)                                 0            N/A     0.0
    CPU Time (ms)                                     0            N/A     0.0
    Executions                                        0            N/A     N/A
    Buffer Gets                                       0            N/A     0.0
    Disk Reads                                        0            N/A     0.0
    Parse Calls                                       0            N/A     0.0
    Rows                                              0            N/A     N/A
    User I/O Wait Time (ms)                           0            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     2            N/A     N/A
    Sharable Mem(KB)                                 26            N/A     N/A
              -------------------------------------------------------------
    
    Execution Plan
    ---------------------------------------------------------------------------------------------
    | Id  | Operation                    | Name         | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------------------
    |   0 | UPDATE STATEMENT             |              |       |       |     2 (100)|          |
    |   1 |  UPDATE                      | TEST         |       |       |            |          |
    |   2 |   TABLE ACCESS BY INDEX ROWID| TEST         |     1 |    28 |     2   (0)| 00:00:01 |
    |   3 |    INDEX RANGE SCAN          | TEST_DT_IND  |     1 |       |     1   (0)| 00:00:01 |
    |   4 |   TABLE ACCESS BY INDEX ROWID| ACCT         |     1 |    26 |     4   (0)| 00:00:01 |
    |   5 |    INDEX RANGE SCAN          | INDX_ACCT_DT |     1 |       |     3   (0)| 00:00:01 |
    ---------------------------------------------------------------------------------------------
    
    
    
    Full SQL Text
    
    SQL ID       SQL Text
    ------------ -----------------------------------------------------------------
    51szt7b736bm UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL, 0) +
                  NVL(ACCT_DR_BAL, 0)) FROM ACCT WHERE ACCT_TRN_DT = (:B1 ) AND PB
                 RN_ACC_NB = ACCT_ACC_NB(+)) WHERE TEST_BATCH_DT = (:B1 )
    Your contribution is very much appreciated.

    Thank you for taking your time to answer my question.


    Concerning

    Oracle Lover3 wrote:
    How will I know (from Plan 1 and Plan 2) whose execution plan chose for the current run?

    Since you're already on 10.2, you can identify the actual execution plan by checking in V$ SESSION SQL_ID and SQL_CHILD_NUMBER column. This can be used to identify the plan in V$ SQL_PLAN (columns SQL_ID and CHILD_NUMBER) and in 10g, you can use the convenient DBMS_XPLAN. Function DISPLAY_CURSOR for the information of the real plan using these two parameters.

    Kind regards
    Randolf

    Oracle related blog stuff:
    http://Oracle-Randolf.blogspot.com/

    SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676 /.
    http://sourceforge.NET/projects/SQLT-pp/

  • AIR 3.0 Beta 4 Installer fails: means: Java heap space

    means: Java heap space
    at java.io.WinNTFileSystem.list (Native Method)
    the impossible (unknown Source)
    at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:788)
    at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706)
    to javax.crypto.JarVerifier.access$ 400 (JarVerifier.java:34)
    to javax.crypto.JarVerifier$ 1.run(JarVerifier.java:183)
    to javax.crypto.JarVerifier$ 1.run(JarVerifier.java:149)
    at java.security.AccessController.doPrivileged (Native Method)
    to javax.crypto.JarVerifier. (JarVerifier.java:148)
    at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316)
    at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261)
    to javax.crypto.JceSecurity.access$ 000 (JceSecurity.java:48)
    to javax.crypto.JceSecurity$ 1.run(JceSecurity.java:78)
    at java.security.AccessController.doPrivileged (Native Method)
    to javax.crypto.JceSecurity. (JceSecurity.java:76)
    at javax.crypto.Cipher.getInstance(Cipher.java:498)
    at com.zerog.ia.licensing.EditionHelper.decryptFromStore (unknown Source)
    at com.zerog.ia.licensing.EditionHelper.determineEdition (unknown Source)
    at com.zerog.ia.installer.Installer.be (unknown Source)
    at com.zerog.ia.installer.Installer.checkAuthorization (unknown Source)
    at com.zerog.ia.installer.LifeCycleManager.bv (unknown Source)
    at com.zerog.ia.installer.LifeCycleManager.a1 (unknown Source)
    at com.zerog.ia.installer.LifeCycleManager.az (unknown Source)
    at com.zerog.ia.installer.LifeCycleManager.executeApplication (unknown Source)
    at com.zerog.ia.installer.Main.main (unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
    at java.lang.reflect.Method.invoke (unknown Source)
    at com.zerog.lax.LAX.launch (unknown Source)
    at com.zerog.lax.LAX.main (unknown Source)

    Running:

    -Windows 7

    -16 GB OF RAM

    -echo JAVA_HOME %

    E:\Program Files\Java\jdk1.6.0_35

    I found this page:

    http://StackOverflow.com/questions/880855/increase-the-Java-heap-size-permanently

    And did the following from the Windows command line:

    Set _JAVA_OPTIONS = Xmx4g

    I then inspected the file, the installation program left on my Windows desktop, which was:

    BlackBerry_10_SDK_for_Adobe_AIR_3.0.0_Install_11_30_2012_09_06_36.log

    It gives the path of the temp installer directory, which was for me:

    E:\Users\Daniel\AppData\Local\Temp\I1354238452\

    So I then:

    CD E:\Users\Daniel\AppData\Local\Temp\I1354238452\Windows

    BlackBerry-Air-SDK-Installer - 3.0.0.201211051306.exe

    ... and the Setup program ran ok.

  • Developer SQL with Java 1.6.0_27 3.0.04 and Data Modeler 3.3.1.748


    I can't generate the first DOF or generate DDL set

    I see no error a...\extensions\oracle.datamodeler\log\datamodeler.log

    I can't even generate a single DDL to one with only two simple attributes and a PK

    I can't upgrade to 4.x, I need to keep stuck to 3.x

    Extension of model data 3.3 is targeted for SQL Developer 3.2. You can download the standalone Data Modeler 3.3 If you insist on 3.3 or pick up the latest version of DM - 4.0.2

    Philippe

  • "Declaration of execution" and anonymous PL/SQL blocks

    I often use control - enter to execute the statement that the cursor is currently over.  Normally, this works very well.  But it's a little twisted once I added an anonymous PL/SQL block to the worksheet.  As long as the anonymous block is the last thing on the spreadsheet, I can "run statement" as usual.  But if I add a SQL queries after an anonymous block and try to run the statement, rather than just the running query, SQL Developer aims apparently to compile everything since the beginning of the first anonymous block until the current as a block statement.

    For example, if I have a spreadsheet as follows:

    SELECT 1 FROM DUAL;  --run statement on this line works as expected, running just this query
    
    BEGIN  --run statement anywhere within this block works as expected, running just this block
      DBMS_OUTPUT.PUT_LINE('X');
    END;
    
    SELECT 1 FROM DUAL; --run statement on this line goes back to the "BEGIN" on line 3 and gives a compilation error
    

    It is a nuisance major for me, as I have often a mixture of SQL and anonymous blocks on a worksheet.  I know that I can point out that the code I want and execute statement in this way, but I'd rather not have to do.  I was expecting that developer SQL would be smart enough to know where each block begins / ends and realize my current statement is not part of the block above him. Is there a setting that can change this behavior?  Or is it the way it is supposed to work?

    Whatever it is, thanks for the excellent tool.

    Add a ' / ' at line 5 and line 5 to line 6 bump

  • Node affinity d ' execution for the PL/SQL Packages?

    Colleagues dbas,

    We have a problem of random performance on one of our database RAC 11 GR 1 material due to waiting for IO.

    In fact, we've tracked down the problem and noticed that the sql packages are executed on the bad weather causing node 1 and were executed on node 2 with good results.

    Now the question is how we apply these pl/sql packages, that are called via batch external, must be running on node 2?

    Affinity of the proceeding came to my mind, but I have no idea whatsoever how to apply for parcels and incorporated the pl/sql code.

    Can you please give me an advice?

    Thanks for your comments!

    Best regards

    Sebastian

    You must define a service to run on node 2 with failover to node 1 and give a your batch jobs a string of connection that connects to this service:

    Add srvctl service d a s batchserv - r node2 - a node1

    and in your tnsnames.ora,.

    batchserv =

    (description =

    (address_list =

    (failover = on) (load_balance = on)

    (address = (node1...) (address = (node2...))

    )

    (connect_data = (service_name = batchserv))

    )

    I recorded several demos of this thing of the kind,

    Database Oracle 12 c and g 11 tutorials free for Administration and developers SkillBuilders

    --

    John Watson

    Oracle Certified Master s/n

  • More Ram = better performace?

    I thought I'd get some more RAM, but I don't know if this can help unless you hit the limits of what you have... wasn't sure if having many a head room was an advantage at all...

    It's my avarage use,

    In your mac: No.

    Perhaps it is that an upgrade of the disk can bring more performance:

    Give us the name, size, and free space in your boot drive.

    Lex

  • Version 12: Same SQL, another scheme == > different execution plan?

    I'm testing a huge application with a database middleware sophisticated against the Oracle 12 database. So far, it works well with Pervasive SQL, MSSQL and Oracle 8 database... 11.

    There are many questions about execution plans changed from Version 11 to 12. Oracle will tell what all of the improvements are (or at least have to improvements), and I can't really denied him. It's not the subject.

    But I met some SQLs with horrible execution time, especially connected to Crystal Reports. Whenever I tried to check them, the queries have been executed quickly. As far as I can see, this has to do with the schema/user who executes the SQL statement in a first time. Here are the details:

    = ADMIN, DML = GUI DDL: all data are stored in a scheme of the ADMIN. The ADMIN user creates the tables, views and so on. It grants access to and creates synonyms for users, but it cannot modify the data using DML, given that triggers prevent him. End users, named 'GUI' users, are allowed to use the DML, but they have no privileges DDL.

    • Database of reports (on paper) are generally quite complex. They have only a limited data set (must fit on sheets of paper!), and the Oracle optimizer optimizes often against this goal. Because Crystal Reports generates no advice, most of the reports are based on a view ADMIN. < xyz > (with the necessary information) and are accessible via a GUI. < xyz > synonym of user GUI.

    • Crystal Reports running slowly (~ 5 minutes) connected as a GUI. I export it, get the SQL export, log in as an ADMINISTRATORand run the query, it works quickly (~ 2 seconds). Well, I've probably changed some white space, the line endings and others then copy / paste, I don't?

    • I tried many things, connecting both GUI and ADMIN, simplifying the application, execution and so on. Then I got confused version of who this query: when the ADMIN has added an additional space character it was fast, removed again and it was slow again. Whitespace have an influence on the execution plan? Probably not, and if yes, my vision of the world would collapse.

    • Later, I found out: in Version 12, depends on the user executing this query. Nail down us the source of the query for the synonym GUI. < xyz >. Let us make a new version of it (coded by white space - smile), and if run you it like GUI first, it's slow. Even if you re - log on as ADMINISTRATOR, the same version of this query is still slow. (This is a bug!)

    Question 1: When I prepend the SQL with 'EXPLAIN PLAN FOR', I seem to be changing. As GUI has no plan_table and no privilege to explain a plan, I can't spy on the implementation plan of 'bad '. I don't want to give too much GUI, and I fear it could alter the execution plan. Is there a trick to get the plan of execution of a SQL statement in v$ sql or v$ sqlarea? (Means: execute the query: GUI and explain it as an ADMINISTRATOR)

    Question 2: Is this on the privileges of the GUI? What you think, what direction will further investigate?

    Oracle database generates an execution plan based on SQL, the dictionary, the statistics, the privileges of the user of the analysis and database and session settings. One of the privileges is GRANT MERGE [ALL] DISPLAY, which was responsible for the difference in this particular example and in this particular version.

    When you log on as another user and run the same code in SQL, Oracle database verifies all required components before she reuses the old execution plan. This is a minor bug, but it is.

    In the example, the privilege GRANT MERGE ANY NOTICE was given implicitly by the DBA privilege. Because MERGE ANY VIEW disables security controls, the privilege of s/n, default, also disables security controls. This is not a desired behavior from the DBA privilege.

  • NetBeans beta 8 and Java ME SDK 8 EA

    Hello

    I can't get Netbeans beta 8 to work with Java ME SDK 8 EA. The steps I did was:

    1. download and install Netbeans 8 beta from https://netbeans.org/community/releases/80/.

    2. download and install the plugin Java ME SDK 8 EA and Netbeans Java ME SDK 8 EA - downloads | Oracle Technology Network

    3. I've added the plugin for Netbeans

    4 activated the Plugin Java ME

    Everything installed without error.

    Now when I try to create an application Java ME Embedded Netbeans tells me to install a software/platform/emulator SDK (which I did in step 2 and 3 above)? I'm not sure what I am doing wrong here, everything seems good (comparing to my Nebeans 7.4 installation).

    Any help is good help ;-)

    -Andy

    Andy,

    For the Java ME SDK 8 EA, you must use a build of developer NB special, as described in the EA ME SDK 8 Quick Start Guide and the download page:

    JAVA ME SDK DOWNLOAD

    The reason is that the normal NB version at the time had the necessary support for Java ME 8, so we asked the team NB to create a special version for use with ME SDK 8 EA.

    Hope that helps,

    -Terrence

Maybe you are looking for

  • Link to iTunes 1.1.1 or Older

    I have an iMac G3 with Mac OS 9 and OS X 10.0 Cheetah. I would like to get iTunes installed on Leopard, does anyone know a link for iTunes 1.1.1 or more. There is a link for iTunes 1.1 to support.apple.com/downloads/itunes. But it does not work so un

  • iTunes 12.4 cannot update only selected apps more!

    There is an iPad app that I use extensively (X 32 - Mix by Behringer, a professional music app), the latest version which is buggy. I have turned off updates automatic app on my iPad and have been updated manually all new releases app EXCEPT this one

  • Issue of Google Services to play when I signal

    I spent most of the last few days with the family in an area where no signal. I was on WiFi all the time without problem, but after awhile I started to receive notifications that I needed to re - login to my Google account and I also had a few notifi

  • Download a game I bought on my Xbox on my friends Xbox so that they can play too?

    It's on Xbox, if I buy an arcade with Microsoft points and I have download this game to my profile and let's say I transfer my friends profile to my Xbox and I connect so that the profile could I play the arcade game that I bought from my profile and

  • I can't restore the automatic update, HELP!

    Automatic update has been disabled and I can't turn it back on.I tried to restore, several times, to no avail.In addition, Windows Live OneCare is touched by it.On top of that, I can't uninstall "avast Antivirus", which is in conflict with Windows Li