Compilation error after migration from 9i to 10g Jdev workspace

Hello

Nice day.

We have a few custom pages OFA under EBS 11i developed using Jdeveloper 9i, now we migrate these EBS 12.2.4 page.

After you open the old workspaces, the tool asked me to convert these packages to 10g, so I selected Yes.

Now, when I try to compile the workspaces, I get the below error:

Error(26,8): class oracle.jdbc.driver.OraclePreparedStatement is not public; cannot be accessed from outside of package package driver

The original line of Java is:

import oracle.jdbc.driver.OraclePreparedStatement;

Help, please

Thank you

JTK1977,

Your code should use the package oracle.jdbc instead of the package oracle.jdbc.driver used in earlier versions of Oracle. Using the package oracle.jdbc.driver is now deprecated, but will continue to be supported for backward compatibility.

All that is needed to convert your code is to replace " oracle.jdbc.driver "by" oracle.jdbc " in the source and recompile. This can be done Isoquant. You must convert all classes and interfaces that are referenced by an application. Conversion is not required, but is highly recommended. Future releases of Oracle may have features that are not compatible with the use of the package oracle.jdbc.driver .

See the link below:

Oracle.JDBC (Oracle database JDBC Java API Reference)

Change your declaration of import as below:

import oracle.jdbc.OraclePreparedStatement;

See you soon

AJ

Tags: Oracle Applications

