ClassCastException in oracle.sql.ArrayDescriptor.createDescriptor

Hi team,

I'm getting a ClassCastException while creating an ArrayDescriptor in my web application.

I get the connection of the DBCP Tomcat connection pool using jndi lookup.

I use jar pilot ojdbc6.jar, 10g to Oracle server, server, Tomcat 7 and JDK 7.

Please help me to get the object oracle.jdbc.OracleConnection of the connection that is returned to the pool.

Here is the stack trace that I receive.

30 sep 2013 01:30:44 error_jsp:82 - Exception ERROR:. com.sun.proxy$ Proxy4 cannot be cast to oracle.jdbc.OracleConnection

java.lang.ClassCastException: com.sun.proxy. $Proxy4 cannot be cast to oracle.jdbc.OracleConnection

at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:149)

at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:115)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)

to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:589)

to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:310)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:724)

Better yet, use OracleConnection.createOracleArray (12.1) or OracleConnection.createARRAY (11.x). Unfortunately, you can't use the standard JDBC method java.sql.Connection.createArrayOf as Oracle is not and can not support. To access the Oracle methods try this:

Table a = conn.unwrap (oracle.jdbc.OracleConnection.class) .createOracleArray (sqlTypeName);

Douglas

Tags: Oracle

Similar Questions

  • oracle.sql.ARRAY.getFloatArray ()-> SQLException: feature not supported

    Hello
    I created a table with some columns of nested tables, given that something like

    create or replace type tenFloats in the table of the types binary_float;
    /
    create table (book)
    s varchar2 (12) not null,
    d date not null,
    BN tenFloats,
    tenFloats BQ)
    Bn NESTED TABLE as bn_tab store
    Bq of NESTED TABLE as bq_tab store
    /

    In PL/SQL, it works, I can insert and extract.

    Now I'm trying in Java
    ResultSet testrs is db_conn.createStatement () .executeQuery ("select s, book bq");.
    ARRAY arr = null;
    While (testrs.next ()) {}
    ARR = (Array) testrs. GetArray (2);
    float [] bids = arr.getFloatArray (); / / <-fails here
    }

    This operation fails with:
    Exception in thread "main" java.sql.SQLException: function not supported
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:403)
    at oracle.jdbc.driver.DatabaseError.throwUnsupportedFeatureSqlException(DatabaseError.java:702)
    at oracle.sql.ArrayDescriptor.toNumericArray(ArrayDescriptor.java:1517)
    at oracle.sql.ARRAY.getFloatArray(ARRAY.java:980)
    at app.slawek.myClass.main(myClass.java:109)

    OK, so in desperation I tried another way, with zero CARDS.
    ARRAY arr = null;
    While (testrs.next ()) {}
    ARR = (Array) testrs. GetArray (2);
    Reference d [] = arr.getOracleArray ();
    System.out.println (d.Length);
    float [] offers = new float [d.length];
    for (int i = 0; i < bids.length; i ++) {}
    offers= d [i] .floatValue (); / / <-fails here
    System.out.Print (submissions [i] + "");
    }
    }

    This time, I get:
    Exception in thread "main" java.sql.SQLException: float Conversion failed
    at oracle.sql.Datum.floatValue(Datum.java:225)
    at app.slawek.myClass.main(myClass.java:114)

    While in the debugger, I see that d is an array of objects of type BINARY_FLOAT 10.

    I use 11 Oracle client and server on Windows 7 64 bit.

    Can someone please?

    Thank you
    Slawek

    What happens if you treat your tables nested as result sets?

    while (testrs.next()) {
    
      arr = (ARRAY)testrs.getArray(2);
      ResultSet rs = arr.getResultSet();
    
      while(rs.next()) {
        Float f = (Float)rs.getObject(2);
      }
    
      rs.close();
    }
    
  • Oracle SQL Developer to the database unifying connection

    Hello community!

    I am developing a SQL string that will pull data from various processes of cost (i plan to wrap the dataview object in a cube and publish a dashboard after that). I was wondering if there is any way to connect oracle SQL Developer for oracle hosted instance unify to create code more efficiently? If so, explain the steps for me please?

    I can get the following information of Oracle BI Publisher, see Exhibit A.

    I have to fill in the fields in Appendix B and this is where I don't know how to do this, see Exhibit B.

    Your help is highly appreciated

    Concerning

    Amir

    Hi Amir - there is currently no way to directly connect to the DB for unifying hosted environments. We are currently working on this issue.

    In the meantime, you can use the SQL Editor in your BI Publisher server interface. You build instructions SQL can then be pasted in via data in unifying views.

  • Why is-menu Oracle SQL Developer navigation so slow?

    For example if I click Tools, it takes like 5 seconds to open.

    The cursor icon taking also like 2-3 seconds to next day where it is.

    Oracle SQL Developer has impressive features, but I can't use it like that.

    Can anyone help or point in a direction?

    It's a nice machine but I remote desktop to it, but the rest of the applications are working fine.

    #added it

    AddVMOption - Dsun.java2d.noddraw = true

    AddVMOption - Dsun.java2d.ddoffscreen = false

    looks a bit better

  • Partitions don't synchronize only not - Oracle SQL Developer 4.1.3.20

    Hello

    First of all, thanks a lot for developers for this great tool.

    I use the Data Modeler which comes with Oracle SQL Developer 4.1.3.20.

    In the 12 c database, I created the following table:

    CREATE

    TABLE MMOURA. TEST_TABLE

    (

    NUMBER OF ID_TEST_TABLE (10) NOT NULL

    DATE_TEST_TABLE DATE NOT NULL

    )

    ORGANIZATION HEAP PCTFREE 10

    LOGGING NOCOMPRESS NO INMEMORY

    NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;

    I import with Data Modeler and add the partition:

    CREATE

    TABLE MMOURA. TEST_TABLE

    (

    NUMBER OF ID_TEST_TABLE (10) NOT NULL

    DATE_TEST_TABLE DATE NOT NULL

    )

    ORGANIZATION HEAP PCTFREE 10 TABLESPACE SYSTEM NOT LOGGING NOCOMPRESS NO INMEMORY RANGE PARTITION

    (

    DATE_TEST_TABLE

    )

    INTERVAL OF

    (

    NUMTOYMINTERVAL (1, 'MONTH')

    )

    (

    PARTITION P_BEFORE_2010 VALUES LESS THAN (TO_DATE (JANUARY 1, 2010 ',' DD/MM/YYYY "")) NOCOMPRESS

    )

    NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;

    So I can create a partition and generates the correct code.

    I click on "Synchronize data dictionary with model" and see the differences with the model and the database.

    In the models 'compare', 'Physical Details' is red. 'Partition' is red, "Selected" are marked, "Source table: TEST_TABLE ' is YES and" target Table: TEST_TABLE "is no.

    "Partitioning" is marked, and I can see the new partition "P_BEFORE_2010."

    teste_partition_chamado_oracle.png

    But when I click on 'Overview of DOF', theres no changes:

    -Generated by Oracle SQL Developer Data Modeler 4.1.3.901

    -in: 2016-01-14 14:19:50 BRST

    -site: database Oracle 12 c

    -type: Oracle Database 12 c

    -Oracle SQL Developer Data Model Summary Report:

    --

    -CREATE TABLE 0

    -CREATION OF INDEX 0

    ...

    ...

    In the tool preferences, model, synchronization, it is marked:

    FUNCTION

    PACKAGE

    PROCEDURE

    ROLE

    SEQUENCE

    SYNONYM

    TABLESPACE

    In "Import Options", it is marked:

    Partitions

    Triggered

    What I am doing wrong? Is this some sort of bug?

    Hi Marcio,

    I'm afraid that data Modeler does not "DOF Preview" statements for changes in the distribution.

    Kind regards

    David

  • oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: bulsimap.oracle.apps.fnd.bulsipr.server.ViewVOImpl in the job search Page

    Get the following error when you click on the button go to the job search Page.

    Help, please!

    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: bulsimap.oracle.apps.fnd.bulsipr.server.ViewVOImpl

    at oracle.apps.fnd.framework.OAException.wrapperException (unknown Source)

    at oracle.apps.fnd.framework.OAException.wrapperException (unknown Source)

    at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException (unknown Source)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod (unknown Source)

    at bulsimap.oracle.apps.fnd.bulsipr.webui.ViewPGCO.processFormRequest(ViewPGCO.java:57)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at _OA._jspService(_OA.java:71)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)

    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)

    at java.lang.Thread.run(Thread.java:595)

    # # 0 in detail

    java.lang.ClassCastException: bulsimap.oracle.apps.fnd.bulsipr.server.ViewVOImpl

    at bulsimap.oracle.apps.fnd.bulsipr.server.MainAMImpl.getViewVO1(MainAMImpl.java:98)

    at bulsimap.oracle.apps.fnd.bulsipr.server.MainAMImpl.getBLdetails(MainAMImpl.java:47)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:585)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod (unknown Source)

    at bulsimap.oracle.apps.fnd.bulsipr.webui.ViewPGCO.processFormRequest(ViewPGCO.java:57)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at _OA._jspService(_OA.java:71)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)

    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)

    at java.lang.Thread.run(Thread.java:595)

    java.lang.ClassCastException: bulsimap.oracle.apps.fnd.bulsipr.server.ViewVOImpl

    at bulsimap.oracle.apps.fnd.bulsipr.server.MainAMImpl.getViewVO1(MainAMImpl.java:98)

    at bulsimap.oracle.apps.fnd.bulsipr.server.MainAMImpl.getBLdetails(MainAMImpl.java:47)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:585)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod (unknown Source)

    at bulsimap.oracle.apps.fnd.bulsipr.webui.ViewPGCO.processFormRequest(ViewPGCO.java:57)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at _OA._jspService(_OA.java:71)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)

    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)

    at java.lang.Thread.run(Thread.java:595)

    Your ViewVO1 is of type

    <>

    Name = "ViewVO1".

    ViewObjectName ="bulsimap.oracle.apps.fnd.bulsipr.server.ViewVO" > "

    Your import declaration is

    import aatrin.oracle.apps.fnd.bltrin.server.ViewVOImpl;

    So to solve the problem, change the import as statement below:

    import bulsimap.oracle.apps.fnd.bulsipr.server.ViewVOImpl;

    See you soon

    AJ

  • Oracle SQL Expert review 2015

    Hello world

    Is there someone who take the "Oracle SQL Expert" review recently in 2015? I want to ask your views on review, you can share your opinion about the exams. In fact, I want to know how many Oracle 12 c features included review?

    Can you please share your experience?

    Thanks in advance

    You cannot use other experiences to predict what you'll see, because not everyone gets the same set of questions.  I don't have enough inside information to see how the questions are determined, but based on my experiences, I believe that tests each have a pool question about twice as many questions that the review is designed to mark and the specific questions that each person receives are selected at random.  If this is the case, the number of questions of 12 c receives a given person can vary considerably.

    That said, you can have a topic idea how many questions by themes is possible by comparing the number of subjects to the count of exam question.  There are 79 different topics on 1Z0 - 047 and review will have 75 questions. While this comes out less than one question per subject, 047 review is a bit unusual in that one question may require more knowledge of a subject.  For example a question involving a query that uses a subquery EXISTS and would cover both 'use the operators EXISTS and NOT EXISTS' and 'Write a row and several lines of subqueries' subjects.

    However, it is unlikely to see more than two questions on a given topic, and most will have only one question. With this, you can watch all the listed topics that concern you and come with a relatively precise range of issues you might see on them.

  • SEVERE: Exception initialization 'oracle.dbtools.crest.fcp.DataModelerAddin' extension ' Oracle SQL Developer Data Modeling

    After some testing today with a new installation and plugin subversion in the latest edition of data Modeler this error happens with every start of the tool.

    Have removed and unzipped the installation once again without changing the error.

    After that, I started with another user on my computer, it the error does not occur.

    Is there a system folder to remove the configuration of my personal like jdeveloper and sql developer?

    I lose the most important features, for example. have no browser and cannot open a design.

    Here is the full error stack:

    29 may 2015 22:17:40 oracle.ideimpl.extension.AddinManagerImpl

    SEVERE: Exception initialization 'oracle.dbtools.crest.fcp.DataModelerAddin' extension ' Oracle SQL Developer Data Modeling

    java.lang.NullPointerException

    at oracle.dbtools.crest.swingui.editor.UDPLibrariesPersistence.load(UDPLibrariesPersistence.java:220)

    at oracle.dbtools.crest.model.design.DesignSet.createElement(DesignSet.java:56)

    at oracle.dbtools.crest.swingui.ApplicationView.addDesign(ApplicationView.java:2497)

    to oracle.dbtools.crest.swingui.ApplicationView. < init > (ApplicationView.java:435)

    to oracle.dbtools.crest.swingui.ApplicationView. < init > (ApplicationView.java:389)

    at oracle.dbtools.crest.swingui.ApplicationView.getInstance(ApplicationView.java:2258)

    at oracle.dbtools.crest.fcp.DataModelerAddin.initialize(DataModelerAddin.java:553)

    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:496)

    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:483)

    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:299)

    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:160)

    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:143)

    at oracle.ide.IdeCore.initProductAndUserAddinsAndActionRegistry(IdeCore.java:2294)

    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1817)

    at oracle.ide.Ide.startup(Ide.java:772)

    at oracle.ide.osgi.Activator.start(Activator.java:209)

    to org.eclipse.osgi.framework.internal.core.BundleContextImpl$ 1.run(BundleContextImpl.java:711)

    at java.security.AccessController.doPrivileged (Native Method)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)

    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)

    at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)

    at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)

    at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)

    at org.netbeans.core.netigso.Netigso.start(Netigso.java:191)

    at org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:209)

    at org.netbeans.ModuleManager.enable(ModuleManager.java:1352)

    at org.netbeans.ModuleManager.enable(ModuleManager.java:1156)

    at org.netbeans.core.startup.ModuleList.installNew (ModuleList.java:340)

    at org.netbeans.core.startup.ModuleList.trigger (ModuleList.java:276)

    at org.netbeans.core.startup.ModuleSystem.restore (ModuleSystem.java:301)

    at org.netbeans.core.startup.Main.getModuleSystem (Main.java:181)

    at org.netbeans.core.startup.Main.getModuleSystem (Main.java:150)

    at org.netbeans.core.startup.Main.start (Main.java:307)

    at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)

    at java.lang.Thread.run(Thread.java:745)

    Hi Torsten,

    Thanks for reporting the problem. I logged a bug.

    You can view together as "list of system types" directory to "preference > Data Modeler"-probably no longer exists. I guess that the setting for this directory is empty when you start SQL Dev as a different user.

    Philippe

  • How to modify data in "Result grid query" in Oracle SQL developer

    Dear,

    I would like to know how to change values directly in the query result grid.

    I use Oracle SQL Developer version 4.0.3.16

    Thank you

    Khalil

    EditValues.JPG

    I checked in SQL Developer 4 and I found no option to do this.

    I don't think it's available. You can open the table and add filters on each column and change. Or you can add where clause as suggested the link written by Jeff that I already gave. (http://www.thatjeffsmith.com/archive/2013/06/sql-developer-im-looking-at-a-record-how-do-i-edit-it/)

    Or you write update instructions.

    See you soon

    AJ

  • How to change the password of a schema by using Oracle SQL Developer

    Hi need to change the password of a schema by using Oracle SQL Developer, how can I do?

    or maybe http://www.thatjeffsmith.com/archive/2012/11/resetting-your-oracle-user-password-with-sql-developer/

  • convert the access query to oracle sql

    I'm trying to convert this query MS Access to oracle sql:

    Sum (IIf (IsNull ([INV_MTL_MATERIAL_TRANSACTIONS1]! [PRIMARY_QUANTITY]), 0,-[INV_MTL_MATERIAL_TRANSACTIONS1]! [PRIMARY_QUANTITY])) AS PRIMARY_QTY


    I tried to convert myself but still no luck.  Invalid number of arguments.


    Sum (if (NVL (INV. MTL_MATERIAL_TRANSACTIONS1. PRIMARY_QUANTITY), 0,-INV. MTL_MATERIAL_TRANSACTIONS1. PRIMARY_QUANTITY)) AS PRIMARY_QTY


    Can someone help me convert this request? Thank you.

    The immediate if (IIF) statement said:

    If primary_quantity is null return 0 for another return negative primary_quantity.

    Since there is no difference at all between 0 and - 0 I would write it as:

    sum (nvl (primary_quantity, 0) * - 1).

    Change a minute later, never send before thinking.

    Because you are just adding up the values obtained, he must not care about NULL values at all as aggregate functions generally ignore nulls, it should just be:

    Sum (primary_quantity * - 1).

    John

  • Migration from MySQL to Oracle SQL does not

    Hello everyone,

    I am new to Oracle SQL, but since our MySQL database is more and get more slowly, I would like to test the performance of Oracle SQL.

    So, I downloaded the current Oracle Linux distro and installed Oracle Database 11 g Express Edition.

    I connected with Oracle SQL Developer and started to migrate the MySQL database by following each step of this tutorial.

    I had to abandon all the privileges of the user migration (otherwise the creation and the deleteion of the migration repository did not) and I have disabled the migration of constraints to make migration work.

    Then I proceeded through all of the steps of the tutorial and ended with a "successful migration.

    The last step of the tutorial, it was to connect to the db migrated (using a combination of username/password generated name), it was not possible.

    What do I already checked?

    • Logged on as user system, I see that there is no new user created for the migrated db
    • Looking at the overview in the migration repository I see 3 phases, not knowing if the third displays an error or if it is not necessary at all (I got 58 tables in the db of the source)
      • Capture of 58/58
      • Convert 58/58
      • Compile 0/58

    From here, I don't know where to look for additional errors.

    I still can't use the migrated db and so I can't go forward with my tests.

    I missed something?

    I would appreciate your help.

    Astaldo

    Astaldo salvation,

    First, you must use SQL Developer 4.0.2 If you aren't already. It is available for free on OTN

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/downloads/index-098778.html

    There are two ways to convert tables from MySQL to Oracle.

    1) copy to Oracle

    (2) migration to Oracle.

    Copy to Oracle is the simplest method. It does not imply the creation of a repository of migration.  But it only migrates data without constraints or default values or indexes and tables. The set of data to move should be reasonably low as it is moved on JDBC.

    It may suit your purpose to try to Oracle.

    http://dermotoneill.blogspot.co.UK/2010/11/copy-to-Oracle.html

    Migrate Oracle requires the implementation of a migration repository. But he migrate the default settings, constraints, and indexes and can also provide scripts offline data move that can manage the circulation of large data sets.

    Here is a small script to create a new MIGRATIONREPO user, and grant the correct privileges.

    CREATE USER MIGRATIONREPO IDENTIFIED BY oracle.

    ALTER USER MIGRATIONREPO QUOTA UNLIMITED ON USERS;

    GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW to MIGRATIONREPO;

    Then using SQL Developer, create a connection to MIGRATIONREPO, right-click on the connection and choose "associate the Migration repository.

    I hope you have success best creation of migration with the privileges of theses repository.

    Migration Wizard step 8: target database

    Choose Offline Mode.

    This will present you with a build script that you can inspect before the race.

    The build script must be run using the SQL Developer worksheet and choose free user sufficiently privileged in Oracle generally SYSTEM.

    Note that if you would rather work with the repository you must currently you can browse your browser of Migration.

    Access converted database objects, right-click and select "generate the target".

    This will again open the Migration Wizard in step 8. Allowing you to choose Offline Mode so that you can review the build script.

    Hope this helps,

    Kind regards

    Dermot.

    SQL development team.

  • 4.0.2 Oracle sql developer - capital letters for keywords

    Hello

    I want that key words turn to capital letters, even when I write in lowercase letters.

    for example:

    SELECT *.

    DE PEM

    WHERE work = "manager";

    Thanks in advance

    Elad

    You can set that in the preferences
    http://www.thatjeffsmith.com/archive/2012/12/formatting-keywords-to-uppercase-in-Oracle-SQL-Developer/

  • Oracle SQL Developer 4.0.2 (4.0.2.15.21) missing ututil in bin files

    I downloaded the Oracle SQL Developer 4.0.2 (4.0.2.15.21)... It comes with JDK... I can't find the files ututil.sh and ututi.bat in sqldeveloper/bin? Any ideas?...

    Hey, Jeff Smith. Thanks for the reply.

    It looks not like command line utility call unit tests was changed to 4.0.2 compared to 3.0.

    Can you please give me some reference documents I can to understand how to run utilities UTUTIL 4.0.2 version. ? Jeff Smith Sqldev Pm-Oracle

  • ORACLE SQL DEVELOPER 4.0

    Sorry you can help me with this

    I have a big question and I need to sort bastate example

    Select Field1 from table1 where field1 = 10;

    I need to make sure

    Select field1

    FROM table1

    where field1 = 10; .....

    I use ORACLE SQL DEVELOPER 4.0

    you want to sort your result or for formatting your code? I think that ctl + f7 is used to display the code in sql developer.

Maybe you are looking for

  • Stop sending EVERY DAY, a software update alert

    I love my home page and every thing about her very well. I don't want to change anything! So why an alert come every day (actually several times a day) asking me to update. If I could just download a device of security or something, fine. But I don't

  • Libretto W100: extended functional button is unavailable

    Hello I can't used the two screens as a large screen, I did extend functional button on the top of the application window.Also automatic rotation does not work too... I tried to enable the option in the settings of the booklet, but nothing has change

  • On my Pavilion dv6 HDMI port

    I know that you can output video to my HDMI port on my laptop, but is there a way to get the corresponding sound so? I have searched and found nothing. I am running Win7 (64 bit)

  • Cannot download upgrade error cause

    I was a member and quit recently returned and cannot DOWNLOAD music-upgrades not work-identify you and downloads not working-error messages-please help I want my money if I can't use it

  • The problem that may occur when adding a domain to a windows machine.

    "The following error occurred when DNS was questioned about the resource record (SRV) service location used to locate an Active Directory (AD DC) domain controller for domain 'domainname': the error was: 'the DNS name does not exist.'" (0x0000232B RC