SqlDeveloper Issue -

Hi Masters!
I have an issue, with the sqldeveloper, there is a filter that sends some different values using a field that is varchar2, which is being selected as follows:
Select *
from postcode_lookup
where postcode = '3034';
And it is sending some data from the database, but when you use 5030 without single quotes sometimes sends something and other times sends nothing.
If it is a varchar why you can use the filter without single quotes.
I need to know what is happening with the data, the filter, the sqldeveloper, and the database Oracle 10g.
I will be grateful if you can give me a clue.
Paola.
@{-->--->>-----                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Hi,
>>I need to know what is happening with the data, the filter, the sqldeveloper, and the database Oracle 10g.
I'm not a "Master", but ... Regardless the use of Oracle SQL Developer, in fact, Oracle will make a implicit conversion and if there is an index on this column, then the optimizer will not use it. In addition, you can have some problems if you insert "numeric characters" and "Alpha characters" together in this table. Take a look at below:
LEGATTI@ORACLE10> create table x (cod varchar2(10));
Table created.
LEGATTI@ORACLE10> insert into x values (1);
1 row created.
LEGATTI@ORACLE10> insert into x values (10);
1 row created.
LEGATTI@ORACLE10> insert into x values (200);
1 row created.
-- The row is returned without problem
LEGATTI@ORACLE10> select * from x where cod=10;
COD
10
LEGATTI@ORACLE10> insert into x values ('A');
1 row created.
-- Now, you have a problem
LEGATTI@ORACLE10> select * from x where cod=10;
ERROR:
ORA-01722: invalid number
no rows selected
-- In this case, you are obligated to use single quotes
LEGATTI@ORACLE10> select * from x where cod='10';
COD
10
LEGATTI@ORACLE10> delete from x where cod='A';
1 row deleted.
-- About the index, that I mentioned, take a look at below
LEGATTI@ORACLE10> create index i_cod on x (cod);
Index created.
LEGATTI@ORACLE10> SET LINESIZE 130
LEGATTI@ORACLE10> SET PAGESIZE 0
-- Without single quotes you can see that index was not used because the Oracle made an implicit conversion, therefore it was performed a FTSLEGATTI@ORACLE10> explain plan for select * from x where cod=10;
Explained.
LEGATTI@ORACLE10> select * from table(dbms_xplan.display);
Plan hash value: 3276047201
| Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT  |      |     1 |     7 |     3   (0)| 00:00:01 |
|*  1 |  TABLE ACCESS FULL| X    |     1 |     7 |     3   (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter(TO_NUMBER("COD")=10)
Note
   - dynamic sampling used for this statement
17 rows selected.
-- Now, using single quotes you can see that index was used to make a range scan instead a FTS
LEGATTI@ORACLE10> explain plan for select * from x where cod='10';
Explained.
LEGATTI@ORACLE10> select * from table(dbms_xplan.display);
Plan hash value: 3592172846
| Id  | Operation        | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT |       |     1 |     7 |     1   (0)| 00:00:01 |
|*  1 |  INDEX RANGE SCAN| I_COD |     1 |     7 |     1   (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - access("COD"='10')
Note
   - dynamic sampling used for this statement
17 rows selected.Cheers
Legatti

Similar Messages

  • Oracle 11g - External Table/SQL Developer Issue?

    Oracle 11g - External Table/SQL Developer Issue?
    ==============================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
    ======================
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    ------ ALL NULL -- record
    20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
    ======================
    Our Expernal table structures is as follows
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY P_EXT_TAB_D
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    REJECT ROWS WITH ALL NULL FIELDS
    MISSING FIELD VALUES ARE NULL
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
         It created successfully using SQL Developer
    Here is the issue.
    It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
    It is loading all NULL value record (Rec # 6)     
    *** If we remove the '"' from input data, it loads all records including all NULL records
    Log file has
    KUP-04021: field formatting error for field P_NAME
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 2 rejected in file ....
    Our questions
    Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
    Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
    Any idea?
    Thanks in helping.

    I don't think this is a SQLDeveloper issue. You will get better answers in the Database - General or perhaps SQL and PL/SQL forums.

  • Use SDO_NN in procedure: ERROR: PLS-00707: unsupported construct or internal error [2603]

    Hi,
    I have a problem with use SDO_NN function in a procedure. In case that I use SDO_NN in a SELECT command, it works. In case that I create an anonymous PL/SQL block, it works. But when I create a procedure, it doesn't work and there is an error: ERROR: PLS-00707: unsupported construct or internal error [2603].
    Here is the PL/SQL block, that works:
    BEGIN
    INSERT INTO K3_BlizkeDFB(SO1, SO2, VZDALENOST)
    SELECT  distinct
       ISO.kod AS SO1, SO.kod AS SO2, MDSYS.SDO_NN_DISTANCE(1) AS VZDAL
       FROM StavebniObjektDFB SO, StavebniObjektDFB_INDEX ISO 
       WHERE SDO_NN(ISO.geom,  SO.geom,
          'sdo_num_res=4', 1) = 'TRUE'
          AND ISO.kod<>SO.kod
          AND MDSYS.SDO_NN_DISTANCE(1)<=2;
    END;
    Here is an attempt to create a procedure that doesn't work:
    CREATE OR REPLACE PROCEDURE K1_BlizkeDFB AS
    BEGIN
    INSERT INTO K3_BlizkeDFB(SO1, SO2, VZDALENOST)
    SELECT  distinct
       ISO.kod AS SO1, SO.kod AS SO2, MDSYS.SDO_NN_DISTANCE(1) AS VZDAL
       FROM StavebniObjektDFB SO, StavebniObjektDFB_INDEX ISO 
       WHERE SDO_NN(ISO.geom,  SO.geom,
          'sdo_num_res=4', 1) = 'TRUE'
          AND ISO.kod<>SO.kod
          AND MDSYS.SDO_NN_DISTANCE(1)<=2;
    END;
    Can someone explain, what's wrong?
    Thanks
    Jindra

    Hi Jindra,
    Googling your error message says that this is sqldeveloper issue.  You can verify this by compiling your procedure with sqlplus.  Sounds like you need to update your software.
    Cheers,
    Paul

  • SQL Developer Connectivity

    Hi,
    I am still unable to connect to a Server over a VPN on MAC OSX (see other post).
    It would be good to have adteailed description, which transports SQL Developer supports:
    Is a UDP Connection OK over VPN or is TCP mandatory? How would I force SQL Developer to use UDP / TCP ?
    Is there a way to use another JDBC driver than the embedded one (Oracle Client Oracle JDBC Driver works on the connection in question with RazorSQL, by that it seems to be a SQLDeveloper Issue)
    Thanks fo any useful hint...
    Regards
    KKloeser

    Are you able to create an SSH tunnel from your localhost through the VPN? This decouples the connection to the VPN from the routing and allows just a 'local' connection to be made.
    I have this setup for multiple DBs I connect to from home. Use these ssh aliases after your VPN connection is setup.
    Host somelocal_alias
    HostName remote.vpn.gateway
    User myuser
    IdentityFile ~/.ssh/id_rsa
    LocalForward 1522 remote.db.machine:1522
    # Usage: sqlplus myuser/password@TNSNames_listing_alias
    Host remote.db.machine
    HostName localhost
    Port 1522
    User myuser
    IdentityFile ~/.ssh/id_rsa

  • Proble on select db link

    Hi all i create a db link
    create database link lnk
    connect to database identified by psw
    using 'ALIAS';
    and was created, but when i try to select from it
    select * from tbl@lnk i get the follow error
    ORA-12514:
    so i try to set under SQLDeveloper option the directory with the tnsname.ora but doesn't works.
    Any idea?

    Can you connect to that database locally with those credentials without issue? If so, is the tnsnames.ora on the database you're connecting remotely with ok?
    This doesn't sound like a SQLDeveloper issue, more along the lines of a database issue. You may get a better response from the General Database forum:
    General Database Discussions

  • Defect: Compiler wrongly complains about unreachable code.

    Here is a packaged procedure body for a procedure that is listed in the package spec:
    PROCEDURE RunReportPreRunCustomCode
    (in_report_oid IN NUMBER
    ,in_pageSize_nr IN INTEGER
    ,in_parameterList_tt IN parameterKeyValuePair_TT
    ,inout_reportRun_oid IN OUT NOCOPY NUMBER
    ,inout_error_yn IN OUT NOCOPY VARCHAR2
    ,inout_outputOption IN OUT NOCOPY VARCHAR2
    ,inout_reportOutPut_cl IN OUT NOCOPY NCLOB
    IS
    BEGIN
    NULL; -- Compiler shows this warning for this line: Warning(667,7): PLW-06002: Unreachable code
    -- dbms_output.put_line('x');
    END;
    It gets better! I removed the comment line and the warning stopped showing up. I put the comment line back in, and it hasn't come back (yet). I've seen this before.
    Removing the comment in this procedure also caused the same warning for another procedure to go away!
    The code in that procedure looked like this:
    BEGIN
    IF in_some_param IS NULL THEN
    NULL;-- Compiler shows this warning for this line: Warning(667,7): PLW-06002: Unreachable code
    ELSE
    ...

    Does compiling in SQL*Plus also produce the same behaviour? It should, since they both use the same compiler.
    I've just tested this in SQL*PLus. After setting the plsql_warnings to "enable:all" to match the default settings in sqldeveloper, the same warning is produced so it is a dbms issue, not sqldeveloper issue.
    Edited by: Jim Smith on Oct 11, 2008 4:01 PM

  • IMessage does bad things to your copied SQL

    I work in a Mac shop (since the start of the year) and we chatter via iMessage.  A co-worker recently pasted me some SQL and asked about it.  Naturally I wanted to run it.  Every line of the SQL had an error associated with it.  Here is an example from part of the WHERE clause.
    Error starting at line : 22 in command -
                ATTRIBUTE_TYPE = 'ENTITY_LEGAL_NAME'
    Error report -
    Unknown Command
    We tracked it down to the leading spaces that iMessage had replaced with some non-printing character.  An interim paste and re-copy from TextWrangler and TextEdit preserved the strange characters - they had to be manually removed.  Internal spaces like those around the = were not affected.  An additional OSX platofrm issue is using the iMail app.  It replaces the straight quotes with pretty printing quotes which also do not work in sqldeveloper.
    Pasting the SQL into a vi session and then using od -x on the file revealed that a normal space is represented with a hex "20" (so two spaces are "2020") and the iMessages adjacent spaces are replaced with "a0c2".
    This is not a bug in sqldeveloper for Oracle to fix, but as a developer on a Mac platform (OSX Yosemite) it is a situation of which to be aware.  It is a reminder that sqldeveloper does not live in isolation and is part of the programmers ecosystem.  Having just switched from a Microsoft world to the Apple world I am much more aware of the subtle differences and thought other programmers might find this information to be useful and it may save them a few minutes here and there.

    This is not a sqldeveloper issue, but as a developer on a Mac platform (OSX Yosemite) it is a situation of which to be aware.
    Correct - so you should NOT have posted it in this, or any other, forum.
    There is NO VALUE at all to any of what you posted. It doesn't explain any sql developer (or other) issue or contain any content useful in preventing any sql developer (or other) issue.
    I know it is April 1st but surely you can find SOMETHING better to do with your time.

  • Jdeveloper and SqlDeveloper and Vista x64 issues

    Hello,
    I have this issue when i try to run jdeveloper in vista. The aero effect gets disabled. And while i have seen the fix for this problem amongst the threads, i have not been able to fix the issue on my computer.
    I have downloaded the sqldeveloper base install and have been able to use it with both jdk 1.5 and 1.6 (both of which i have installed on my machine) i use the batch file in the sqldeveloper/bin direcotry only though, the sqldeveloper.exe throws the same error as i am about to describe for jdeveloper. SO in essence my sqldeveloper works correctly cuz i can use the updated 1.5 or 1.6 to have my aero effect.
    I have downoladed the base install of the jdeveloper studio edition. Like i said above I have both jdk 1.5 and 1.6 installed on my computer. But for the jdeveloper what i have done is i copied the contents of the 1.5 jdk folder and made a folder called 'jdk" in the jdeveloper home directory (since this is by default were the program tries to look). But when i try to load jdev.exe it throws the following error in the cmd window..
    WARNING: Could not find jvm.cfg! in '..\..\jdk\jre\lib\jvm.cfg"
    WARNING: Cannot find default VM 'hotspot' at ..\..\jdk
    ERROR: cannot find VM at: ..\..\jdk
    Aborting!
    I have tried modifying my jdev.conf SetJavaVM propert by comenting out and by changing it from 'client' 'hotspot' or server.. nothing works. Will post the complete jdev.conf under this.
    Any help to get jdev working will be greatly appreciated i am starting to lose hope and don't want to lose aero everytime.
    Thanks

    # Oracle JDeveloper 10g Launcher Configuration File
    # Copyright 2000-2005 Oracle Corporation.
    # All Rights Reserved.
    # The format of this file is:
    # "Directive Value" (with one or more spaces and/or tab characters
    # between the directive and the value) This file can be in either UNIX
    # or DOS format for end of line terminators. Any path seperators must be
    # UNIX style forward slashes '/', even on Windows.
    SetBuiltRoot ../../built
    AddJavaLibPath ../lib/patches
    AddJavaLibFile ../../../classes
    AddJavaLibFile ../../ide/lib/javax-ide.jar
    AddJavaLibFile ../../ide/lib/javatools.jar
    AddJavaLibFile ../../ide/lib/ide.jar
    AddJavaLibFile ../../jlib/jewt4.jar
    AddJavaLibFile ../../jlib/share.jar
    AddJavaLibFile ../../jlib/help4.jar
    AddJavaLibFile ../../jlib/inspect4.jar
    AddJavaLibFile ../../lib/xmlparserv2.jar
    # Required by XML parser. See bug 4469399
    AddJavaLibFile ../../jdbc/lib/orai18n.jar
    AddJavaLibFile ../lib/jdev-ep.jar
    SetUpdateMainClass oracle.ideimpl.webupdate.DeferredUpdater
    SetUpdateClassPath ../../../classes:../../ide/lib/ide-cfu.jar:../../ide/lib/ide.jar:../../ide/lib/javatools-cfu.jar:../../ide/lib/javatools.jar:../../lib/xmlparserv2.jar:../../jlib/jewt4.jar:../../jlib/share.jar
    # The extension ID of the extension that has the <product-hook>
    # with the IDE product's branding information.
    AddVMOption -Dide.product=oracle.jdeveloper
    # The image file for the splash screen.
    AddVMOption -Dide.splash.screen=splash.gif
    # Extensions in jdev/lib/ext may require native libraries
    AddNativeCodePath ../lib/ext
    # Oracle10g Lite Settings
    # Enable these lines (and modify the directories)
    # to suit your Oracle Lite installation
    # AddNativeCodePath C:/Oracle/lite5/mobile/sdk/bin
    # AddJavaLibFile C:/Oracle/Lite5/mobile/classes/olite40.jar
    # Directive SetJavaHome is not required by default, except for the base
    # install, since the launcher will determine the JAVA_HOME. On Windows
    # it looks in ..\..\jdk, on UNIX it looks in the PATH by default.
    # SetJavaHome C:\Java\jdk1.5.0_04
    # The Windows launcher will attempt to use client (hotspot) by default,
    # unless a VM is specified below with the following directive. On UNIX
    # we use whatever is listed first in the $(JAVA_HOME)/jre/lib/jvm.cfg file.
    SetJavaVM hotspot
    # This will enable a "virtual" file system feature within JDeveloper.
    # This can help performance for projects with a lot of files,
    # particularly under source control. For non-Windows platforms however,
    # any file changes made outside of JDeveloper, or by deployment for
    # example, may not be picked by the "virtual" file system feature. Do
    # not enable this for example, on a Linux OS if you use an external editor.
    # AddVMOption -DVFS_ENABLE=true
    # Turn off verifications since the included classes are already verified by the
    # compiler. This will reduce startup time significantly. On some Linux
    # Systems, using -Xverify:none will cause a SIGABRT, if you get this, try
    # removing this option.
    AddVMOption -Xverify:none
    # Set the maximum heap to 512M
    AddVMOption -Xmx512M
    # MaxPermSize is required to run JDeveloper with Sun Microsystems virtual
    # machine (-client and -server). The default value is 64M, which isn't enough
    # to run JDeveloper successfully. With the default value, JDeveloper will
    # end up running out of memory at some point in time. This option is ignored
    # by OJVM (-ojvm).
    # This option is documented at:
    # http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
    AddVMOption -XX:MaxPermSize=160M
    # JavaThread options are required to run JDeveloper with Sun Microsystems virtual
    # machine (-client and -server) because of a bug that was causing the VM to run
    # full GCs with realtime thread priorities. The bug is fixed in J2SE 1.5.0_06.
    # See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5101898 for more info.
    AddVMOption -XX:JavaPriority10_To_OSPriority=10
    AddVMOption -XX:JavaPriority9_To_OSPriority=9
    # These options are designed to optimize the pause time for the hotspot VM
    # These options are ignored by ojvm with an information message.
    # AddVMOption -XX:+UseConcMarkSweepGC
    # AddVMOption -XX:+UseParNewGC
    # Option used by OJVM client on Windows, This option will turn on line numbers
    # in the stack traces by disabling the optimizing compiler.
    # AddVMOption -XOd
    # Enabling this option will cause OJVM client on Windows to only use 1 CPU on
    # a multi-processor system, on single-cpu systems, this option has no effect.
    # AddVMOption -Xsinglecpu
    # Disable Direct Draw, on some Windows 2000/XP base computers,
    # Direct Draw is cause excessive screen refreshes and slows down drawing.
    # AddVMOption -Dsun.java2d.noddraw=true
    # If true, prevent laucher from handle -help command line argument and
    # passes -help to the java application.
    # Disabled by default
    # AddVMOption -Dapplication.handle.help=true
    # If set to true, prevent laucher from checking/setting the shell
    # integration mechanism.
    # The shell integration feature is enabled by default
    # AddVMOption -Dno.shell.integration=true
    # Disable the forced GC for the ICE browser.
    AddVMOption -Dice.browser.forcegc=false
    # Reduce the tile threshold for the ICE browser.
    AddVMOption -Dice.pilots.html4.tileOptThreshold=0
    # Prepend patches to the bootclasspath. Currently, rtpatch.jar contains a
    # patch that fixes the javax.swing.JTree accessibility problems.
    # Uncomment the line below if you need to run JDeveloper under JAWS.
    # AddVMOption -Xbootclasspath/p:../../jdk/jre/lib/patches/rtpatch.jar
    # Replace heavyweight AWT controls with lightweight implementations.
    AddVMOption -Xbootclasspath/p:../lib/lwawt.jar
    # This setting must not be changed.
    SetMainClass oracle.ideimpl.Main
    # SetUserHomeVariable is used to define an environment variable
    # that overrides the default user home location. The directory
    # pointed to by the environment variable defined here will be
    # used to store user settings and the "mywork" directory.
    # On UNIX platforms the default setting is $HOME/jdevhome
    SetUserHomeVariable JDEV_USER_DIR
    # If you run into problems related to relocation errors of system dll's, use
    # this option to resolve them. This option only works under ojvm.
    # AddVMOption -Xheapbase100000000
    # A list of filenames that are reserved
    AddVMOption -Dreserved_filenames=con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout$
    # Indicates which version of the jdk to use for editor syntax
    # highlighting and code explorer. Valid values are: "1.3", "1.4", "1.5".
    AddVMOption -DEDITOR_J2SE_VERSION=1.5
    # Whether Code Insight will omit types and members that have been
    # denoted with the @hidden tag.
    AddVMOption -DINSIGHT_OMIT_HIDDEN=true
    # Text buffer deadlock detection setting (OFF by default.) Uncomment
    # out the following option if encountering deadlocks that you suspect
    # buffer deadlocks that may be due to locks not being released properly.
    # AddVMOption -Dbuffer.deadlock.detection=true
    # If you use JDeveloper in a multibyte environment the embedded browser
    # may display all multibyte characters as squares. If this happens you
    # can use the following option to avoid the problem.
    # AddVMOption -Dice.pilots.html4.ignoreNonGenericFonts=true
    # Put the xml parser into 9.0.4 compatability mode (3116160)
    AddVMOption -Doracle.xdkjava.compatibility.version=9.0.4
    # Specify the set of extant translations for resources loaded via
    # BundleLoader. The format is a comma separated list of locales, for
    # example ja,fr_CA. A translation will only be found if included in
    # the list.
    # Comment out the option to force BundleLoader to use the default
    # locale. This is different to giving the property no value,
    # meaning there are no translations.
    # Note that this has no impact on ResourceBundle, which will continue
    # to try to load locale specific resources even if they are certain not
    # to exist.
    AddVMOption -Doracle.translated.locales=ja
    # Specify the set of locales under which the Windows MS Shell Dlg 2
    # (usually Tahoma) can be used in the UI. The format is a comma separated
    # list of two-letter language codes, for example en,fr.
    # Comment out the option to force the default setting of English only.
    # This is different to giving the property no value, meaning the shell font
    # is never to be used. Generally, it is safe to use the shell font only
    # with single-byte character sets.
    # This setting is used only when running under JDK 5.0.
    AddVMOption -Dwindows.shell.font.languages=en
    # Temporary internal flag to enable trace messages for the IDE
    # controller stack.
    AddVMOption -Dide.debug.controller.stack=false
    # If you need to connect to OC4J 10.1.2 from JDeveloper, uncomment the
    # following option. Note, however, that enabling this option will prevent
    # JDeveloper from connecting to OC4J 10.1.3.
    # AddVMOption -Drmi.disablePropagation=true
    # This option controls the parser delay (i.e., for Java error underlining)
    # for "small" Java files (<20k). The delay is in milliseconds. Files
    # between the "small" (<20k) and "large" (>100k) range will scale the
    # parser delay accordingly between the two delay numbers.
    # The minimum value of this delay is 100 (ms), the default is 300 (ms).
    AddVMOption -Dceditor.java.parse.small=300
    # This option controls the parser delay (i.e., for Java error underlining)
    # for "large" Java files (>100k). The delay is in milliseconds.
    # The minimum value for this delay is 500 (ms), the default is 1500 (ms).
    AddVMOption -Dceditor.java.parse.large=1500
    # This option controls whether the extension manager complains about
    # missing extension classpath entries in the Extensions log on startup.
    # It is currently switched off intentionally until all existing manifests
    # throwing this error have been fixed. This will be removed before
    # production.
    AddVMOption -Dide.extension.cpmissing.nowarn=true
    # This option is to pass additional vm arguments to the out-of-process
    # java compiler used to build the project(s). The arguments
    # are used for both Ojc & Javac.
    AddVMOption -Dcompiler.vmargs=-mx512m
    # secure socket (https) connections require native libraries
    AddNativeCodePath ../../lib
    # property to allow uddi browser queries to route through password protected
    # proxy servers
    AddVMOption -Doracle.soap.transport.noHTTPClient=true
    # Disable tracing for BC4J
    # Suppress BC4J debug warning banner
    AddVMOption -Djbo.debugoutput=silent
    AddVMOption -Djbo.showdebugwarningbanner=false

  • SQLDeveloper 1.1.0.21.41 - Reports issues

    Platform Windows XP, SQLDeveloper 1.1.0.21.41
    All these issues are only for those reports which accepts parameters.
    Issue 1 : Run any reports and resize the columns. Re-run the report. The output does not remember the resize of column.
    Issue 2: Run any report and switch the columns. Re-run the report. The columns lables get switched but the data does not.
    Issue 3: If the user-defined report has parameters and the refresh is set for every 5 seconds, it keeps asking for the parameter values for every refresh, which it should not.
    -Nags

    Please try the latest evaluation release, 1.1.0.22.71. These three issue have now been addressed.
    Sue

  • SQLDeveloper 1.5.4 Table browsing performance issue

    Hi all,
    I had read of previous posts regarding SQLDeveloper 1.5.3 table browsing performance issues. I downloaded and installed version 1.5.4 and it appears the problem has gotten worse!
    It takes ages to display rows of this particular table (the structure is shown below). It takes much longer to view it in Single Record format. Then attempting to Export the data is another frustrating exercise. By the way, TOAD does not seem to have this problem so I guess it is a SQLDeveloper bug.
    Can someone help with any workarounds?
    Thanks
    Chiedu
    Here is the table structure:
    create table EMAIL_SETUP
    APPL_ID VARCHAR2(10) not null,
    EML_ID VARCHAR2(10) not null,
    EML_DESC VARCHAR2(80) not null,
    PRIORITY_NO_DM NUMBER(1) default 3 not null
    constraint CC_EMAIL_SETUP_4 check (
    PRIORITY_NO_DM in (1,2,3,4,5)),
    DTLS_YN VARCHAR2(1) default '0' not null
    constraint CC_EMAIL_SETUP_5 check (
    DTLS_YN in ('0','1')),
    ATT_YN VARCHAR2(1) default '0' not null
    constraint CC_EMAIL_SETUP_6 check (
    ATT_YN in ('0','1')),
    MSG_FMT VARCHAR2(5) default 'TEXT' not null
    constraint CC_EMAIL_SETUP_7 check (
    MSG_FMT in ('TEXT','HTML')),
    MSG_TMPLT VARCHAR2(4000) not null,
    MSG_MIME_TYPE VARCHAR2(500) not null,
    PARAM_NO NUMBER(2) default 0 not null
    constraint CC_EMAIL_SETUP_10 check (
    PARAM_NO between 0 and 99),
    IN_USE_YN VARCHAR2(1) not null
    constraint CC_EMAIL_SETUP_11 check (
    IN_USE_YN in ('0','1')),
    DFLT_USE_YN VARCHAR2(1) default '0' not null
    constraint CC_EMAIL_SETUP_12 check (
    DFLT_USE_YN in ('0','1')),
    TAB_NM VARCHAR2(30) null ,
    FROM_ADDR VARCHAR2(80) null ,
    RPLY_ADDR VARCHAR2(80) null ,
    MSG_SBJ VARCHAR2(100) null ,
    MSG_HDR VARCHAR2(2000) null ,
    MSG_FTR VARCHAR2(2000) null ,
    ATT_TYPE_DM VARCHAR2(4) null
    constraint CC_EMAIL_SETUP_19 check (
    ATT_TYPE_DM is null or (ATT_TYPE_DM in ('RAW','TEXT'))),
    ATT_INLINE_YN VARCHAR2(1) null
    constraint CC_EMAIL_SETUP_20 check (
    ATT_INLINE_YN is null or (ATT_INLINE_YN in ('0','1'))),
    ATT_MIME_TYPE VARCHAR2(500) null ,
    constraint PK_EMAIL_SETUP primary key (EML_ID)
    )

    Check Tools | Preferences | Database | Advanced Parameters and post the value you have there.
    Try setting it to a small number and report if you see any improvement.
    -Raghu

  • Connection issue from sqldeveloper to Oracle Database 10g

    I have installed Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 on my machine having platform Windows vista
    Now i have install sqldeveloper but i am not able to connect to oracle databse.
    GETTING AN ERROR Network adapter could not make it connection
    after that i have tried to check listners.ora through tnsping orcl getting following result
    C:\Users\Kailas>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production on 08-APR-2
    011 00:20:05
    Copyright (c) 1997, 2006, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = kailasLa
    pi)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    TNS-12541: TNS:no listener
    Please let me know What should i do i want to start my practice sessions on sqldeveloper
    I am new in Oracle pl/sql development
    Please guide me on this.........................

    SQLDeveloper 3.0 production is supplied with the thin driver 11.2.0.2
    it needs 11.2.0.2 version to use thick which has a few additional features over thin.
    To avoid confusion with other Oracle software you can set the ORACLE_HOME in the session you start sqldeveloper in as described below:
    The version mismatch is often because SQLDeveloper is trying to use the 'thick' driver and 11.2.0.2 thick is not available,
    try
    thin by:
    1/(uncheck Tools->preferences->Datababae->advanced->use OCI/thick driver, and
    2/If necessary, set ORACLE_HOME for your cmd.exe session where sqldev is started from to where sqldeveloper is where %ORACLE_HOME%\jdbc\lib exists, (so SQLDeveloper does not try your existing ORACLE_HOME) and
    3/If using connection type TNS, use Connection Type TNS -> Network Alias.
    4/You may need to set Tools->preferences->Datababase->advanced->Tnsname directory to the directory containing tnsnames.ora
    -Turloch
    SQLDeveloper Team

  • Sqldeveloper connectivity Issues

    I have Oracle DB installed in the server.I am Trying to connect from another machine using sqldeveloper.I get the below error
    An error was encountered performing the requested operation:
    IO Error: The Network Adapter could not establish the connection
    Vendor code 17002
    What could be reason.I have checked the entries in the lsntr and  tns ora file they have entries.
    Please help.
    Reg,
    Sri

    so your machine knows where the database is, but that doesn't mean it can get there
    can you ping the DB Server?
    is the listener up, and servicing the port referenced in  your TNS file?

  • SQLDeveloper 1.1 on MacOS X (small issue)

    I tried to post to the Comment page, but it seems to be broken. So I'm posting here.
    I renamed the "SQLDeveloper" program on my mac to "SQLDeveloper 1.1 Preview" and it wouldn't start. I got this in my console:
    /Applications/SQLDeveloper 1.1 Preview.app/Contents/MacOS/sqldeveloper.sh: line 3: cd: /Applications/SQLDeveloper: No such file or directory
    /Applications/SQLDeveloper 1.1 Preview.app/Contents/MacOS/sqldeveloper.sh: line 4: cd: ../Resources/sqldeveloper/sqldeveloper/bin: No such file or directory
    ./sqldeveloper: ./sqldeveloper: No such file or directory
    I renamed it to "SQLDeveloper-1.1-Preview" and it started working. It seems like having a space in the name of the application causes the start script to break....
    Other than that, it works great so far!

    Thanks I just fixed this in the source.
    -kris

  • Issue with running DDL creaed by SQLDeveloper

    Hi,
    I have been using SQL developer to create tables, constraints sequences, packages etc. I find it a great tool. Now I want to generate DDL for what I have created so that I can pass on the scripts to others on my team.
    I can generate the DDL fine. However I try to open the DDL in a SQL worksheet window and run it, I get heaps of errors. Anybody got any suggestions as to what I am doing wrong. I would have guessed that the DDL generated would be exactly what I need to recreate the database.
    Thanks
    For example the DDL might look like (excerpt):
    -- File created - Friday-August-08-2008
    -- DROP SEQUENCE "CP_ACCESSREQUEST_SEQ";
    DROP SEQUENCE "CIRCUITPORTALUSER"."CP_ACCESSREQUEST_SEQ";
    -- DDL for Sequence CP_ACCESSREQUEST_SEQ
    CREATE SEQUENCE "CIRCUITPORTALUSER"."CP_ACCESSREQUEST_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE ;
    and the script output will be :
    Error starting at line 5 in command:
    -- DROP SEQUENCE "CP_ACCESSREQUEST_SEQ";
    Error report:
    Unknown Command
    Error starting at line 7 in command:
    DROP SEQUENCE "CIRCUITPORTALUSER"."CP_ACCESSREQUEST_SEQ";
    Error report:
    Unknown Command
    Error starting at line 14 in command:
    CREATE SEQUENCE "CIRCUITPORTALUSER"."CP_ACCESSREQUEST_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE
    Error at Command Line:14 Column:41
    Error report:
    SQL Error: ORA-00955: name is already used by an existing object
    00955. 00000 - "name is already used by an existing object"
    *Cause:   
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I am running SQL Developer
    Java(TM) Platform     1.6.0_11
    Oracle IDE     2.1.1.64.45
    Versioning Support     2.1.1.64.45
    And get similar errors. For instance the following SQL statement
    CREATE OR REPLACE TYPE "ENUM_Fatal-Type"
    IS VARRAY ( 10 ) OF VARCHAR2
    CREATE TABLE IPCLLI
    IP VARCHAR2 (16 CHAR) NOT NULL ,
    CLLI VARCHAR2 (32 CHAR) NOT NULL
    COMMENT ON TABLE IPCLLI IS 'Table that holds the one to one mapping of CLLI and IP addresses. The CLLI/IP combination can referance
    either Hosts or specific CRs'
    Yields the following errors
    ===========================================================
    TYPE ENUM_FATAL-TYPE compiled
    Warning: execution completed with warning
    Error starting at line 16 in command:
    CREATE TABLE IPCLLI
    IP VARCHAR2 (16 CHAR) NOT NULL ,
    CLLI VARCHAR2 (32 CHAR)
    Error at Command Line:16 Column:13
    Error report:
    SQL Error: ORA-00955: name is already used by an existing object
    00955. 00000 - "name is already used by an existing object"
    *Cause:   
    *Action:
    COMMENT ON succeeded.
    Error starting at line 29 in command:
    ALTER TABLE IPCLLI
    ADD CONSTRAINT IPCLLI_PK PRIMARY KEY ( IP )
    Error report:
    SQL Error: ORA-02260: table can have only one primary key
    02260. 00000 - "table can have only one primary key"
    *Cause:    Self-evident.
    *Action:   Remove the extra primary key.
    Any suggestions??
    Bob Bartis

  • Issues with connection busy functionality

    Here are a few things I've noticed with the busy connection functionality:
    If I want to right click in a SQL worksheet window while a tab has a query running (current or different tab) I get the "connection busy" error. Don't know why this is b/c right clicking should not be contacting the DB so it's not like I'm trying to run another process or something.
    I had one tab with a basic select statement and another that was running another script that was taking a while to execute. The tab running had a bunch of insert statements running but not in a pl/sql block. The script had 15,729 inserts. When I tried running a statement on the other tab, I recieved the "connection busy" error, and I clicked abort. Instead of not trying to connect, I kept recieving the "connection busy" error over and over. The second tab came back with results finally. When my other tab with the insert statements was done, I checked the number of rows in my table - 15,717! So it looks like when I was clicking abort the other script was skipping statements or something! Good thing I double checked b/c this nasty little bug would have caused me some grief in the future.

    The connection-busy-abort-retry dialog is popped us when a JDBC operation is being performed on the connection and another such operation is requested.
    SqlDeveloper uses single connection/session everywhere, so in your case, in the second worksheet, the same connection was being used which was busy through the operation in first worksheet.
    Right click on the worksheet, does some JDBC operation, hence you got the dialog in second worksheet.
    One workaround is to use unshared sql worksheet (ctrl-shif-n in a woeksheet).
    A better solution for above issues is being worked on by the development team that should give you better concurrency and responsiveness.
    This would be available in next major release of Sql Developer.
    -Raghu
    dev. team.

Maybe you are looking for

  • NVIDIA GeForce 8600M GT: Questions about my 17" MBP

    I have a 17" MBP with the 8600 graphics (early 2008 4,1). I have yet to have an issue with the card and I am wondering if there is a way to tell if I might have an updated version of the card or logic board. I love my computer but don't want to hold

  • How can I connect to multiple routers in a homelab?

    Hello guys, I have a little little situation here maybe someone can give me a good ideea how to doit. I have 7 routers that I use for my homelab, what I want is a way to connect to all of them without having to change all the time the console cable f

  • Date formatting problem

    Hi, in this code orderdate is a date variable. it is storing the form's date value. But i am not able to show it in date format in message. I want the field's date value .How to do this. If pVal.FormType = "139" And pVal.ItemUID = "10000329" And pVal

  • Link word document

    How to link a PDF, word, & Excel file in flash file by clicking a button?

  • Marking an area on a picture by choosing at a selection list

    Hello, I was wondering if it is possible to mark a picture dynamic: I have already a map and some COORDS - if you click on the shape, it links to another page: <area shape="rect" coords="143,139,149,148" href="f?p=&APP_ID.:44:&SESSION.::::P44_FILE:20