Oracle jpublisher bug or bug in Oracle database 10g ?

Hello,
i`m trying to call web service from pl/sql in oracle database 10g v10.1.0.2.0.
I`ve used this tutorial:
http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
used oracle as 10.1.3 web service callout pack for 10g v10.1
and jpublisher 10.2, which has generated pl/sql wrapper package and proxy classes.
I`ve imported with loadjava dbwsclientws.jar and dbwsclientdb101.jar into my user called wscallout.
Also imported proxy classes.
When i`ve tried to call pl/sql function, i`ve got this error:
java.lang.VerifyError: (class: oracle/j2ee/ws/saaj/soap/SOAPDoc, method: getDocumentBuilder signature: ()Loracle/xml/parser/v2/DocumentBuilder;) Wrong return type in function
     at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.<init>(SOAPPartImpl.java:47)
     at oracle.j2ee.ws.saaj.soap.soap11.SOAPPart11.<init>(SOAPPart11.java:17)
     at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createSOAPPart(SOAPImplementation11.java:209)
     at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPPart(MessageImpl.java:415)
     at oracle.j2ee.ws.client.StreamingSender._writeRequest(StreamingSender.java:649)
     at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:142)
     at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
     at genproxy.runtime.ProductSynchroService_Stub.endProductConversation(ProductSynchroService_Stub:137)
     at genproxy.ProductSynchroServiceClient.endProductConversation(ProductSynchroServiceClient.java:64)
     at genproxy.ProductSynchroServiceClientJPub.endProductConversation(ProductSynchroServiceClientJPub.java:243)
Error -29532: ORA-29532: volanie Java ukonèené nezachytenou výnimkou Java: java.lang.VerifyError: (class: oracle/j2ee/ws/saaj/soap/SOAPDoc, method: getDocumentBuilder signature: ()Loracle/xml/parser/v2/DocumentBuilder;) Wrong return type in function
14:27:34 Execution failed: ORA-29532: volanie Java ukonèené nezachytenou výnimkou Java: java.lang.VerifyError: (class: oracle/j2ee/ws/saaj/soap/SOAPDoc, method: getDocumentBuilder signature: ()Loracle/xml/parser/v2/DocumentBuilder;) Wrong return type in function
14:27:34 ORA-06512: na line 10
I haven`t found anything about this issue in oracle metalink, regarding to ORA-29532.

dude if you are using jdeveloper 10.1.3.x for development of web service the library you have loadded into database dwwsclinet etc or sopa.jar or mail .jar will not work
for getting the output for the web services developed on jdeveloper you need following file to upload on database
wsclient_extended for 10.1.3.x.0 where x stands for your version
wsclient_extended.jar which can be downloaded from
http://download.oracle.com/otn/java/oc4j/1013x0/wsclient_extended_1013x0.zip the stands for subversion
xstands for your version
after downloading above file upload it
open up the socket by command
on SYS schema
SQL>call dms_java.grant_permission('YOUR_SCHEMA','SYS:java.net.SocketPermission','<IPaddress ofcomputer>:<portnumber>(eg 10.8.11.98:8888)','connect,resolve');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.util.PropertyPermission','*','read,write');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','createClassLoader','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','getClassLoader','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setContextClassLoader','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setFactory','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setIO','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','shutdownHooks','');
SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','accessClassInPackage.sun.util.calender','');
Now make a jar file which contain all your class files of proxy put that jar file on database an compile that jar file on database it should work than convert it into java stored procedure and invoke that procedure
Vishal Rijhwani
JAVA DEVELOPER
Message was edited by:
user635429

