SQL Developer oak leaf after logout

Hello

I use the new SQL Developer for a few weeks now.

It's very well in most ways. But one thing is really bad.

After disconnecting a connection saved the SQL Developer automatically opens again a worksheet and reconnects the connection that I have just closed.

It happens to almost any connection.

Also, if I have a worksheet to a session previously opened disconnectet, after striking in this worksheet the automactly Developer opens again the connection.

What is a standard behavior? Could I change any setting to refuse to reconnect automatically?

Thanks for any advice.

Greetings from the Germany

Sebastian Lauff

It was a bug - agreed, a bad.

It has been set for our 4.1.1 patch, people you will see soon available on OTN.

Such patch will also be too integrated JDK 64 bit for Windows available for download.

Tags: Database

Similar Questions

  • SQL Developer CLI honor named connections in SQL dev

    While trying to run SQLDEV CLI, I get the error during command line call. Here's what I did-

    (1) created a unit test in SQl Developer

    (2) verified that it works correctly

    (3) open the command prompt and went to SQLdeveloper/sqldeveloper/bin dir.

    (4) called-> unittest sdcli64.exe - run - test - name "AWARD_BONUS_TEST" - repo UT_REPO - db HUB28. (name of the connection, the name of repo are same with SQL Developer)

    obtained after error-

    Oracle.jdeveloper.db.ConnectionException SEVERE: cannot connect to the HUB28 database. encountered error is: invalid connection information specified.

    Check the URL format for the specified driver.

    oracle.jdeveloper.db.DatabaseConnections.getUniqueConnection(DatabaseConnections.java:677)

    SEVERE empty - java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)

    Unable to run the test.

    Environment-

    Developer SQL 4.0 ai2

    Windows 7, 64 bit.

    Java (build 1.7.0_40 - b43) 64-bit

    Jeff Smith Sqldev Pm-Oracle Gary Graham-Oracle , I was able to run tests using SDCLI, well, there is opposition Repository connection and target DB were setup in SQLDEV using connections based TNS, SQCLI has managed to connect repository but never target DB, once I changed the target DB for a named connection (providing Server, SID) it starts to work properly. Cross, I checked all the documents, but could not find any reason for this behavior. He can see that works similarly to the 3.1, 3.2, 4.0 EA1, 4.0 ai2 can you confirm that it is intended?

  • Oracle SQL Developer with SQL Developer Data Modeler

    Friends,

    I'm trying to understand the differences between Oracle SQL Developer Data Modeler and the possibility to use the SQL Developer Data Modeler.

    I have looked at two home pages produced on OTN, http://www.oracle.com/technology/products/database/datamodeler/index.html & http://www.oracle.com/technology/products/database/sql_developer/index.html and would appreciate your comments on my findings so far

    (1) the Oracle SQL Developer Data Modeler is a paid product stand-a-lone while using the Data Modeler of SQL Developer feature is free

    (2) the Data Modeler in SQL Developer functionality is basically a "viewer" I create my existing table of DR. by dragging in the Modeler in the object browser, but that's all. I can't save the diagram for later use or use to change the structure of the or the tables

    (3) if I need to have 'Oracle Designer' as ERD capability so I need to use Oracle SQL Developer Data Modeler (after purchase!)

    (4) are there other differences that I missed?


    Thanks in advance

    Yes, you've nailed it!

    Have fun
    K.

  • the hidden value of param - after restarting SQL Developer

    I would like to know if there is a way to make this type of permanent change:

    the hidden value of param querySynonyms = true;


    This means that the value set in the statement persists even after I restart SQL Developer.

    There are "Include synonyms" option in the Code Editor-> preferences completion Insight which is equivalent to querySynonyms = true;

  • Oracle SQL Developer to the database unifying connection

    Hello community!

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

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

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

    Your help is highly appreciated

    Concerning

    Amir

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

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

  • -You also get an invalid identifier error when executing this query sql for a data model, but not in TOAD/SQL Developer?

    Hello OTN.

    I don't understand why my sql query will pass by in the data model of the BI Publisher. I created a new data model, chose the data source and type of Standard SQL = SQL. I tried several databases and all the same error in BI Publisher, but the application works well in TOAD / SQL Developer. So, I think it might be something with my case so I'm tender hand to you to try and let me know if you get the same result as me.

    The query is:

    SELECT to_char (to_date ('15-' |)) TO_CHAR(:P_MONTH) | » -'|| (To_char(:P_YEAR), "YYYY-DD-MONTH") - 90, "YYYYMM") as yrmth FROM DUAL


    Values of the variable:

    : P_MONTH = APRIL

    : P_YEAR = 2015

    I tried multiple variations and not had much luck. Here are the other options I've tried:

    WITH DATES AS

    (

    Select TO_NUMBER (decode (: P_MONTH, 'JANUARY', '01',))

    'FEBRUARY', '02',.

    'MARCH', '03'.

    'APRIL', '04'

    'MAY', '05'.

    'JUNE', '06'.

    'JULY', '07',.

    'AUGUST', '08'.

    'SEPTEMBER', '09'.

    'OCTOBER', '10',.

    'NOVEMBER', '11'.

    "DECEMBER", "12."

    '01')) as mth_nbr

    of the double

    )

    SELECT to_char (to_date ('15-' |)) MTH_NBR | » -'|| (TO_CHAR(:P_YEAR), 'DD-MM-YYYY') - 90, "YYYYMM")

    OF DATES

    SELECT to_char (to_date ('15-' |: P_MONTH |)) » -'|| ((: P_YEAR, 'MONTH-DD-YYYY')-90, "YYYYMM") as yrmth FROM DUAL

    I'm running out of ideas and I don't know why it does not work. If anyone has any suggestions or ideas, please let me know. I always mark answers correct and useful in my thread and I appreciate all your help.

    Best regards

    -Konrad

    So I thought to it. It seems that there is a bug/lag between the guest screen that appears when you enter SQL in the data model and parameter values, to at model/value data.

    Here's how I solved my problem.

    I have created a new data model and first created all my settings required in the data model (including the default values without quotes, i.e. APRIL instead "Of APRIL") and then saved.

    Then I stuck my sql query in the data model and when I clicked ok, I entered my string values in the message box with single quotes (i.e. "in APRIL' instead of APRIL)

    After entering the values of string with single quotes in the dialog box, I was able to retrieve the columns in the data model and save.

    In the data tab, is no longer, I had to enter the values in single quotes, but entered values normally instead, and the code worked.

    It seems the box prompted to bind the values of the variables when the SQL text in a data model expects strings to be wrapped in single quotes, but no where else. It's a big headache for me, but I'm glad that I solved it, and I hope this can be of help to other institutions.

    See you soon.

  • 12 c to Oracle & SQL Developer 4.1.2 (Windows 8.1): problems of creating user

    After...

    • installing Oracle 12 c
    • decompression SQL development 4.1.2
    • by clicking on "sqldeveloper.exe".

    ... I am able to create a new connection:

    Connect.PNG

    Then, I'm supposed to create a new user. (Just FYI: it comes from an old assignment which I finally finished by using MS SQL Server.) But I'm still confused what I did wrong here...) My instructions everything first, run me the following command (as far as I can tell to create the user in the corresponding container):

    AlterSession.PNG

    Problem: After having successfully performed this command, other actions involving the connection causes the following error message:

    error.PNG

    After spending hours reinstalling Oracle and try different things (inspired by manuals and online forums) that never significantly improved situation, any kind of help are much appreciated!

    The exception is indicative that the PDB is NOT open.

    A "start" command does NOT open all of the default Database. When you first installed 12 c and created a sample DB installation process open. You likely judgment of the DB and pc - then you started the pc and the DB started automatically but then ONLY the root/CBD is started.

    You logged in as SYS to the root/CBD and together the container to the PDB but the PDB is not open.

    Multitenant has MANY differences from earlier versions and you just stumbled upon one of them. You have two options

    1. create a trigger AFTER STARTING that opens the PDB files to automatically open

    2 open the PDB manually - "ALTER PLUGGABLE DATABASE ALL OPEN;"

    I answered SEVERAL times in the multitenant forum answering the same basic issue. See for example my answers in this thread

    Re: creating new users in oracle 12 c

    Now for the advice, that no one ever seems 1) want to hear, 2) take seriously or 3) actually do.

    RTFM - with 12 multitenant c, that you will continue to have similar problems, until you read and understand the multi-tenant architecture.

    I recommend you first read chapters 17 and 18 of the doc of Concepts on the new 12 c multitenancy.

    http://docs.Oracle.com/CD/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ

    There are 3 or 4 relevant threads in the forum shared that have chunks of that info. So if you want you can read these threads, my answers and links I provide still other threads:

    12 c: ORA-65049: creating local user or role is not permitted in the CBD$ ROOT

    Re: Configuration of an oracle connection 12 c

    Re: creating new users in oracle 12 c

  • Issue of Oracle SQL Developer

    Hello

    The problem is that when I execute queries "heavy" through SQL Developer (v. 4.1.1.19 or back) the IDE does not meet any other action during the execution of the query (queries) (I can't cancel the task). I mean if want to connect to another diagram or choose an option from the menu of the IDE, then I have to open a second window of SQL Developer. Why is it so... Is this something I did wrong?

    After further investigation, I think that the following tips will help you to avoid situations where a request seems to have been cancelled but...

    1. He continues to run on the DB.

    2. subsequent attempts to use or to break this connection are blocked.

    3. another action (as if we were trying to close SQL Developer) causes the interface user to hang completely.

    Your first choice should be to install an Oracle client (full or instant) and configure SQL Developer in Tools > Preferences > Database > advanced to use the JDBC OCI/thick driver.

    If you do not want to install an Oracle client and prefer to use the JDBC Thin driver by default, then adding this to the file sqldeveloper.conf to your installation should help:

    AddVMOption - .net .disableOob Doracle = true

    The full dump thread you provide merely reflects the fact that the request does not actually get cancelled, the login is locked, and any other attempts to use it will hang. Anyway, as long as the user interface does not block, even if a request did not get cancelled at the DB level you should always be able to do things like...

    1. open an unshared connection (Ctrl + Shift + N) of the worksheet occupied this connection.

    2. create another name of the connection with the same details as the locked connection and use it.

    3. open Tools > Sessions of the monitor for a user with enough power and kill the hanging session using the menu popup kill .

    I hope this helps.

  • SQL * more the 'timing' in SQL Developer command

    I installed SQL Developer version 4.1.1.19. In the sql worksheet, how can I use SQL * more order 'timing' in a script to see a time elapsed SQL? The "Timing" on 'set' did not return any info after running SQL, and 'calendar beginning mon_timer' back 'command Timing is obsolete. Help, please.

    Thank you

    • As you can see, there is no calendar information in the script output log.
    • Then I tried on the discussion forum, found it can be enabled in "tool > preference > Database > startup script" and set as startup script:

    Set serveroutput on

    set timing on

    • However, 2 questions are:
    1. the calendar that he returned is NOT the elapsed time of my stored procedure to run. He simply choose the 2 time points its time, before and not after MS point run. Set timing on is therefore not a solution for me.
    2. He did not follow the instructions in the startup script. After that I put the calendar in the startup script, stop & restart SQL Developer, same laptop charging, timing still on. The only way to turn off now is to configure it to NOT use

    any startup script.

    • Then I developed my own coding as a solution:

    3. control of the COIL

    VAR bv_start_ts VARCHAR2 (30)

    VAR bv_end_ts VARCHAR2 (30)

    VAR bv_elps_ts VARCHAR2 (30)

    DECLARE

    v_start_ts VARCHAR2 (30);

    BEGIN

    SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_start_ts FROM DUAL;

    : bv_start_ts: = v_start_ts;

    END;

    /

    IMPRESSION bv_start_ts

    EXEC pmsmmi.rpt.rpt_ethncty_race_smry (15);

    DECLARE

    v_end_ts VARCHAR2 (30);

    BEGIN

    SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_end_ts FROM DUAL;

    : bv_end_ts: = v_end_ts;

    END;

    /

    IMPRESSION bv_end_ts

    EXEC: bv_elps_ts: = TO_CHAR (TO_TIMESTAMP (: bv_end_ts, 'yyyymmddfxDyhh24miss.ff6')-TO_TIMESTAMP (: bv_start_ts, 'yyyymmddfxDyhh24miss.ff6'), 'hh:mi:ss.ff6');

    IMPRESSION bv_elps_ts

    SPOOL OFF

    • Then I got what I want, the answer is in the 'PRINT ': bv_elps_ts

    SQL > VAR bv_start_ts VARCHAR2 (30)

    SQL > VAR bv_end_ts VARCHAR2 (30)

    SQL > VAR bv_elps_ts VARCHAR2 (30)

    SQL > DECLARE

    v_start_ts VARCHAR2 (30);

    BEGIN

    SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_start_ts FROM DUAL;

    : bv_start_ts: = v_start_ts;

    END;

    /

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:00.031

    SQL > PRINT bv_start_ts

    BV_START_TS

    -----------

    20150702Thu112617.775545

    SQL > EXEC pmsmmi.rpt.rpt_ethncty_race_smry (15)

    PL/SQL procedure successfully completed.

    SQL > DECLARE

    v_end_ts VARCHAR2 (30);

    BEGIN

    SELECT TO_CHAR (SYSTIMESTAMP, 'yyyymmddfxDyhh24miss.ff6') INTO v_end_ts FROM DUAL;

    : bv_end_ts: = v_end_ts;

    END;

    /

    PL/SQL procedure successfully completed.

    Elapsed time: 00:00:00.062

    SQL > PRINT bv_end_ts

    BV_END_TS

    ---------

    20150702Thu112630.805786

    SQL > EXEC: bv_elps_ts: = TO_CHAR (TO_TIMESTAMP (: bv_end_ts, 'yyyymmddfxDyhh24miss.ff6')-TO_TIMESTAMP (: bv_start_ts, 'yyyymmddfxDyhh24miss.ff6'), 'hh:mi:ss.ff6')

    PL/SQL procedure successfully completed.

    SQL > PRINT bv_elps_ts

    BV_ELPS_TS

    ----------

    + 00:00:13.030241000 000000

    SQL > SPOOL OFF

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

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

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

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

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

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

    Here is the full error stack:

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

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

    java.lang.NullPointerException

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Hi Torsten,

    Thanks for reporting the problem. I logged a bug.

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

    Philippe

  • Unit test in sql developer 4.1 fails but passes in 4.0

    I can't tell if it's a question of Java or Sql * developer issue.

    SQL * Developer Version: 64-bit 4.1.0.17.29

    Versions of Java: Tried jdk 8: 1.8.0_5, 1.8.0_20 and 1.8.0_31 - all 64 bits

    That is the message in the response of unit test:

    CPS_TOOLS.PREP_FOR_DELIMITED_FIELD failed: Missing defines
    oracle.jdbc.driver.Accessor.isNull(Accessor.java:744)
    oracle.jdbc.driver.CharCommonAccessor.getString(CharCommonAccessor.java:350)
    oracle.jdbc.driver.OracleCallableStatement.getString(OracleCallableStatement.java:661)
    oracle.jdbc.driver.OracleCallableStatementWrapper.getString(OracleCallableStatementWrapper.java:860)
    oracle.jdbc.proxy.oracle$1dbtools$1raptor$1proxy$1driver$1oracle$1RaptorProxyOJDBCStatement$2oracle$1jdbc$1internal$1OracleCallableStatement$$$Proxy.getString(Unknown Source)
    oracle.dbtools.raptor.datatypes.strategies.callablestatement.CallableBindingVARCHAR.customOutputByPosition(CallableBindingVARCHAR.java:51)
    oracle.dbtools.raptor.datatypes.strategies.callablestatement.CallableBindingDatumAtName.customOutput(CallableBindingDatumAtName.java:123)
    oracle.dbtools.raptor.datatypes.impl.CallableBindingImpl.getOutput(CallableBindingImpl.java:74)
    oracle.dbtools.unit_test.testObjects.UtTestImplArgs.getOutput(UtTestImplArgs.java:320)
    oracle.dbtools.unit_test.runner.Runner.executeRunn ...
    
    
    

    Now, the same unit test works with the following text:

    SQL * Developer Version: 64-bit 4.0.2.15

    The Versions of Java: 64 bit jdk 7 - 1.7.0_55

    I tried to follow here debug information collection:

    http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-Debug-Info-for-Oracle-SQL-Developer/

    However, there is no report in the command window after a ctrl-pause/break. At the same time, however, it is not like sql * developer hangs here.

    Thoughts?

    EA 4.1 includes a new feature to save all JDBC calls (view > Log, and then note the statements tab in the logs pane), so it could be the difference in the behavior of Test Unit between 4.0 and 4.1.

    You use the JDBC default 12.1 driver, or you have overridden by specifying a particular Oracle client?  In other words, in

    Tools > Preferences > Database > advanced > use Oracle client > configure...


    I read that somewhere there may be problems when you use the clients pre - 12 c with earlier versions of JDBC. driver

  • call a procedure stored since SQL developer UI

    I have a stored procedure that is created with a date in parameter.

    Then I tried running SQL Developer by right-clicking the stored procedure, then it comes out a parameter window and I tried to enter the value in the entry value field by entering January 1, 2015 "because I know our server date format is DD-MON-RR."

    But it shows a window of incorrect format: Please use date format YYYY-MM-DD,

    Why is this?

    The generated SQL Developer code is less after I ' 2015-01-01'

    DECLARE
    DATE OF P_DATESTORED;
    BEGIN
    P_DATESTORED: = to_date('2015-01-01','yyyy-MM-dd');

    MySproc)
    P_DATESTORED = > P_DATESTORED
    );
    -restoration;
    END;

    I can just use below: for the date, the Server format is DD-MON-RR.

    Begin

    MySproc('01-JAN-2015')

    End;

    Thank you

    We use oracle 11g 2, the window environment.

    The code is generated (SQL Developer) client-side. This code generation, by design, does not count the current NLS_DATE_FORMAT of the session. Instead, it uses the date coded hard YYYY-MM-DD format. It seems to be a design decision.

    If you want to enter this date value in a particular format, use the following snippet directly in the SQL worksheet (F5: run script), modified for your desired date format, or omitted date format - I really discourage the to do.

    DECLARE

    DATE OF P_DATESTORED;

    BEGIN

    P_DATESTORED: = to_date ('& myinput', 'YYYY-MM-DD');

    MySproc)

    P_DATESTORED-ONLINE P_DATESTORED

    );

    -restoration;

    END;

    /

  • SQL Developer, wrong file name registration

    Hello

    I use generation SQL Developer 4.0.2.15 15.21 on Windows7 Enterprise 64-bit. Recently, I found that when I save the contents of the pane out of the Script (by clicking on the floppy disk icon) and use the select a file to replace dialog box, SQL Developer is overwhelming in fact another file in the same directory.

    I already tried to restart SQL Developer, restart Windows and rename the properties - preferences.xml to force SQL Developer for the re - create (in case it has been altered in some way), but I still see the same behavior.

    My current workaround is to manually type the name of the existing file in the dialog "Save" to save a new copy.

    Anyone have any ideas on what could be the problem or how I could try to fix this? I searched the usual sources (google, this forum and My Oracle Support) but have not found anything similar with the exception of "


    You sort by date or size in the first file picker?  A bug with the following title has been fixed for EA1 release 4.1:

    FILE SELECTOR RETURNS WRONG FILENAME OF EXPORT AFTER SORTING BY DATE/SIZE


    It was initially reported in this discussion: 4.0.3 export csv date modified

  • Is there a real BENEFIT in SQL * Developer Automated Unit Testing?

    I'm trying to understand the unit test in SQL * Developer. Asked me to evaluate it as a method of test automation on an integration solution that we develop.

    (1) my 'A' schema has this table:

    SQL > DESC EMP

    Name                                      Null?    Type

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

    EMPID NOT NULL NUMBER

    EMPNAME VARCHAR2 (30)

    SALARY NUMBER (7.2)

    COMM_PCT NUMBER (2.2)

    Table (2). has these values:

    SQL > SELECT * from emps;

    EMPID EMPNAME SALARY COMM_PCT

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

    1 ROHAN 10000.05

    2 JOHN 20000

    3 PETER.06

    4 SMITH

    (3.) I create this procedure in drive A:

    create or replace

    PROCEDURE award_bonus (NUMBER, sales_amt NUMBER p_empid)

    AS

    REAL Commission;

    comm_missing EXCEPTION;

    BEGIN

    SELECT comm_pct IN the commission OF EMP

    WHERE empid = p_empid;

    IF the commission IS NULL THEN

    RAISE comm_missing;

    ON THE OTHER

    PGE UPDATED

    SET salary = salary + sales_amt * commission

    WHERE empid = p_empid;

    END IF;

    END award_bonus;

    (4) now, I want to create a unit test in SQL Developer to test this procedure.

    (5) I created a user "unit_test_repos" according to the instructions in the tutorial.

    (6) ' SELECT OPERATION': I specifies the procedure of award_bonus.

    (7) ' SPECIFY the name of test': give a name and select "create with a single model.

    (8.) 'SPECIFY the STARTUP': Add a ' copy Table or the line "the startup process.

    -I give "EMP" as the source table.

    -And then I get this for the 'generated query.

    SELECT ROWID AS SRC$ ROWID, s.* FROM EMP s

    -Target table has "TMP$ AWARD_BONUS.

    (Q1) WHAT IS THE PURPOSE OF CREATING ANOTHER TABLE?

    (Q2) WHEN THE TEST IS DONE, ARE ROWS OF PGE copied into this table?

    (Q3) Why is this? Why can't the test simply read 'EMP '?

    (9) "PARAMETERS SPECIFY": I give "Input".

    -1 for P_EMPID

    -10000 for SALES_AMT

    -In "Expected result", I say "success."

    (Q4) So I should know in my mind the results of the proc, foregoing given entries?

    (10) ' SPECIFY VALIDATION': I add validation "poll rows of queries.

    -I paste the following query: SELECT count (*) FROM EMP WHERE empid = 1 AND salary = 10500

    -that is, I know that for an amount of 10000 sales, employee 1 will get a Commission of 10000*.05 = 500. For example, 10000 (its sal) + 500 = 10500.

    (Q5) The thought that the above is correct?

    (11) "TEARDOOWN SPECIFY": give nothing.

    (12) my unit test is created.

    (13.) I run now by clicking on the button of the beetle, to the left of the green arrow. Unit test is run.

    (14) now in my table a.emps, 1 salary has increased to 10 500, and the diag test case, I get the "execution results: SUCCEED.

    (15) now, I run the unit test again.

    (16.) salary 'EMP' table emp 1 is passed to 11000 (which is correct) and the so-called execution results "SUCCESS".

    (Q6)  My question is: the query I gave for validation, SELECT count (*) FROM EMP WHERE empid = 1 AND = 10500 salary, now gives 0. so, this means that no row is returned for this condition and so the test must FAIL. But how is SQL * Developer said that the test was SUCCESSFUL. How does this system of validation?

    (17.) I went through the tutorial, but I do not understand these concepts >

    (Q7) What is the purpose of disassembly? I undersand the option 'drop table' "disassembly", where you drop the temporary table, but I do not understand the others, 'Table or line restore' and 'code pl/sql user '?

    (Q8) WHAT IS the advantage of making the test like this? Can I use an Excel spreadsheet and make dozens of unit tests faster than this method?  It is easy to understand too. This method is complicated.

    Your answers and your advice would be greatly appreciated.

    The temporary table to hold the original values for EMP. After the test runs, you must configure the disassembly to reset the return values of the temporary for the next time table that the test works again, he has values of expected start.

  • Why SQL Developer randomly at the end sometimes introduced the special strings?

    I noticed that the SQL Developer has some problems with string manipulation in its code.

    SQL Developer 3.2 when generate us scripts of our efforts using SQL Developer data modeling we often have problems with 'archiving' scripts generated in our SVN repository because he complains about the inconsistency with line endings, and some generated lines have apparently invisible special characters (non-ascii) to the end. The solution is to open the scripts using MS WordPad and save the files immediately, as this text editor would be to filter all characters (not ascii) invisible. So, it wasn't a big deal...

    But now as we explore the SQL Developer 4, we have noticed that we have added to the names of columns during dismantling of 'Table or restore line' operations, special characters effectively corrupted tables (table definitions in the dictionary) that we use in the corresponding unit tests.

    The team SQL developers aware of the problem and if so is there any workaround?

    Please advise...

    Thank you

    Val

    Just a quick update:

    Has obtained another definition of 'corruption' in Toad table after running a unit test in SQL Developer (with the process of disassembly of the table or restore the line) and there seems to be a bug in Toad, not in SQL Developer. The special characters shown in Toad have nothing to do with the actual table definition in the dictionary. After you restart the Toad, the table definition looks good again. Probably a matter of caching in Toad...

    Thank you

    Val