Similar Questions

  • SYS. Dbms_metadata - error after migrating to 11 GR 2

    Gurus,

    I get a SYS. Error dbms_metadata after migrating to 11 GR 2 10 gr 2 RAC RAC. its worked well to 10 GB but now throwing error.
    onnected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    
    
    SQL> select object_name,object_type from dba_objects where object_name='STUDENT';
    OBJECT_NAME          OBJECT_TYPE
    -------------------- -------------------
    STUDENT            SYNONYM
    STUDENT            MATERIALIZED VIEW
    STUDENT            TABLE
    
    SQL> select
    dbms_metadata.get_ddl(object_type => 'MATERIALIZED_VIEW',name =>'STUDENT',schema => 'SCOTT')
    from dual;
    
    ERROR:ORA-31603: object "STUDENT" of type MATERIALIZED_VIEW not found in schema "SCOTT"
    ORA-06512: at "SYS.DBMS_METADATA", line 5088
    ORA-06512: at "SYS.DBMS_METADATA", line 7589
    ORA-06512: at line 1
    How can solve us this error. I already gave the select_catalog_role SCOTT but id did not work. Need help.

    see the mos score:
    DBMS_METADAT. GET_DDL on a MV translates ORA-31603 [1467126.1 ID]

  • get compilation errors during migration of weblogic7.0 to 9.2

    I get compilation errors for my request during the migration of weblogic7.0 to weblogic9.2. These errors are specific to the weblogic.servlet.FileServlet, weblogic.servlet.WebAppServletContext, and weblogic. Security-related packages.
    In the code of the application itself is called Fileservlet classes. WebAppServletContext calls the getWar() method.
    I found these classes and methods are not api weblogic9.2 and weblogic7.0 api as well.

    But it is having compiled without error in weblogic7.0 and it's errors in weblogic9.2.

    Can anyone suggest sort of like any changes of the configuration necessary for it to fix these errors of compilation.

    This information can be provided by the support the Oracle customer... Because the missing methods belongs to 'Internal API to WebLogic' and no official docs are available from outside the world of oracle because of the internal API.

    Thank you
    Jay SenSharma

  • Move photos on external hard drive after migrating from iPhoto to Photos

    I have a lot of photos and have you run out of space on my MacBook.  After doing some reading, I discovered that I should be bale to move my library to an external hard drive, then the point of Photos to run from the external hard drive.

    I have recently updated to El Capitan, and as part of this upgrade that my photos have been migrated from iPhoto to the Photos.  I just checked the current location of my library and I found two.  One is named Photo library and which resembles the pictures one use which makes sense.  However, I also have a file called iPhoto library and it is listed as a library migrated under file type.

    My question is, when I copy my pictures on the external hard drive also I copy the migrated thus iPhoto library?

    My question is, when I copy my pictures on the external hard drive also I copy the migrated thus iPhoto library?

    Yes, if you want to free up your internal disk storage moving two libraries of the iPhoto library you have migrated your external drive and the new library of Photos.

    The two libraries share the storage for the original images and previews.  As long as one of the libraries is always on the internal disk and using storage, storage is not released: see: Photos saves disk space to share images with your iPhoto or Aperture - Apple Support libraries

    Drag the two libraries to your external drive, then double click the pictures library to open it in photos and test it. Once you are convinced that the copied library works well, you can delete the original in the internal drive.  Do the same for the copied iPhoto Library if you have installed iPhoto.

  • Classic report shows wrong "could not parse the SQL query: ORA-00942" error after migrating app to the new environment

    After migrating my APEX 4.1 application to a new environment, one classic report displays a "cannot parse the SQL query: ORA-00942: table or view does not exist" error when the page is displayed. Change the region to report SQL source to somehow (e.g., remove spaces, changing the order of the variables in the WHERE clause) immediately solves the problem, but by returning to the source of the region causes the report error again (the source region valid code without error, however).

    Throw the error message:

    Select v.id,

    v.Col1

    of view_vw v

    where (: P1_FILTER is null or)

    v.col2 = :P1_FILTER)

    Do not throw error:

    Select v.id,

    v.Col1

    of view_vw v

    where (:P1_FILTER is null or)

    v.col2 = :P1_FILTER)

    Changing the order of column in the report has the same effect; i.e. He arranges, but return back to the original column order causes the error to display.

    It's as if a cached result for the correct select statement used by the report is displayed. However, the application does not use the caching of page/region. Any ideas of what could be the cause?

    He solved. Ultimately, all that was necessary was to clear the DB cache using:

    alter system flush shared_pool;

  • After migration from Solaris to Linux reports do not work properly

    Oracle e-Business 11.5.10.2 - seeds pdf reports

    Some do not run giving error:

    EMSG: led by Signal 11

    Others work but are formatted incorrectly.

    Background:

    Migrated from solaris to linux. -11.2.0.4 database.  Upgrade from Solaris to dev 6i group patch 28 - everything works.

    On linux, install techstack then switch to dev 6i patchset28 also.


    I checked the support and apply a hotfix that was a possible fix-

    Bugs: 5232832 - APPS6: BLANKS INSERTED IN the CHARACTER MODE OUTPUT

    subsequently found out that it's just for the report of the bitmap.


    Check all the notes I've found, but nothing seems to apply.


    My character set is the same on Solaris and Linux-

    US7ASCII NLS_CHARACTERSET

    NLS_NCHAR_CHARACTERSET AL16UTF16

    Anyone have any ideas? Thank you!

    11 signal problem is resolved as follows:

    The reporting engine, on the Linux server upgraded, is not able to parse an sql validation using a table via dblink only at a specific location in the report. There are several other places in the report where it is able to analyze the same sql, it is so inconsistent and there is no error message relevant to this effect. The solution has been applied through rewriting of these validations to validate within the EBS itself and therefore, the functionality remains unchanged.

    Formatting problem was solved by re copy the rdf from the source in binary mode.  Something must have happened to the file to archive original, OR a nobody messed with the report on the target of unknown to me!

    Also, I set up printing blocks and drivers for the system and styles, so maybe it was a combination of the two actions.

    Thank you for all your help.

  • Error after migration of DPS (Woodwing)

    For the last three nights, I received this error when migrating publishes collections of old DPS (created with Woodwing). Someone else has the same error?

    The collection was not published.

    Publish failed. Please try again later. [pubs-5000]

    Select publish to try again.

    This is just a test, we still use the old DPS for production of. The next edition of morning is still Ok.

    Skjermbilde 2015-11-05 21.42.03.png

    After you publish the collection, he appears in products & subscriptions in the portal. But you cannot publish the collection because - I suspect - the Date of Publication of the migrated folio is set in the near future. I think that is why you can publish a collection migrated the next morning. Check the setting of the Date of Publication in your environment of Woodwing. Of course, I could be off the mark here, but it's a possibility.

  • Update Manager error after migration of the database to a different instance.

    Hey everybody,

    I've migrated the SQL Express databases to the named instance of SQL Standard.  It's all 2008 R2.  The three migrated databases were VCenter, VirtualManagerDB and VSphereUpdateManager.  Domain in SQL accounts have been migrated to the new instance of the box.

    Now, I get this error when trying to open VSphere:

    Call 'ServiceDirectory.QueryServiceEndpointList' of object "ServiceDirectory" on vCenter Server '192.168.123.160' failed.

    Can someone help me understand this?  This is an installation VCenter 5.0 on a Windows 2008R2 server that is also running SQL Server 2008 R2 standard with an Express instance and a named instance.  I've migrated from the express instance in order to overcome the 4 GB limit on the explicit instance.

    Thank you

    Joe

    UPD Bishop uses a 32-bit DSN, so you'll need to use C:\Windows\SysWOW64\odbcad32.exe to access/view/edit the correct DSN on Win2k8

    -KjB

  • error after update from skillbuilder modal plugin 1.10 to 2.0 page

    All,

    Ive this problem after upgrading from 1.10 to 2.0 skillbuilder.

    In my apex 4.2 application I have been using the modal popup 1.10 plugin skillbuilder but now I've upgraded to 2.0 and windows pop up display property pages show just partially as inframe but I already have my security Embedded in the value = allow

    I also tried category = component/effect/running etc.

    What could be the problem here?

    Thanks in advance.

    It worked after re-installing... great

  • Scheduler quartz 1.6 does not work after migration application Java of 10g and 11g

    I used the Task Scheduler quartz 1.6 with Java application built in technology from 10g to Oracle using Jdeveloper 10 g as IDE.

    The application works fine with the mentioned technology. But after the migration of the application of technology 11g quartz scheduler does not work anymore. The Weblogic Server allows you to deploy this technology migrated is Weblogic server 10.3

    Finally, the issue is resolved.

    The problem is resolved after you delete the following jar files in my view-controller project: Api .jar-Trinity and the Trinity - impl.jar

  • The value returned by the function to load is not of type digital errors after migration to Coldfusion 11

    I'm currently testing our website with CF11. He is currently working with CF8 however after the migration to a new server running CF11 I met the following error.

    The value returned by the function of load is not numeric.

    The error occurred in

    D:/applications/CFusion/CustomTags/NEC/COM/objects/address.cfc: line 263
    Called from D:/apps/CFusion/CustomTags/NEC/com/objects/contact. CFC: line 331

    Called from D:/applications/CFusion/CustomTags/NEC/COM/objects/user.cfc: line 510

    Called from D:/applications/CFusion/CustomTags/NEC/COM/objects/user.cfc: line 1675

    Called from D:/website/NECPhase2/action. Validate.cfm: line 54

    261: < cfif isNumeric (get.idCountry) >

    262: < cfset rc = this.objCountry.setID (get.idCountry) >

    263: < cfset rc = this.objCountry.load () >

    264: < / cfif >

    265: < cfset this.sPostcode = get.sPostcode >

    Were there any changes between CF8 and CF11 which can cause this error?

    Does anyone have any ideas?

    The problem is in the charge function.  There is a real return at the end of the function.  The returntype of the function is set to digital.  True is not digital, it will trigger an error.

  • Error after migrating APEX app to a different database instance

    Oracle EE 11 GR 2

    APEX 4.2.x

    ------------------------

    After the migration of an APEX application and underlying database objects into a new database, I get the following error (blackened my name of component specific to the application and the id for security reasons):

    APEX_ERROR.PNG

    In APEX, this error occurs when you try to run the application after logging in the workspace of the application.

    A specific to APEX table might be damaged or not migrated as it should have?  No tables starting with APEX were imported.

    No, these can be customized (self defined) so it's to the application developer.

    If you go to the request of the manufacturer and open the application and go to "shared components", then the "authorisation schemes' and open the schema with the name mentioned in your error message (behind" component name: ') you should see the authorization code that fails somehow. Search for the tables and the data mentioned in this piece of code.

  • 150:30 error after Migration

    Recently, I've migrated my files from my old MacBook Pro to my new iMac. When I go to open Photoshop Elements 8, I get an error of 150:30. I don't know where is my installation disc. What should I do?

    Tell everyone you know who is the owner of a Mac... Migration of Mac and Time Machine NOT FUNCTION correctly with the Adobe program activations due to hidden folders are not included when Migration or Time Machine make their copies

    If the link above does not work for you, you can try to turn off then uninstall and reinstall

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a way to go to a page to download the Adobe programs if you do not have a disk or drive

    -Cloud desktop http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html

    -Cloud Getting Started https://helpx.adobe.com/creative-cloud.html

    -you will need to enter your original serial number during the installation for non-Cloud programs

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

  • Domain name required COMPLETE - after migration from 10,2.0 to 11.0.2.3

    Hi guys,.

    I migrated my server Oracle 10.2.0 to 11.0.2.3 and now I have the problem that my procedures need the fqdn to another diagram, that I want to access for example:

    "select * from myTable" now I write "select * from mytable.mynewserver.com.

    the rights are ok I can access the other schema. but im wondering why it is necessary to use the fqdn to access. dblinks are also very good. any ideas what is wrong?

    First... Thnx for your help... Just to let you know guys... the problem was the entrance to global_name... the value was still the old name of the server. After you change the entry it worked. !! GEEEE

  • How to fix 7B BSODs after migration from Windows XP sp2

    Problem: Blue Screen Of Death (bsod) 7 b immediately after the migration wizard built the virtual machine.  Safe mode does not work and results in even.  Last step reported is mup.sys.

    What I want to do: go to the macbook pro and be able to run my old Windows apps (MSoffice, Quicken, with my office vpn, etc) on my migrated files.

    Host: macbook pro, max OS X 10.6.7, 2.3 GHz Intel i5, 4 GB 1333 Mhz DDR3

    Running VMware Fusion v 3.1.2 (332101)

    Comments:

    Value of the property

    ------------------------------------------------------------------------------------------

    Model KT333CF-8235

    AMD Athlon XP processor

    CPU Socket Socket

    Upgrade processor support ZIF

    System slots 4 PCI, 1 AGP

    Type of machine AT/AT COMPATIBLE

    Space disk C: 9 GB available, 39 GB Total, 9 GB for free

    Disk D: accessible 10 GB, in Total 19 GB, 10 GB for free

    Disk E: 18 accessible GB, GB 107 in Total, 18 GB free

    Disk F: the 16 GB available, altogether 48 GB, 16 GB free

    Drive T: 8011 MB available, 8056 MB in Total, 8011 MB free

    1024Mo of physical memory total, 144 MB free

    Memory load 85%

    1952 MB of virtual memory total, 1152 MB free

    SwapFile 1024 MB

    OS Windows XP_Home sp2

    Installed the VMware tools: version vmware-converter 7.0.1.6272

    ==================================================================================

    What I tried:

    Boot into the bios and check the settings:

    -My guest use IDE controllers to talk to 2 physical hd

    -having regard to the many KB articles on scsi drivers, but I don't seem to need any

    -the main drive has partitions C, D, E, F

    start of the repair console of sp2 cd-rom WinXP_Home

    -a ran chkdsk/p

    -a ran fixboot

    tried to repair the virtual disk using vmware-vdiskmanager

    each element runs great but continues to 7B bsod

    My copy of Windows XP_Home sp2 is a upgrade disk and I have the CD key

    the original version full.

    Attached:

    .vmx showing current config

    screenshots of bsod

    Hello

    Welcome to the VMware community forums.

    Looks like you have already tried a few things!

    You're right, normally a 7 b error is related to not having the correct scsi drivers installed, but that your virtual machine using IDE disks, is not what causing errors.

    I did a quick search on google and you should be able to disable the mup.sys (multi unc provider) that is used for novell networks using the windows recovery console, the problem is more likely to be due to a corruption of the windows registry.

    It's probably better/easier to run windows repair installation of windows.

    I guess you have your original windows machine always there in case that you need to return one step? If this isn't the case, so always make a backup before proceeding with the steps like these. Of course, you can also use the capture feature instant molten, but is never the replacement for a real backup.

    --

    Wil

Maybe you are looking for

  • Problem with USB mouse on satellite a215-s7416

    Hi all. I have had this problem since I got this computer in December. I hope someone can help me. I've been using an optical mouse wired usb. It works for about 4-5 weeks then it loses power. For the first days I can unplug and plug again and it wor

  • Can not format the memory card

    Canon that PowerShot SX 10 IS reformatted not 16 GB SanDisk Ultra.  Camera says memory card error.  Everything else seems to work on the camera.  Is there a way to fix this?

  • M6-1045dx

    I got this laptop 1045dx m6 with a hard drive has been formatted to him without HP recovery on this subject. I tried to load windows 7 back on it look like it was going to take but when it restarted everything I was windows cannot be installed on thi

  • Compaq cq60 - 305ea: Compaq cq60 - 305ea bios password

    I don't remember my bios password after 3 attempts, I received the following error code... 13873

  • Main hard drive has lost recently. (2 mo out of warranty)

    Lost the main hard drive on p6717c running Win 7 Home premium 32-bit.  Warrentey expired on 19/02/12.  Hard disk was sent to see if they can recover more than 50,000 family photos.  they don't know if they can recover the op system.  If recovery is p