Similar Messages

  • Oracle Data Miner 10.1.0.2 Interoperate with Database 10g Release 2

    Hi all,
    I cannot connect from Oracle Data Miner to a newly upgraded Database 10g Release 2 with Data Mining option. This database was 10.1.0.2 before upgrade, and I could connect via Oracle Data Miner before the upgrade (though it needs to be upgraded to 10.1.0.3+ for data mining to function).
    I have similar problem for a new installation on another computer. The error message in either case is "Cannot connect to specified Data Mining Server. Check connection information and try again."
    I can use SQL*Plus to login as the data mining user using the net service corresponding to the connect string. I check the v$option and DBA_REGISTRY as per the Data Mining Admin. documentation to verify that the data mining option exists and is valid. I am able to use the same connect string "host:port:SID" to connect from Analytical Workspace Manager to verify that the connectivity is OK.
    Furthermore, some Oracle by Example seems not valid for a DB of version 10.2. For example, at the URL http://www.oracle.com/technology/obe/obe10gdb/bidw/odm/odm.htm#p, the point 6 <ORACLE_HOME>\dm\lib\odmapi.jar is not applicable, because the path <ORACLE_HOME>\dm no longer exists.
    Therefore, I have query if Oracle Data Miner 10.1.0.2 can work with DB 10.2? What procedure should I follow? Please advise.
    Thanks and regards,
    lawman

    I am waiting on the beta version since I have installed Oracle10gR2.
    I've been checking the OTN website every day to see when it is released.
    If it is not a bother, can you send me an email when I can download it.
    Thanks in advance.
    Have a wonderful day/weekend,
    Andy

  • Important--Bug(ORA-22813) fixes in Oracle Database 10g  Release 10.2.0.4

    Hi,
    I found that in SELECT STATEMENTs where we use "xmlagg() functions with a GROUP BY/ORDER BY,it fails with ORA-22813 if the result is too large.
    This happens as there is a hard coded limit on the result size. (max 30k)
    Next,i confirmed that and when i removed a portion of the XML agg() values and executed it---Wonders,it runs perfectly fine.
    This means that ""xmlagg() functions with a GROUP BY/ORDER BY,fails with ORA-22813 since the result is too large.
    I have come to know that patch "Release 10.2.0.4" has the fix for Bug-22813 for "xmlagg() functions with a GROUP BY/ORDER BY".
    Could you all please confirm that "Oracle Database 10g Release 10.2.0.4" (patch 10.2.04) fixes the issue?
    Based on your confirmation,i can go ahead to get the patch installed.
    Current Version:-Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    Thanks
    Mainak

    Your query should be written something like this..
    select d.*
      from fbnk_customer,
           XMLTABLE
              '//c3'
              passing XMLRECORD
              columns
              C3_VALUE varchar2(60) path 'text()'
           ) d
    where recid='1001400'; Although it would be better to use an extact path expression rather than '//c3'

  • Consolidation of Oracle Database 10g Express Edition "Bugs"

    I'll take a stab at cleaning this up. This is a collection of postings, reported as bugs, but not really bugs or difficult to understand/reproduce. These were filed in the Database General forum and they should have been filed in the XE forum.
    Firstly, thank you for taking the time to report these issues and suspected issues. In the future, it would be quite helpful to everyone if you reported these in the XE forum.
    1. Oracle Database 10g Express Edition Bugs
    This is not a bug. The developer toolbar will show when you are authenticated to the development environment. You do not have to be authenticated to your application for the developer toolbar to appear.
    2. Oracle Database 10g Express Edition Bugs
    If data is present in the cache, this is up to the application developer (you) to implement the proper security which prevents this behavior.
    3. Oracle Database 10g Express Edition  Bugs
    This is a minor issue, at best. For this type of search interface, it is desirable to perform a case-insensitive query. Wouldn't it be a shame if you searched for "item" and it did not return results that contained "Item".
    4. Oracle Database 10g Express Edition Bugs
    This is not a bug. Different authentication schemes have different data restrictions. It is up to you, the application developer, to easily implement the data validations appropriate for your application.
    5. Oracle Database 10g Express Edition Bugs
    Insufficient information provided. You will have to specify what exact error message is arising and what data you changed which resulted in this error. A complete step-by-step test case is desirable, please.
    6. Oracle Database 10g Express Edition Bugs
    Duplicate of #5 above. And still insufficient information.
    7. Oracle Database 10g Express Edition Bugs
    Not a bug. This is intentional behavior. If I know I want to enter table name EMP, it would be bad from a usability standpoint to always force the user to employ their mouse.
    8. Oracle Database 10g Express Edition Bugs
    This could not be reproduced.
    9. Oracle Database 10g Express Edition Bugs
    Almost identical to #8. Please clarify what the expected behavior should be.
    Joel

    This discussion has been continued in the XE forum at:
    Consolidation of Oracle Database 10g Express Edition "Bugs"
    In the future, please attempt to post all XE-related issues in the XE forum.
    Joel

  • Oracle Database 10g Express Edition Bugs

    Product:Oracle Database 10g Express Edition
    Title:Tab Order Sequence on Login window
    Description: Tab Order sequence in Login window not proper, it should be proper
    Reproduce Steps:
    - Click on Run Application icon
    - Login Window opened
    - Press the Tab Button

    hi,
    Please, post this on the Oracle DB express FORUM
    when you install it it will create a menu to directly access to it.
    If you are not able to find it, then you can use the link below:
    Oracle Database Express Edition (XE)
    You have to register to see the forum.
    support for 10g express is provided in the mentioned forum.

  • Bug - Error when installing Oracle Rdb Extension (7.3)

    Hi, hope I come to he right place to fill a bug report.
    I'm getting an error message when trying to install the Oracle Rdb Extension (7.3).
    Steps:
    1. Download sqldeveloper 4
    2. Unpack/Start sqldeveloper
    3. Select from menu Help
         -> Check for updates...
         -> mark Oracle Extensions
         -> click next button
         ->  mark Oracle Rdb Extension
         -> click next button
         -> click finish button.
              -> At this point the error occures.
    Error message details:
    An error has occurred. Click Details for information that may be useful when diagnosing or reporting this problem.
    java.lang.StringIndexOutOfBoundsException: String index out of range: 82
      at java.lang.String.charAt(String.java:658)
      at java.util.regex.Matcher.appendReplacement(Matcher.java:762)
      at java.util.regex.Matcher.replaceAll(Matcher.java:906)
      at java.lang.String.replaceAll(String.java:2162)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.replaceBundleInstallLocation(PreInstaller.java:239)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.getDesitinationDirIDE(PreInstaller.java:281)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.getDestinationDir(PreInstaller.java:250)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.seedInstaller(PreInstaller.java:180)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.commit(PreInstaller.java:120)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard.commit(UpdateWizard.java:296)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard.access$000(UpdateWizard.java:55)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard$1.commit(UpdateWizard.java:245)
      at oracle.ide.wizard.FSMWizard.finishImpl(FSMWizard.java:902)
      at oracle.ide.wizard.FSMWizard._validateFSMState(FSMWizard.java:643)
      at oracle.ide.wizard.FSMWizard.doFinish(FSMWizard.java:351)
      at oracle.bali.ewt.wizard.BaseWizard$Action$1.run(BaseWizard.java:4029)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
      at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
      at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
      at java.awt.Dialog.show(Dialog.java:1082)
      at java.awt.Component.show(Component.java:1651)
      at java.awt.Component.setVisible(Component.java:1603)
      at java.awt.Window.setVisible(Window.java:1014)
      at java.awt.Dialog.setVisible(Dialog.java:1005)
      at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
      at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
      at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard.runWizard(UpdateWizard.java:261)
      at oracle.ideimpl.webupdate.WebUpdateController.checkForUpdates(WebUpdateController.java:24)
      at oracle.ideimpl.webupdate.WebUpdateController.handleEvent(WebUpdateController.java:31)
      at oracle.ideimpl.controller.MetaClassController.handleEvent(MetaClassController.java:53)
      at oracle.ide.controller.IdeAction$ControllerDelegatingController.handleEvent(IdeAction.java:1482)
      at oracle.ide.controller.IdeAction.performAction(IdeAction.java:663)
      at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:1153)
      at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:618)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
      at java.awt.Component.processMouseEvent(Component.java:6505)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
      at java.awt.Component.processEvent(Component.java:6270)
      at java.awt.Container.processEvent(Container.java:2229)
      at java.awt.Component.dispatchEventImpl(Component.java:4861)
      at java.awt.Container.dispatchEventImpl(Container.java:2287)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      at java.awt.Container.dispatchEventImpl(Container.java:2273)
      at java.awt.Window.dispatchEventImpl(Window.java:2719)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.awt.EventQueue$4.run(EventQueue.java:708)
      at java.awt.EventQueue$4.run(EventQueue.java:706)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
      at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    From Help->About
    About
    Oracle SQL Developer 4.0.0.13
    Version 4.0.0.13
    Build MAIN-13.80
    IDE Version: 12.1.3.0.41.131202.1730
    Product ID: oracle.sqldeveloper
    Product Version: 12.2.0.13.80
    Version
    Component Version
    ========= =======
    Oracle IDE 4.0.0.13.80
    Java(TM) Platform 1.7.0_45
    Extensions
    Name Identifier Version Status Registration Time Initialization Time Total Time
    ==== ========== ======= ====== ================= =================== ==========
    Integrated Development Environment (IDE) Platform Core oracle.ide 12.1.3.0.41.131202.1730 Fully Loaded 112ms 139ms 251ms
    Peek oracle.ideimpl.peek 12.1.3.0.41.131202.1730 Fully Loaded 3ms 49ms 52ms
    Code Editor oracle.ide.ceditor 12.1.3.0.41.131202.1730 Fully Loaded 19ms 57ms 76ms
    Persistent Storage oracle.ide.persistence 12.1.3.0.41.131202.1730 Fully Loaded 0ms 4ms 4ms
    File Change Monitor oracle.ide.file 12.1.3.0.41.131202.1730 Fully Loaded 0ms 5ms 5ms
    Web Browser and Proxy oracle.ide.webbrowser 12.1.3.0.41.131202.1730 Fully Loaded 2ms 14ms 16ms
    Indexing Service oracle.ide.indexing 12.1.3.0.41.131202.1730 Fully Loaded 1ms 2ms 3ms
    Property Inspector oracle.ide.inspector 12.1.3.0.41.131202.1730 Fully Loaded 10ms 14ms 24ms
    Markers oracle.ide.markers 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Audit Core Framework oracle.ide.audit 12.1.3.0.41.131202.1730 Fully Loaded 3ms 14ms 17ms
    Status and Background Audit oracle.ide.status 12.1.3.0.41.131202.1730 Fully Loaded 3ms 13ms 16ms
    IDE macros oracle.ide.macros 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Libraries oracle.ide.library 12.1.3.0.41.131202.1730 Fully Loaded 30ms 16ms 46ms
    Virtual File System oracle.ide.vfs 12.1.3.0.41.131202.1730 Fully Loaded 1ms 2ms 3ms
    Navigator oracle.ide.navigator 12.1.3.0.41.131202.1730 Fully Loaded 2ms 9ms 11ms
    Runner oracle.ide.runner 12.1.3.0.41.131202.1730 Fully Loaded 6ms 9ms 15ms
    External Tools oracle.ide.externaltools 12.1.3.0.41.131202.1730 Fully Loaded 3ms 3ms 6ms
    File Support oracle.ide.files 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Palette 2 oracle.ide.palette2 12.1.3.0.41.131202.1730 Fully Loaded 7ms 1ms 8ms
    Insight oracle.ide.insight 12.1.3.0.41.131202.1730 Fully Loaded 6ms 3ms 9ms
    Object Gallery oracle.ide.gallery 12.1.3.0.41.131202.1730 Fully Loaded 11ms 5ms 16ms
    Import/Export Support oracle.ide.importexport 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Technology oracle.jdeveloper.technology 12.1.3.0.41.131202.1730 Fully Loaded 5ms 2ms 7ms
    Extended IDE Platform oracle.jdeveloper.common 12.1.3.0.41.131202.1730 Fully Loaded 19ms 22ms 41ms
    JDeveloper Runner Core oracle.jdeveloper.runner.core 12.1.3.0.41.131202.1730 Fully Loaded 0ms 21ms 21ms
    JavaCore oracle.jdeveloper.java.core 12.1.3.0.41.131202.1730 Fully Loaded 18ms 29ms 47ms
    JDeveloper Runner oracle.jdeveloper.runner 12.1.3.0.41.131202.1730 Fully Loaded 12ms 115ms 127ms
    Code Editor Save Actions oracle.ide.ceditor-saveactions 12.1.3.0.41.131202.1730 Fully Loaded 2ms 3ms 5ms
    Oracle Deployment Core Module oracle.deploy.core 12.1.3.0.41.131202.1730 Fully Loaded 4ms 14ms 18ms
    Make and Rebuild oracle.jdeveloper.build 12.1.3.0.41.131202.1730 Fully Loaded 12ms 7ms 19ms
    PL/SQL Probe Debugger oracle.jdeveloper.db.debug.probe 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Database UI oracle.ide.db 12.1.3.0.41.131202.1730 Fully Loaded 18ms 53ms 71ms
    Database Connections oracle.jdeveloper.db.connection 12.1.3.0.41.131202.1730 Fully Loaded 5ms 28ms 33ms
    Database Object Explorers oracle.ide.db.explorer 12.1.3.0.41.131202.1730 Fully Loaded 0ms 12ms 12ms
    Compare API oracle.ide.compareapi 12.1.3.0.41.131202.1730 Fully Loaded 3ms 0ms 3ms
    Help System oracle.ide.help 12.1.3.0.41.131202.1730 Fully Loaded 8ms 4ms 12ms
    Local History oracle.ide.localhistory 12.1.3.0.41.131202.1730 Fully Loaded 0ms 133ms 133ms
    History Support oracle.jdeveloper.history 12.1.3.0.41.131202.1730 Fully Loaded 8ms 21ms 29ms
    Check For Updates oracle.ide.webupdate 12.1.3.0.41.131202.1730 Fully Loaded 3ms 2ms 5ms
    Core Database Development oracle.sqldeveloper 12.2.0.13.80 Fully Loaded 45ms 437ms 482ms
    SQL Worksheet oracle.sqldeveloper.worksheet 12.2.0.13.80 Fully Loaded 10ms 24ms 34ms
    Database Reports oracle.sqldeveloper.report 12.2.0.13.80 Fully Loaded 3ms 12ms 15ms
    Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 12.2.0.13.80 Fully Loaded 0ms 0ms 0ms
    Replace With oracle.ide.replace 12.1.3.0.41.131202.1730 Triggers Loaded 1ms 0ms 1ms
    JViews Registration Addin oracle.diagram.registration 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Log Window oracle.ide.log 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 12.2.0.13.80 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 12.2.0.13.80 Fully Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Extras oracle.sqldeveloper.extras 12.2.0.13.80 Fully Loaded 2ms 65ms 67ms
    Third Party Database Development oracle.sqldeveloper.thirdparty.browsers 12.2.0.13.80 Fully Loaded 0ms 8ms 8ms
    Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 12.2.0.13.80 Fully Loaded 8ms 67ms 75ms
    Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    TimesTen Integration oracle.ide.db.timesten 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Help Oracle Start Page oracle.ide.helpstartpage 12.1.3.0.41.131202.1730 Fully Loaded 3ms 0ms 3ms
    Versioning Support oracle.ide.vcscore 12.1.3.0.41.131202.1730 Triggers Loaded 2ms 0ms 2ms
    Patch Support oracle.jdeveloper.patch 12.1.3.0.41.131202.1730 Triggers Loaded 3ms 0ms 3ms
    IDE Thumbnail oracle.ide.thumbnail 12.1.3.0.41.131202.1730 Triggers Loaded 1ms 0ms 1ms
    VHV oracle.ide.vhv 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    QuickDiff oracle.ide.quickdiff 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Versioning Support oracle.jdeveloper.vcs 12.1.3.0.41.131202.1730 Triggers Loaded 1ms 0ms 1ms
    Oracle SQL Developer - Migrations MySQL SQL Translator oracle.sqldeveloper.migration.translation.mysql_translator 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Security oracle.sqldeveloper.security 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Component Palette oracle.ide.palette1 12.1.3.0.41.131202.1730 Fully Loaded 7ms 0ms 7ms
    Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 12.2.0.13.80 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Oracle SQL Developer - Migrations PostgreSQL oracle.sqldeveloper.migration.postgresql 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Code Editor Find oracle.ide.ceditor-find 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Oracle SQL Developer - RESTful Services Administration oracle.sqldeveloper.rest 12.2.0.13.80 Triggers Loaded 2ms 0ms 2ms
    Oracle SQL Developer - Change Mangement oracle.sqldeveloper.em_cm 12.2.0.13.80 Fully Loaded 2ms 5ms 7ms
    Versioning Support for Subversion oracle.jdeveloper.subversion 12.1.3.0.41.131202.1730 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Oracle SQL Developer Data Modeler oracle.datamodeler 4.0.0.833 Triggers Loaded 29ms 0ms 29ms
    Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Teradata SQL Translator oracle.sqldeveloper.migration.translation.teradata 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 12.2.0.13.80 Triggers Loaded 3ms 0ms 3ms
    Oracle SQL Developer - Database Cart oracle.sqldeveloper.dbcart 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Bookmarks oracle.ide.bookmarks 12.1.3.0.41.131202.1730 Fully Loaded 6ms 4ms 10ms
    Code Editor Tint oracle.ide.ceditor-tint 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 12.2.0.13.80 Fully Loaded 3ms 108ms 111ms
    Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 12.2.0.13.80 Fully Loaded 1ms 38ms 39ms
    Protocol Handler Classpath oracle.jdeveloper.classpath 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    BM Share oracle.bm.jdukshare 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    MOF XMI oracle.mof.xmi 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Database Snippets oracle.sqldeveloper.snippet 12.2.0.13.80 Fully Loaded 0ms 7ms 7ms
    Usage Tracking oracle.ide.usages-tracking 12.1.3.0.41.131202.1730 Fully Loaded 0ms 1ms 1ms
    ToDo Tasks Markers oracle.jdeveloper.markers.todo 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Versioning Support for Git oracle.jdeveloper.git 12.1.3.0.41.131202.1730 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Searchbar oracle.ide.searchbar 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    (Name Unavailable) oracle.sqldeveloper.tuning 12.2.0.13.80 Triggers Loaded 3ms 0ms 3ms
    Dependency Tracking oracle.ide.dependency 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Code Style oracle.jdeveloper.style 12.1.3.0.41.131202.1730 Fully Loaded 3ms 12ms 15ms
    XML Editing Framework oracle.ide.xmlef 12.1.3.0.41.131202.1730 Fully Loaded 18ms 55ms 73ms
    Mac OS X Adapter oracle.ideimpl.apple 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Diagram Framework oracle.diagram 12.1.3.0.41.131202.1730 Triggers Loaded 4ms 0ms 4ms
    OLAP oracle.olap 12.2.0.13.80 Fully Loaded 10ms 324ms 334ms
    Database UI Extras oracle.jdeveloper.db.extras 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Database XML Schema oracle.sqldeveloper.xmlschema 12.2.0.13.80 Fully Loaded 0ms 0ms 0ms
    Oracle SQL Developer - APEX Listener Administration oracle.sqldeveloper.listener 12.2.0.13.80 Triggers Loaded 3ms 0ms 3ms
    Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 12.2.0.13.80 Fully Loaded 0ms 134ms 134ms
    Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 12.2.0.13.80 Triggers Loaded 2ms 0ms 2ms
    Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Code Editor Bookmarks oracle.ide.ceditor-bookmarks 12.1.3.0.41.131202.1730 Fully Loaded 0ms 7ms 7ms
    Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Data Miner oracle.dmt.dataminer 12.2.0.13.80 Triggers Loaded 12ms 0ms 12ms
    Print System oracle.ide.print 12.1.3.0.41.131202.1730 Triggers Loaded 2ms 0ms 2ms

    I'm getting an error message when trying to install the Oracle Rdb Extension (7.3).
    I'm not sure if that extension has been upgraded for sql developer 4. Extensions written for previous versions won't work in sql developer 4 - they need to be modified to support the OSGI framework.
    Leave the thread open until one of the sql developer team members can answer this.
    Here is the note from the sql developer exchange home page
    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 release of SQL
    Developer 4.0, an extension that was written for a previous version of SQL
    Developer will no longer work. SQL Developer is built on the JDeveloper
    Framework. We have updated the framework to be current with the JDeveloper 12c
    release. With JDeveloper 11gR2, they switched to an OSGI framework. The JDeveloper team has published instructions for updating your extensions to be compatible with
    the new framework and SQL Developer v4.0.
    The Check for Updates interface
    has been updated to hide any 3rd party extensions to avoid confusion with
    extensions not loading. Once you have updated your extension for version 4 and
    beyond, let us know, and we'll update the system to make it available again. For
    questions regarding the process of going from the old to new framework, we have
    started a dedicated
    thread on the Forums. You can also email the Product Manager, Jeff Smith, to
    setup a call with one of our developers for additional assistance.
    As that note says if that extension is NOT for version 4 it shouldn't show up on the list of updates.

  • Urgent: oracle.jbo.domain.Number Bug (continued)

    Dear Shailesh(JDeveloper Team):
    To catch your attention, I posted the topic here again:
    [original topic]
    We are developing a BC4J application for our US customer. Our web server (iAS) and database (Oracle 8i) are installed on RS/6000, AIX 4.3.3
    When we try to set a Number type field value (Number is the only type in Oracle database to stand for a number, either a float field or sequence number). On AIX iAS, if the value is integer, larger than 100 and is not multiple of 100 ( such as 123, 112, 5676, 43435 ), the system(ont our jsp, web bean, but handled by low level classes) will automatically add two zeroes at the end of the number before insert to database table. For example:
    123---->12300
    112---->11200
    5676--->567600
    43435-->4343500.
    It is incorrect! On the other hand, when we try to retrieve value from a field which type is Number, if the value is a integer but larger than 100, and is not multiple of 100 ( such as 123, 112, 5676, 43435 ), the system will automatically add two zeroes at the end of the number after got from database table. For example:
    123---->12300
    112---->11200
    5676--->567600
    43435-->4343500
    We check the xml file of the BC4J, Number field type in the middle-tier is denoted as oracl.jbo.domain.Number, so we wrote a program (JSP) without accessing database, like this one:
    <%
    for (int i=0 ; i<1000; i++) {
    %>
    <p> <%=new oracle.jbo.domain.Number(i).toString() %></p>
    <%}%
    The program runs correctly in JDeveloper developing environment on NT workstation( in the developing environment, NT mimic a local virtual middle-tier):
    0
    1
    99
    100
    101
    598
    599
    600
    999
    But after we deployed the jsp to iAS on RS/6000 and browse it, the output result is very inconceivable:
    0
    1
    99
    100
    10100 (Should be 101)
    59800 (Should be 598)
    59900 (Should be 599)
    600
    99900 (Should be 999)
    We checked all through the deployed Jar files on iAS and the oracl.jbo.domain.Number class, we found that the class is extended from oracle.sql.NUMBER, and the toString method is also inherited from oracle.sql.NUMBER.
    We even test below simple jsp program using oracl.jbo.domain.Number type:
    <%@ page contentType="text/html" autoFlush="true" import="java.lang.*,LocaMotion.*"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <%
    String strI="123";
    %>
    <p> <%=new oracle.jbo.domain.Number(strI)%></p>
    </BODY>
    </HTML>
    In JDeveloper developing environment, it prints 123 in browser, but when deployed to iAS, it prints 12300.
    Why the same Java class has different behavior under different OS (NT and RS/6000)? We think it is a bug on implementation of oracle.sql.NUMBER. We assume this is caused by the machine CPU register length: NT: 32 bits, RS/6000: 64 bits.
    This bug must be fixed to ensure the BC4J application workable. Would you please resolve this problem for us at your time?
    We are eager to waiting for your answer, as we are in FVT phase, our customer is BITCO enterprises inc. in Virginia.
    Thanks,
    [Answer from Shailesh(JDeveloper Team)]:
    I'd suspect this is an issue in oracle.sql.NUMBER implementation. Could you help us by verifying that oracle.sql.NUMBER.toString() also reproduces the same problem. A potential fix I could think of is to use the jdbc libraries that come with RS/6000-AIX version of the database.
    [Our test result]:
    We test the oracle.sql.NUMBER.toString() method, it also reproduces the same problem.
    What's the "jdbc libraries that come with RS/6000-AIX version of the database"?
    ,who offer it? IBM or Oracle. Where could I find it and how to use it? Will oracle.sql.NUMBER problem for AIX fixed?
    null

    As a follow up , could you tell the specific database version of Oracle8i you are using.(i.e 8.1.6 or 8.1.7/ also if you have applied any patches)
    . Just wondering if you had tried a simple JDBC program (without BC4J) (eg: a command line program) which uses oracle.sql.Number and produced the same erroneous results.
    appericiate if you could provide any additional information.
    thanks and best regards
    raghu

  • Urgent: oracle.jbo.domain.Number Bug (continued I)

    Dear Shailesh and Raghu (JDeveloper Team):
    To catch your attention, I posted the topic here again:
    ------------------------------------------------------------------------------------------[original topic]
    We are developing a BC4J application for our US customer. Our web server (iAS) and database (Oracle 8i) are installed on RS/6000, AIX 4.3.3
    When we try to set a Number type field value (Number is the only type in Oracle database to stand for a number, either a float field or sequence number). On AIX iAS, if the value is integer, larger than 100 and is not multiple of 100 ( such as 123, 112, 5676, 43435 ), the system(ont our jsp, web bean, but handled by low level classes) will automatically add two zeroes at the end of the number before insert to database table. For example:
    123---->12300
    112---->11200
    5676--->567600
    43435-->4343500.
    It is incorrect! On the other hand, when we try to retrieve value from a field which type is Number, if the value is a integer but larger than 100, and is not multiple of 100 ( such as 123, 112, 5676, 43435 ), the system will automatically add two zeroes at the end of the number after got from database table. For example:
    123---->12300
    112---->11200
    5676--->567600
    43435-->4343500
    We check the xml file of the BC4J, Number field type in the middle-tier is denoted as oracl.jbo.domain.Number, so we wrote a program (JSP) without accessing database, like this one:
    <%
    for (int i=0 ; i<1000; i++) {
    %>
    <p> <%=new oracle.jbo.domain.Number(i).toString() %></p>
    <%}%
    The program runs correctly in JDeveloper developing environment on NT workstation( in the developing environment, NT mimic a local virtual middle-tier):
    0
    1
    99
    100
    101
    598
    599
    600
    999
    But after we deployed the jsp to iAS on RS/6000 and browse it, the output result is very inconceivable:
    0
    1
    99
    100
    10100 (Should be 101)
    59800 (Should be 598)
    59900 (Should be 599)
    600
    99900 (Should be 999)
    We checked all through the deployed Jar files on iAS and the oracl.jbo.domain.Number class, we found that the class is extended from oracle.sql.NUMBER, and the toString method is also inherited from oracle.sql.NUMBER.
    We even test below simple jsp program using oracl.jbo.domain.Number type:
    <%@ page contentType="text/html" autoFlush="true" import="java.lang.*,LocaMotion.*"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <%
    String strI="123";
    %>
    <p> <%=new oracle.jbo.domain.Number(strI)%></p>
    </BODY>
    </HTML>
    In JDeveloper developing environment, it prints 123 in browser, but when deployed to iAS, it prints 12300.
    Why the same Java class has different behavior under different OS (NT and RS/6000)? We think it is a bug on implementation of oracle.sql.NUMBER. We assume this is caused by the machine CPU register length: NT: 32 bits, RS/6000: 64 bits.
    This bug must be fixed to ensure the BC4J application workable. Would you please resolve this problem for us at your time?
    We are eager to waiting for your answer, as we are in FVT phase, our customer is BITCO enterprises inc. in Virginia.
    Thanks,
    [Answer from Shailesh(JDeveloper Team)]:
    I'd suspect this is an issue in oracle.sql.NUMBER implementation. Could you help us by verifying that oracle.sql.NUMBER.toString() also reproduces the same problem. A potential fix I could think of is to use the jdbc libraries that come with RS/6000-AIX version of the database.
    [Our test result]:
    We test the oracle.sql.NUMBER.t oString() method, it also reproduces the same problem.
    What's the "jdbc libraries that come with RS/6000-AIX version of the database"?
    ,who offer it? IBM or Oracle. Where could I find it and how to use it? Will oracle.sql.NUMBER problem for AIX fixed?
    [Answer from Raghu(JDeveloper Team)]:
    JDev Team
    unregistered posted January 04, 2001 10:14 AM
    Hi
    we are trying to follow up internally on this. Did you file a bug with Oracle Support on this. ?
    If not I would suggest to do that, but at the same time we would be following up on that with the respecitive product group which works on that.
    thanks and best regards
    raghu
    IP: Logged
    JDev Team
    unregistered posted January 04, 2001 04:08 PM
    As a follow up , could you tell the specific database version of Oracle8i you are using.(i.e 8.1.6 or 8.1.7/ also if you have applied any patches)
    . Just wondering if you had tried a simple JDBC program (without BC4J) (eg: a command line program) which uses oracle.sql.Number and produced the same erroneous results.
    appericiate if you could provide any additional information.
    thanks and best regards
    raghu
    Larry's answer:
    Yes. We opened a Tar on http://metalink.oracle.com (Tar number is 1350841.999), but still no solution provided.
    Our software platform is AIX 4.3.3., Oracle 8i is 8.1.6, iAS is 1.0.
    Below program is a very simple Jsp that uses oracle.sql.NUMBER but no BC4J classed used.
    <%@ page contentType="text/html" autoFlush="true" import="java.lang.*,oracle.sql.*"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <%
    String strI="123";
    %>
    <p> <%=new oracle.sql.NUMBER(strI).stringValue()%></p>
    </BODY>
    </HTML>
    In JDeveloper developing environment (WINDOWS NT), it prints 123 in browser, but when deployed to iAS on AIX, it prints 12300.
    null

    thanks for the extra information. We have passed the information to specific product group and they are looking into it.
    As it looks like specific issue we can take this offline.
    can you send your email id [email protected]
    and we can let you know on the status.
    raghu

  • A bug of Streams in Oracle 9.2.0.1 for windows-32bit platform ?

    I made a stream on Oracle 9.2.0.1 .As you know,two SCN ,Applied_SCN and Captured_SCN ,can told some information about capture process.If you use stream ,you have to run database under archivelog mode.
    Some days later,about 2G redo logfiles produced.If you do not delete them ,one day they can filled in your store space ,which make the stream not work .
    But before you delete these redo log files,you must make sure the SCN of range of redo log files you want to delete.If delete without check,capture process relys on these files and will be aborted.Before I had this experience . But if you do not made operations to database tables,and no changes need to transmit.Beacause applied_SCN only increase after receiving messages from remote database.So when I let alone my source database,I find applied_SCN keeping the same and redo log file almost be full of restore space.Others told that Oracle 9.2.0.1 has some bugs .But I can not get Oralce 9.2.0.x for win-32 for testing.
    What advices can you give? Thank you.

    Well, heres my test (10g, for I dont have a 9.2.0.1.0, but I think it´d show the same result):
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select *
      2  from t1;
    ENO ENAME
       1 KARTHIK
    SQL> select *
      2  from t2;
    DNAME
    VENKATRAMAN
    SQL> select *
      2  from t1
      3  where eno in (select eno from t2);
    ENO ENAME
       1 KARTHIK
    SQL> alter table t2 add (eno number);
    Table altered.
    SQL> select *
      2  from t1
      3  where eno in (select eno from t2);
    no rows selected
    SQL> alter table t2 drop (eno);
    Table altered.
    SQL> select *
      2  from t1
      3  where eno in (select t2. eno from t2);
    where eno in (select t2. eno from t2)
    ERROR at line 3:
    ORA-00904: "T2"."ENO": invalid identifier
    SQL>
    But he is getting output of table T2 too se his last postI don´t think so, because he didn´t SELECT it. Would be nice to just copy & paste the output...
    Regards,
    Gerd

  • When will oracle release patch for bug: 18469114.

    When will oracle release patch for bug: 18469114. New reporting requirements regarding ACA and forms 1094-c and 1095-c.

    It's more likely that OracleAS 11(g?) will be available at the end of this year or begginning of next year.

  • 10G bug: Simple query terminate oracle session in 10g

    The following query fails because it terminates the connection to the oracle database. This only occurs in 10g and Oracle XE. Below that query is the structure of the table and sql statements to populate the table.
    I got this from a friend who tried to use 10g, but had to upgrade to Oracle 9 :-) I tested it with Oracle XE. Same problem with 10g and XE. We both use fully patched Windows XP professional.
    greetings
    SELECT ID_LEVSVIKTPOT
    FROM T_RISA_LEVSVIKTPOT
    WHERE KRITISK_FORBRUKER = -1;
    ---- 8< data definition 8< ----
    CREATE TABLE T_RISA_LEVSVIKTPOT
    ID_LEVSVIKTPOT INTEGER DEFAULT 0 NOT NULL,
    NAVN VARCHAR2(50 BYTE),
    LT INTEGER DEFAULT 0,
    GT INTEGER DEFAULT 0,
    KRITISK_FORBRUKER INTEGER DEFAULT -1 NOT NULL
    TABLESPACE USERS
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    NOMONITORING;
    ALTER TABLE T_RISA_LEVSVIKTPOT ADD (
    CHECK (Kritisk_Forbruker = 0 or Kritisk_Forbruker = -1),
    PRIMARY KEY
    (ID_LEVSVIKTPOT));
    INSERT INTO T_RISA_LEVSVIKTPOT ( ID_LEVSVIKTPOT, NAVN, LT, GT,
    KRITISK_FORBRUKER ) VALUES (
    1, '< 10 MW', 10, 0, 0);
    INSERT INTO T_RISA_LEVSVIKTPOT ( ID_LEVSVIKTPOT, NAVN, LT, GT,
    KRITISK_FORBRUKER ) VALUES (
    2, '10 - 1000 MV', 1000, 10, 0);
    INSERT INTO T_RISA_LEVSVIKTPOT ( ID_LEVSVIKTPOT, NAVN, LT, GT,
    KRITISK_FORBRUKER ) VALUES (
    3, '> 1000 MV og/eller kritisk forbruker', -1, 1000, -1);
    commit;

    Could not reproduce on my 10gR2 system. What error are you getting and is a trace file produced?
    test@ORCL> CREATE TABLE T_RISA_LEVSVIKTPOT
      2  (
      3  ID_LEVSVIKTPOT INTEGER DEFAULT 0 NOT NULL,
      4  NAVN VARCHAR2(50 BYTE),
      5  LT INTEGER DEFAULT 0,
      6  GT INTEGER DEFAULT 0,
      7  KRITISK_FORBRUKER INTEGER DEFAULT -1 NOT NULL
      8  )
      9  TABLESPACE USERS
    10  PCTUSED 0
    11  PCTFREE 10
    12  INITRANS 1
    13  MAXTRANS 255
    14  STORAGE (
    15  INITIAL 64K
    16  MINEXTENTS 1
    17  MAXEXTENTS 2147483645
    18  PCTINCREASE 0
    19  BUFFER_POOL DEFAULT
    20  )
    21  LOGGING
    22  NOCOMPRESS
    23  NOCACHE
    24  NOPARALLEL
    25  NOMONITORING;
    Table created.
    Elapsed: 00:00:00.35
    test@ORCL>
    test@ORCL> ALTER TABLE T_RISA_LEVSVIKTPOT ADD (
      2  CHECK (Kritisk_Forbruker = 0 or Kritisk_Forbruker = -1),
      3  PRIMARY KEY
      4  (ID_LEVSVIKTPOT));
    Table altered.
    Elapsed: 00:00:00.21
    test@ORCL> INSERT INTO T_RISA_LEVSVIKTPOT ( ID_LEVSVIKTPOT, NAVN, LT, GT,
      2  KRITISK_FORBRUKER ) VALUES (
      3  1, '< 10 MW', 10, 0, 0);
    1 row created.
    Elapsed: 00:00:00.01
    test@ORCL> INSERT INTO T_RISA_LEVSVIKTPOT ( ID_LEVSVIKTPOT, NAVN, LT, GT,
      2  KRITISK_FORBRUKER ) VALUES (
      3  2, '10 - 1000 MV', 1000, 10, 0);
    1 row created.
    Elapsed: 00:00:00.01
    test@ORCL> INSERT INTO T_RISA_LEVSVIKTPOT ( ID_LEVSVIKTPOT, NAVN, LT, GT,
      2  KRITISK_FORBRUKER ) VALUES (
      3  3, '> 1000 MV og/eller kritisk forbruker', -1, 1000, -1);
    1 row created.
    Elapsed: 00:00:00.00
    test@ORCL> commit;
    Commit complete.
    Elapsed: 00:00:00.00
    test@ORCL> SELECT ID_LEVSVIKTPOT
      2  FROM T_RISA_LEVSVIKTPOT
      3  WHERE KRITISK_FORBRUKER = -1;
    ID_LEVSVIKTPOT
                 3
    Elapsed: 00:00:00.00
    test@ORCL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
    PL/SQL Release 10.2.0.2.0 - Production
    CORE    10.2.0.2.0      Production
    TNS for 32-bit Windows: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production
    Elapsed: 00:00:00.03
    test@ORCL>

  • Bug in getUpdateCount using Oracle

    getUpdateCount() dos not return the right value (-1) when invoked for the second time.
    I wrote the following piece of code to "dynamically execute an unknown SQL string".
    According to the documentation the code is OK.
    I use a stmt that does either an insert, update or delete.
    When I run it with Sybase it works fine, the second time I invoke getUpdateCount() it returns -1, indicating there are no more updates counts (nor resultsets).
    In the case of Oracle, the getUpdateCount keeps returning the original value and the program enters an infinite loop.
    Can anybody help me with this?
    Maybe is the version of the Oracle interface I am using (java12.zip as it comes with the package).
    The code is:
    String sqlStmt = "delete from table...";
    // con was already created and is ok, because all selects
    // work fine
    // DRIVER = oracle.jdbc.driver.OracleDriver
    // URL = jdbc:oracle:thin:@xx.xx.xx.xx:3521:orasd99
    stmt = con.createStatement();
    int guc = 0;
    boolean esResult = stmt.execute(sqlStmt);
    try {
    while (true) {
    if (esResult) {
    ResultSet rs = stmt.getResultSet();
    procesarResultSet(rs); // just process the rs
    else {
    guc = stmt.getUpdateCount();
    if (!esResult && (guc == -1)) break;
    esResult = stmt.getMoreResults();
    Thanks in advance for any tip.
    Ag~

    "delete from table" doesn't return a result set.
    From the documentation for getUpdateCount()
    "if the result is a ResultSet object or there are no more results, -1 is returned."
    Presumably you are using this because the SQL you are using could have more than one result set. -1 is returned in two cases:
    -No more results
    -The result is a ResultSet (a query.)
    Personally I wouldn't rely on 'update counts' from JDBC for anything. The methods are not vital to the functioning of the interface and consequently they simply might not return the correct value. If you want an accurate count use a stored procedure.

  • Difference in select for update of - in Oracle Database 10g and 11g

    Hi, I found out that Oracle Database 10g and 11g treat the following PL/SQL block differently (I am using scott schema for convenience):
    DECLARE
      v_ename bonus.ename%TYPE;
    BEGIN
      SELECT b.ename
        INTO v_ename
        FROM bonus b
        JOIN emp e ON b.ename = e.ename
        JOIN dept d ON d.deptno = e.deptno
       WHERE b.ename = 'Scott'
         FOR UPDATE OF b.ename;
    END;
    /While in 10g (10.2) this code ends successfully (well NO_DATA_FOUND exception is raised but that is expected), in 11g (11.2) it raises exception "column ambiguously defined". And that is definitely not expected. It seems like it does not take into account table alias because I found out that when I change the column in FOR UPDATE OF e.empno (also does not work) to e.mgr (which is unique) it starts working. So is this some error in 11g? Any thoughts?
    Edited by: Libor Nenadál on 29.4.2010 21:46
    It seems that my question was answered here - http://stackoverflow.com/questions/2736426/difference-in-select-for-update-of-in-oracle-database-10g-and-11g

    The behaviour seems like it really is a bug and can be avoided using non-ANSI syntax. (It makes me wonder why Oracle maintains two query languages while dumb me thinks that this is just a preprocessor matter and query engine could be the same).

  • Lotus notes (ibm) to migrate all the data to Oracle DB Database 10g R2(10.2

    Hi Experts,
    we have legacy application which is running independently with back end as Lotus Notes(IBM).Now we wanted to migrate the application to our application with data . our application is running with oracle Database 10g R2(10.2.0.2.0).
    Now I wanted to migrate all the data to Oracle DB.
    Can you suggest me the best ways to do handle the above migrations .
    thanks in advance

    Hi,
    Install all the required packages.
    You are hitting a bug. Bug 7680459: LIBXP PACKAGE IS MISSING FROM LIST OF PACKAGES REQUIRED.
    As per documentation Bug 7680459, the package libXp-1.0.0-8 is also required to invoke OUI successfully.
    So, make sure that you have installed these packages including the dependency packages required.
    Follow Doc ID 419646.1: Requirements For Installing Oracle 10gR2 On RHEL/OEL 5 (x86)
    Regards,
    Satish

  • Oracle Streaming in same database - 10g

    Oracle Streaming in 10g database
    Posted: Sep 21, 2006 4:25 AM Reply
    Hello,
    I am trying do streaming at table level for all dml changes from one schema(source) to another schema (target) controlled by admin schema (stream_admin). I have all these schemas in same database(10g-enterprise edition).
    As given in documentations , I created
    1. two queues(in_Q and out_Q) in Stream_admin,
    2. two process( capture and apply process) in Stream_admin ,
    3. A propagation rule for propagation between in_Q and out_Q,
    4. did instantiation,
    5. started both capture and apply process.
    Having done that , I insert in source table and check for the same in target but alas!! nothing happens. I fail to achieve streaming.
    I am not getting any error. Neither in process , nor in propagation or queues. And all queues,rules and process are enabled.
    Please help.

    datapump uses dbms_metadata extensively.
    Problem is twofold
    - the amount of data
    - why on earth do you need to 'copy' these 1.2 Tb a 'number of times'
    One would expect you would have tested the upgrade on a smaller test database. and you wouldn't need to fix bugs in a 1.2 Tb database.
    A better idea would be to duplicate the complete database using RMAN. This doesn't perform conventional INSERTs and doesn't create redo.
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • Artwork only displays in black and white when adding to a song

    Artwork when importing JPG only shows in black and white. Old artwork is OK in colour previously imported. Note these are for non-ITunes store purchased.

  • Hard drive for a HP Pavilion dv9723cl

    What is the type of HD called for the dv9723cl - to install the HD, you PUSH it down into the connector - the one I ordered slides into the connector, which is not correct - thank you

  • Nokia n97, iCal calendar sync

    Hi guys, I have an N97 phone (witch with all his small problems and Smbian issues is quite good and a very good otption in terms of an organiser / mobile email / smartphone) and I am trying to sync the calendar with a iCal (.ics) feed from a GTD (Get

  • General E72 Support needed

    Hi, I have just purchased my new E72 and configured most things OK however there are a few queries I have as follows: Ovi navigation seems to take a longer route even though I have selected shortest in the configuration settings. How can I get the gu

  • Object name to Version name

    We have been shooting a couple hundred product shots and populating the 'Object Name' field in the metadata. I want to export the images with the filename matching the Object Name but it is not an option as a metadata field in export. Can I batch cop