Bug in SQL Developer 1.5 SQL Worksheet

Hello,
did any of you already encounter the following effect in version 1.5's SQL Worksheet?
When I try to execute the following statement in version 1.5:
select (1 +
2 -
3 +
4)
from dual;
I get the error: ORA-00907 missing right parenthesis
With more complex statements I also get an 'unimplemented feature' error.
When I put the operators in front like this:
select (1
+ 2
- 3
+ 4)
from dual;
i get the correct answer '4' as result. Seems to be clearly a bug for me. In version 1.2 both versions work perfectly well.
Does anyone know whether there's already some bug filed for this or whether there's a patch around?
Regards Holger

Hi Dieter W.
It looks like the command does work in sqlplus , from what I can see only the first line (and continued first line) has continuation character facility. (I am working on an other related SQLDeveloper bug).
i.e. No continuation character (10.2XE)
SQL> select (1 +
2 -
3 +
4)
from dual;
2 3 4 5
(1+2-3+4)
     4
Continuation character:
SQL> select (1 -
1 -
1 -
3)
from dual
2 3 select (1 1     1 3)*
ERROR at line 1:
ORA-00907: missing right parenthesis
I am on the lookout for more information...
-Turloch

Similar Messages

  • Oracle SQL Developer 3.2, SQL*Plus COLUMN FORMAT bug

    SQL*Plus command COLUMN truncates output result in SQL Developer.
    Script in Worksheet:
    column nn format 999
    select level nn from dual connect by level<=10;The Run Script (F5) result contains only 8 lines in Script Output window:
    NN
    1
    2
    3
    4
    5
    6
    7
    8
    Changing column alias:
    select level nn2 from dual connect by level<=10NN2
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    10 rows selected
    The output can contain no data for more formatted columns.
    ===============================================================
    About
    Oracle SQL Developer 3.2.09
    Version 3.2.09
    Build MAIN-09.30
    Copyright © 2005, 2012 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.09.30
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.7.0_02
    Oracle IDE     3.2.09.30
    Versioning Support     3.2.09.30

    sqldeveloper64-3.2.09.30-no-jre.zip.
    My jdk now is 1.7.07 x64, Windows 7 x64.
    C:\Java\jdk17\bin>java -version
    java version "1.7.0_07"
    Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
    Gary Graham wrote:Also, I don't understand what you mean by
    The output can contain no data for more formatted columns.
    Sript:
    col owner format a10
    col table_name format a20
    col column_name format a20
    col comments format a50
    select
       row_number() over(order by column_name) r11,   
       count(*) over() c11,
       owner ow,
       table_name tn,
       column_name cn,
       comments co
    from all_col_comments t
    where owner='SYS' and table_name='INDEX_STATS';
    select
       row_number() over(order by column_name) r,   
       count(*) over() c,
       owner,
       table_name,
       column_name,
       comments
    from all_col_comments t
    where owner='SYS' and table_name='INDEX_STATS';
    select 1 from dual;
    prompt abcThe output truncated after headers of second queryR11 C11 OW                             TN                             CN                             CO                                                                                                                                                        
      1  25 SYS                            INDEX_STATS                    BLKS_GETS_PER_ACCESS           Expected number of consistent mode block gets per row. This assumes that a row chosen at random from the table is being searched for using the index
      2  25 SYS                            INDEX_STATS                    BLOCKS                         blocks allocated to the segment                                                                                                                    
      3  25 SYS                            INDEX_STATS                    BR_BLKS                        number of branch blocks in the b-tree                                                     
      4  25 SYS                            INDEX_STATS                    BR_BLK_LEN                     useable space in a branch block                                                           
      5  25 SYS                            INDEX_STATS                    BR_ROWS                        number of branch rows                                                                     
      6  25 SYS                            INDEX_STATS                    BR_ROWS_LEN                    sum of the lengths of all the branch blocks in the b-tree                                 
      7  25 SYS                            INDEX_STATS                    BTREE_SPACE                    total space currently allocated in the b-tree                                             
      8  25 SYS                            INDEX_STATS                    DEL_LF_ROWS                    number of deleted leaf rows in the index                                                  
      9  25 SYS                            INDEX_STATS                    DEL_LF_ROWS_LEN                total length of all deleted rows in the index                                             
    10  25 SYS                            INDEX_STATS                    DISTINCT_KEYS                  number of distinct keys in the index                                                      
    11  25 SYS                            INDEX_STATS                    HEIGHT                         height of the b-tree                                                                      
    12  25 SYS                            INDEX_STATS                    LF_BLKS                        number of leaf blocks in the b-tree                                                       
    13  25 SYS                            INDEX_STATS                    LF_BLK_LEN                     useable space in a leaf block                                                             
    14  25 SYS                            INDEX_STATS                    LF_ROWS                        number of leaf rows (values in the index)                                                 
    15  25 SYS                            INDEX_STATS                    LF_ROWS_LEN                    sum of the lengths of all the leaf rows                                                   
    16  25 SYS                            INDEX_STATS                    MOST_REPEATED_KEY              how many times the most repeated key is repeated                                          
    17  25 SYS                            INDEX_STATS                    NAME                           name of the index                                                                         
    18  25 SYS                            INDEX_STATS                    OPT_CMPR_COUNT                 optimal prefix compression count for the index                                            
    19  25 SYS                            INDEX_STATS                    OPT_CMPR_PCTSAVE               percentage storage saving expected from optimal prefix compression                        
    20  25 SYS                            INDEX_STATS                    PARTITION_NAME                 name of the index partition, if partitioned                                               
    21  25 SYS                            INDEX_STATS                    PCT_USED                       percent of space allocated in the b-tree that is being used                               
    22  25 SYS                            INDEX_STATS                    PRE_ROWS                       number of prefix rows (values in the index)                                               
    23  25 SYS                            INDEX_STATS                    PRE_ROWS_LEN                   sum of lengths of all prefix rows                                                         
    24  25 SYS                            INDEX_STATS                    ROWS_PER_KEY                   average number of rows per distinct key                                                   
    25  25 SYS                            INDEX_STATS                    USED_SPACE                     total space that is currently being used in the b-tree                                    
    25 rows selected
    R C OWNER      TABLE_NAME           COLUMN_NAME          COMMENTS                                        
    - - ---------- -------------------- -------------------- --------------------------------------------------

  • Connect from SQL Developer to several SQL Server instances

    Our SQL Server has more than one instance, but I see only one instance of them trying to connect from SQL Developer 1.2 to SQL Server. How I should define the connection information? Usually we connect to SQL Server by <hostname>/<instancename> and then the database name as CatalogName (Initial Catalog). In the Oracle world you can give only the hostname, a port number and the database name. How I can convince the SQL Developer to choose one of our SQL Server instances?

    Hi user627927,
    Bug/Enhancement request already logged.
    We have not got this configuration in house, two people have suggested workarounds but we are unable to test them for now. The last person was unable to get these workarounds working, and we have not confirmed them in house.
    Can you get the instances connected through two different ports?
    It would be great if you could confirm either workaround.
    -Turloch
    *1/Suggestion 1 change the URL through SQLDevelopers xml connection store.
    *2/Overload the port field to have instance in the eventual url
    *1/Suggestion 1 change the url through SQLDevelopers xml connection store.
    [Note it is probably simpler to connect a dummy connection through the connection dialog as usual save it (you cannot connect) and then add the instance information rather than having to enter all the information in an unmanaged way.]
    Hi Naveen,
    I had same problem as you and user579801. I managed to resolve it by doing the following.
    1. Locate the file called IDEConnections.xml in the folder where you have installed SQL Developer (eg. c:\sql developer\sqldeveloper\system\oracle.jdeveloper.db.connection.11.1.1.0.11.42.62).
    2. Create the following entries under <connections> tag.
    <connection>
    <URL>jdbc:jtds:sqlserver://\\.\;namedPipe=true;instance=SQLDBNam;</URL>
    <ConnectionName>SQLServer</ConnectionName>
    <user>SQLUser</user>
    <ConnectionType>JDBC</ConnectionType>
    <DeployPassword>false</DeployPassword>
    <JdbcDriver>net.sourceforge.jtds.jdbc.Driver</JdbcDriver>
    <RaptorConnectionType>Microsoft SQL Server</RaptorConnectionType>
    </connection>
    3. Save the file; Close and re-open the SQL Developer and try connecting.
    Hope this will solve your problem. Good luck.
    Regards
    Raja
    *2/Overload the port field to have instance in the eventual url
    This took some figuring out but I cracked it in the end....
    SQLServer tab:
    Hostname: <servername>
    Port: <portnumber>/<databasename>;instance=<instancename>
    so for me the Port field looks like this: 1433/Gaffa;instance=SQL01
    That should now connect to a named instance SQL Server.
    Paul Fairhurst

  • Oracle SQL Developer vs Oracle SQL Developer Migration Workbench

    Gurus,
    Can anybody let me know what's the difference between Oracle SQL Developer vs Oracle SQL Developer Migration Workbench tools.
    I am in the process of Migrating MS-Access Application to APEX. So the example says me to use Oracle SQL Developer Migration Workbench. Is this part of Oracle SQL Developer? If yes, I know SQL Developer is free.
    If not is Oracle SQL Developer Migration Workbench if free?
    Thanks and Regards

    Thank Oracle ;)
    (well, it's the least they can do after you paid big $$$ for the database)
    Regards,
    K.

  • SQL Developer vs. SQL*Plus Performance???

    Hi,
    DB: Oracle 10.2.0.3.0
    SQL Developer: 1.2.0
    SQL*Plus: 10.2.0.3.0
    I am running the same query once in SQL Developer (Response time 10 sec.)
    The same query in SQL*Plus takes over 20 Minutes.
    SQL*Plus is using SQL*Net right?
    Is that the reason?
    Thanks

    Hi,
    how can I check for SQL Developer?
    Does SQL Developer use SQL*Net also?
    I changed the arraysize to 1000
    but does not see any performance gain.
    The query still taking more than 6 minutes.
    The same in SQL Developer runs within 10 seconds!
    Thanks

  • SQL Developer Connection to SQL Server

    Hi,
    could some body help in connection sql developer connection to sql server 2005 please?
    thanks,
    kamalesh

    Setting Up SQL Developer for MS SQL SERVER 2000
    1) Install/Extract SQL Developer 1.2.1 in C:\Program Files\Oracle
         Making the {$sqldevhome} = C:\Program Files\Oracle\sqldeveloper
    2) Obtain the JDBC SQL SERVER Pluggin (jtds-1.2.2-dist.zip) from:
    http://sourceforge.net/project/showfiles.php?group_id=33291&package_id=25350
    3) Unzip jtds-1.2.2-dist.zip
         Creates:      jtds-1.2.2.jar
                   \x86\SSO\ntlmauth.dll
    4) Copy the jtds-1.2.2.jar into:
    {$sqldevhome}\jlib Directory.
    5) Copy the the ntlmauth.dll dll in the \x86\SSO subdir into:
    {$sqldevhome}\jdk\jre\bin\ntlmauth.dll
    6) In SQL Developer:
         Got Menu "Tools"
                   - Preferences...
                   Expand the "[+] Database
                   Choose "Third Party JDBC Drivers"
                   Click "Add Entry"
                   Then Browse for your copy of "{$sqldevhome}\jlib\jtds-1.2.2.jar"
                   Note: Use the jar filename, not its parent directory for entry.
    7) Restart SQL Developer and try your SQL Server 2000 Connection

  • SQL Developer 3.0.04 worksheets not displaying

    Worksheets are not displaying in SQL Developer 3.0.04.34 (download included JDK1.6.0_11) on Windows 7 Enterprise 32-bit. I upgraded from 2.1.1.64 and chose to migrate existing connections.
    I am able to open all connections, view table and object listings in the navigator tree view, and expand tables to see column names, but nothing displays when I click the Data tab, Columns, Grants, or any other tabs. No column headings appear. No error messages appear.
    When opening views, I am able to click on the SQL tab and retrieve text.
    No data displays when I run a query. The same thing happens when I try anything that should return data, such as Tools...Monitor Sessions, anything from the new DBA navigator, anything from the Reports tab.
    This is only happening on one of two Windows 7 PCs I have installed it on (both upgraded from 2.1.1.64), so I know it should work.
    I have tried:
    re-installation
    reboots
    separate installation of Java JDK 1.6.0_25 and the SQL Developer version that excludes the JDK
    uninstalling Java to eliminate conflicts
    locating the SQL Developer folder outside of Program Files to eliminate Administrator permission issues
    editing SetJavaHome in sqldeveloper.conf
    Has anyone seen this same problem?

    I just solved my own problem. I don't know what caused it, but the fix is fairly simple.
    SQL Developer is not installed in Windows using an installation program, and to my knowledge doesn't have registry entries. Application-specific configuration and temporary data is kept in
    C:\Users\<username>\AppData\Roaming\SQL Developer\
    This folder contains information for all copies of SQL Developer installed on the computer.
    Before re-installing, it is necessary to completely uninstall version 3.0.04. This is done by deleting the folder where you installed SQL Developer, in addition to the following AppData folder:
    C:\Users\<username>\AppData\Roaming\SQL Developer\system3.0.04.34
    I also deleted C:\Users\<username>\AppData\Roaming\SQL Developer\SqlHistory, but that might not have been necessary.

  • SQL Developer// new install // SQL Worksheet will not open

    New install of SQL Developer 1.1.2.25 on WinXP. Oracle 9.2 database on same machine. Database connection to 10.2 database instance on other machine was successful. When I attempt to open SQL Worksheet on the client machine, I get the following errors:
    java.lang.IllegalAccessError: tried to access class oracle.ide.net.IdeURLStreamHandler from class oracle.ide.net.URLFileSystem$1
         at oracle.ide.net.URLFileSystem$1.createURLStreamHandler(URLFileSystem.java:87)
         at oracle.ide.boot.URLStreamHandlerFactoryQueue.createURLStreamHandler(URLStreamHandlerFactoryQueue.java:119)
         at java.net.URL.getURLStreamHandler(URL.java:1104)
         at java.net.URL.<init>(URL.java:393)
         at java.net.URL.<init>(URL.java:283)
         at oracle.ide.net.URLFactory.newURL(URLFactory.java:636)
         at oracle.ide.net.URLFactory.newURL(URLFactory.java:136)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorNode.<init>(SqlEditorNode.java:65)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditor.openNewEditor(SqlEditor.java:1914)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditor.openNewEditor(SqlEditor.java:1973)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditor.openNewEditor(SqlEditor.java:1991)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorWizard.invoke(SqlEditorWizard.java:109)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorController.toolbarAction(SqlEditorController.java:1008)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorController.handleEvent(SqlEditorController.java:561)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:551)
         at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    How do I fix this?
    Thanks!
    TL

    Solution: The Redneck Tuneup for Windows
    1) With the transmission in neutral, hold the gas pedal all the way down to the floor for 1 minute.
    2) Restart the computer.

  • Does SQL Developer has login.sql script where I can put all the env SQLs?

    Hello community,
    Please help me out with a simple question.
    Each time I start SQL Developer (3.1) and connect to a database I need to run:
    alter session set nls_date_format='YYYY.MM.DD HH24:MI:SS';
    to set data fields format to reflect hours, minutes and seconds.
    Can I automate it? I use login.sql in SQL Plus tro setup environment including data formant .
    How to do it in SQL Dev?
    Thank you in advance,
    Yury

    Hi Yury,
    You have a choice:
    1. Specify the login script via Tools|Preferences|Database|Filename for the connection startup script.
    2. Specify the value of nls_date_format directly via Tools|Preferences|NLS|Date Format (and perhaps additionally the Timestamp formats).
    Recall that not all SQL*Plus commands are supported by Worksheet, but alter session does in fact work just fine.
    Regards,
    Gary
    SQL Developer Team

  • W'azup with SQL Developer barfing on SQL*Plus "set" commands

    Check out this short script and the results it generates, as pasted below.
    I can't find anything in the SQL Dev documenation re: what SQL*Plus set commands it supports and which it considers "passe." I'm particularly puzzled by the "column ... format ..." command getting ignored.
    set heading off
    set pagesize 0
    set linesize 80
    set feedback off
    prompt ...start...
    column x format a5
    select 'abcdefghij' x from dual;
    prompt ...end...
    line 1: SQLPLUS Command Skipped: set heading off
    line 2: SQLPLUS Command Skipped: set pagesize 0
    line 3: SQLPLUS Command Skipped: set linesize 80
    ...start...
    X ----------
    abcdefghij 1 rows selected
    ...end...

    For supported SQL*Plus commands: SQL Developer Help > SQL Developer Concepts and Usage > Using the SQL Worksheet > SQL*Plus Statements Supported and Not Supported in SQL Worksheet.
    The "column ... format ...." command is not supported. A workaround is to use substr in your select statement.
    See also How to set a column size in sqldeveloper?

  • SQL Developer create wrong SQL for creation of Database link

    Hi,
    I tried to create Database link to another machine through SQL Developer. and I got error message saying "Sql not properly ended" or similar.
    I copy-paste the sql to sqlplus shell and I found that the problem came from password part of database link so the generated from SQL Plus is something like:
    SQL> CREATE DATABASE LINK mytest CONNECT TO anotherDB IDENTIFIED BY 1234 USING 'OtherServiceName';
    but it should be
    SQL> CREATE DATABASE LINK mytest CONNECT TO anotherDB IDENTIFIED BY "1234" USING 'OtherServiceName';
    so if I type in the password field
    "1234" which is ****** /6 chars/ the database link was created correctly.
    Could you check and fix this in next release of the SQL Developer?
    Otherwise the Application is very good and far ahead from TORA :)

    Thanks, I didn't notice that for passwords. So it's most definately my problem that the SQL Developer . :)
    Thank you for clarification!
    Offtopic: I am searching for DB Comparison tool which could compare 2 schemas and return me the differences and the sync script. Do you know any /free if possible/? There is such thing in TOAD but I am on Linux and I prefer to use something else. :)
    Thank you in advance

  • Able to connect via Oracle SQL Developer, but not sql plus

    Using Oracle 10.2.0.
    I can connect using the TNS connection type in SQL Developer, but cannot do so in SQL PLUS. SQL Plus gives me the error -- could not resolve the connect identifier.
    When I do tnsping USPO_ADHOC, I get:
    C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION =
    TNS-12533: TNS:illegal ADDRESS parameters
    So here is my tnsnames.ora file:
    INTL_ADHOC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.162.108)(PORT = 1521))
    (CONNECT_DATA =
    (SID = intl1)
    USSYN_ADHOC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.162.109)(PORT = 1521))
    (CONNECT_DATA =
    (SID = USSYN)
    USPO_ADHOC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.162.107)(PORT = 1521))
    (CONNECT_DATA =
    (SID = uspo)
    Any assistance gratefully appreciated. Thanks.

    I actually did not have that environmental variable, so I added it, but nothing changed.
    I would note that if I do tnsping foo, I get: failed to resolve name.
    If I do tnsping USPO_ADHOC, I get: illegal address parameter.
    In both cases, the output correctly identified the path to my sqlnet.ora file, which is in the same directory as my tnsnames.
    So I would conclude from that, that the system was already able to find my tnsnames file.
    Anyway, here's my sqlnet.ora:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Thanks again for any ideas!

  • "SQL Developer" vs. "SQL Developer Data Modeler"

    Hi Everybody!
    I'm using SQL Developer and I miss functionalities like re-engeneering of ER Models. As far as I know this is what the "SQL Developer Data Modeler" does. So my question is: Is the "SQL Developer Data Modeler" a complete replacement for "SQL Developer" or do I need both?
    thank you in advance

    Whoooops, sorry, I replied in the wrong thread -.-
    My reply was meant to be in the thread about Designer EA2 and the non-versioned repository import (Import repository from Designer concerning non-versioned applications (EA2)

  • Code runs correctly when compiled by SQL developer but not SQL Plus

    I have a rather large package body I need to deploy and compile ... It's big and complex (I inherited the project). Our it dept is huge and scripts are deployed by the dba team and they seem to only use sql plus. My code deploys and runs fine when compiled in sql developer. Once I compile it from SQL plus it stops working. It runs and using debug statements I can see the values are correct but it no longer inserts the data into the proper tables. I get ZERO errors or warnings when this is compiled in SQL Plus and no errors are generated from the code at run time. I've diffed the extracts of the code from the DB after each deployment and the only difference is the blank lines which SQL Plus strips out when you load the file. Has anyone run into anything remotely similar and if so how did you solve it? I've tried modifying the code to no avail, adding in comments to preserve the white space makes no difference. The thing that really kills me is that there is no error at all.

    Ok this is the problem area.... vReplyMessage is a clob. I've replaced it in this section of processing with a varchar2(32000). And now it works. I still would like to know why though. Nothing is changed when I load it though sqlplus or sql developer but this line " update swn_recip_response_t set SWN_RECIP_RESPONSE = vTextReply where notification_id = v_notification_id; " would never execute with the clob. Logging showed that the clob had the correct value though. I am puzzled.
    begin
    call_SWNPost('http://www.sendwordnow.com/usps/getNotificationResults',vMessageText, vReplyMessage, v_status_code, v_status_phrase, '');
    exception
    when others then
    raise eJavaException;
    end;
    vTextReply := dbms_lob.substr( vReplyMessage, 32000, 1 );
    if (vDebug) then
    update PEMS_PROD_2.SWN_POST_LOG set response = 'notif_id == '|| v_notification_id || 'status code == '|| v_status_code|| ' '||vTextReply where log_pk = vLogPK;
    commit;
    end if;
    IF v_status_code = 200 then
    v_has_error := 'N';
    ELSE
    v_has_error := 'Y';
    END IF;
    -- we handle all exceptions below in case something goes wrong here.
    -- this area can die silently.
    vTextReply := replace(vTextReply,'<getNotificationResultsResponse xmlns="http://www.sendwordnow.com/usps">', '<getNotificationResultsResponse xmlns:xyz="http://www.sendwordnow.com/usps">');
    begin
    insert into swn_recip_response_t(notification_id) values (v_notification_id);
    exception
    when others then
    if (vDebug) then
    err_num := SQLCODE;
    err_msg := SUBSTR(SQLERRM, 1, 100);
    insert into PEMS_PROD_2.SWN_POST_LOG (LOG_PK, create_date, REQUEST, notification_id) values(pems_prod_2.swn_post_log_seq.nextval,sysdate,
    'err_num - '||to_char(err_num)|| ' error_msg - '|| err_msg, v_notification_id);
    commit;
    else
    null;
    end if;
    end;
    commit;
    begin
    update swn_recip_response_t
    set SWN_RECIP_RESPONSE = vTextReply
    where notification_id = v_notification_id;
    exception
    when others then
    if (vDebug) then
    err_num := SQLCODE;
    err_msg := SUBSTR(SQLERRM, 1, 100);
    insert into PEMS_PROD_2.SWN_POST_LOG (log_pk, create_date, REQUEST, notification_id) values(pems_prod_2.swn_post_log_seq.nextval,sysdate,
    'err_num - '||to_char(err_num)|| ' error_msg - '|| err_msg, v_notification_id);
    commit;
    else
    null;
    end if;
    end;
    commit;
    -- parse through the XML document and update the notification and recipient records
    -- parse the clob into an xml dom object
    begin
    vReplyMessage := vTextReply;
    ...

  • Sql developer 3.0 - SQL Server tab missing

    Hi There,
    I use SQL Developer 3.0. I only see two tabls in New Database connection screen, Oracle and Access, I need to connect to Microsoft SQL Server, but there is no tab on this.
    How do I get this resolved.
    Thanks

    wvu1999 wrote:
    Jim, I've tried this. Downloaded the official JDBC drivers from MSFT
    [Microsoft SQL Server JDBC Driver 2.0|http://www.microsoft.com/downloads/en/details.aspx?FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9]
    Pointed SQL Developer to the .jar (actually MSFT gives us 2 to choose from)
    SQL Developer shows nothing new on the Connection dialog.
    Ideas?READ THE MANUAL!!!
    The microsoft driver is not supported.

  • Sql Developer wont convert Sql Server to Oracle lob w Oracle 11gr2 client

    I have the Sql Developer 2.1.1.64 loaded on a Windows machine accessing Oracle 11g release 2 database on a linux box with no jre. I have the latest version of java (1.6.0.21) and jdk (6 u 21). When I loaded Oracle 11g r2 client onto my windows box, all sql server tables could be moved to my Oracle repository except tables that converted from a Sql Server 2005 type of nvarchar(max) to nclob. I would just get every row in the error column during the move.
    Turns out when I uninstalled the Oracle 11g r2 client and installed the Oracle 11g r1 client, it worked.

    I'm afraid you're in the wrong forum. This is the Berkeley DB Java Edition forum.
    --mark                                                                                                                                                                                   

Maybe you are looking for

  • Wrong Path on deployment

    Hello, I'm not sure if this is a JDeveloper question or Enterprise Manager question, but I am having a problem with the deployment of a JSP application that contains BC4J components. The way I am deploying is I create a .WAR file through JDeveloper,

  • IPhoto for osx 10.7.5

    Hello to everyone! I have an macbook (2008) which runs now on OSX 10.7.5 (Mavericks and Yosemite not possible) I would need a version of IPhoto which supports iCloud (right now i have 7.1.5). Any suggestions where to get or what to do? Thanks a lot G

  • Corupt Project File

    I have a Final Cut Pro 5 project file that won't open because it is corrupt. what is the best way to get around this so I could get it open and copy it to another project. Thanks

  • HT1320 How do I know what generation is My iPod?

    How do i know what generation is my iPod?

  • Message no. AA687to run depreciation  AFAB

    We go live in clear new copany and uploaded all assets with data transfer 31.06.2009. But when I tried to run depreciation  AFAB I got a message: You can only post in new year after closing the previous year. Message no. AA687 Diagnosis You want to p