Maybe you are looking for

  • Cannot delete Apps blocked pending-

    iPhone 6 sec more iOS version: 9.3.3 (G 13, 34) Edition: 3rd apps are blocked on 'waiting', since the time those who started the update a week ago photo - grid Photo - collage maker, Google Maps & Documents 5. Remove the phone crashes. They do not ap

  • Restore the data in the external drive using Time Machine

    Hi y ' All! I store my photos in my external hard drive because there is not enough space in memory is internal. This is actually my second drive external hard than my first (Adata HE720) is not the beginning of last year. Unfortunately, my WD Elemen

  • Atheros model AR58125: activating windows 10

    I wan't to upgrade my laptop for windows 10. When I want to update the 10 windows, installer will request a key from windows 10. My laptop is the default value of the box and windows 8.1 is also enabled and legal. I tried factory default of the lapto

  • There is an unknown entry in my Hotmail Contact list

    In my Hotmail contact list there is an entry called FunRoom; it is in bold.  I didn't add this to my list of contacts. and I can't remove it. I can not see when I go to Contacts and open the list here.  The only time I see it is if I'm composing a ne

  • Z5 Xperia accessories

    Hello! Is there anyone here who knows if the stereo microphone Sony STM10 will work on Xperia Z5? I think that it will work on any Android device with a conductor (?) 5-port to THE, so I wonder if the Z5 door. I am grateful for answers, thank you.