SQL Developer 3.1 Bug: Tabs get closed!!!
Hi!
There is a bug in SQL Developer 3.1 which closes previously opened object editors when the number of opened editors increases over a certain amount.
e.g.:
Open PL/SQL package editors by clicking on them.
After a certain amount of opened packages, the first openend packages begin to disapear.
When theses packages were edited, you are asked if you want to save, ignore or cancel the operation.
Best regards,
Matthias Schulz
Hi Matt,
This is not a bug. The behavior is controlled through preferences:
1. PL/SQL Editor: Tools|Preferences|Code Editor|Auto Pin (checkbox) + Max Open (input field) PL/SQL Editors.
2. ObjectViewer: Tools|Preferences|Database|ObjectViewer|Automatically Freeze Object Viewer Windows (checkbox).
3. Worksheet: Tools|Preferences|Database|Worksheet|Close all worksheets on disconnect (checkbox). Otherwise these inherently remain open.
So we have a minor terminology issue with regard to "Pin" versus "Freeze". Also, another issue with tab width shrinkage as tab number increases:
Please change the way window tabs are handled
Regards,
Gary
SQL Developer Team
Similar Messages
-
SQL Developer 1.5 - how to get stuff to develop extensions
Sorry all,
I'm sure this has been covered before but I can't find it:
I'd like to write an extension or two for SQL Developer 1.5, but I can't get things off the ground using JDeveloper 11g preview 3. The stumbliung block seems to be getting the ESDK - apparently it should be available as an update, but it's simply not there. Other things are - just not the ESDK. As far as I can tell, I can't go back to JDeveloper 10.1.3 because SQL Developer 1.5 is based on the newer architecture of the 11g releases.
Can anyone help me out? I'm planning to knock one up for a demo in two week's time to other developers I work with in an attempt to get them to do the same - we use SQL Developer all the time, and there are lots of things we'd like to try out.
I could go down the JDeveloper 10.1.3/SQL Developer 1.2 route, but we're in love with 1.5 now...
Thanks,
JohnKris,
I'd love to, but I can't find your address. I'm jconner at domain ssp-uk.com if you want to mail me direct - any SQL Developer examples you've got would be really helpful.
I've solved my initial problem, though - I've just got hold of JDeveloper 11g preview 4 (only had 3 before), and the ESDK is now available to download. So I can now actually start to have a bash at writing an extension.
John -
In ORACLE Developer 3.0.04 is a bug in showing the functions or procedures of a package. When "for update nowait" is included in source code no functions or procedures will be shown.
select vts_server
into v_server
from vt_server
where vts_status = 1
and vts_verfuegbar_knz = 'J'
and vts_server = i.vts_server
for update nowait
When this line will be comment out, the list is already fine.Known issue. See package body procedures are not displayed (3 posts down from yours.)
Brian Jeffries
SQL Developer Team -
Unable to donwload Oracle SQL Developer 2.1 Patch 1 - getting a 404
Hi,
I'm trying to download Oracle SQL Developer 2.1 Patch 1, but I'm getting a 404.
Here is the page I'm downloading from:
http://www.oracle.com/technology/software/products/sql/index.html
Here is the link to the zip file:
http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-2.1.1.64.45-no-jre.zip
Could anyone point me to a working link?I have just been to the site and downloaded the software. This is is always available and certainly not been down for 40 days, we track the daily downloads. You maybe restricted by a firewall setting on your side which does not permit you to download the software. There are occasions when there are issues, but generally if you try again in an hour they're resolved. We will not put the software on a rapid share site and for anyone else to do so would be violating licensing restrictions and is as such not legal.
Sue Harper
Product Manager -
SQL Developer Migrate mySQL to 11g gets ORA-00972 due to 30 char name limit
I am running MySQL version 5.5.30 server, SQL Developer 3.0.04 Build MAIN-04.34, and Oracle Enterprise Server 11.2.0.1.0, and using Migrate option to move both data dictionary and data from mysql to Oracle
Most of the steps worked fine using OnLine option: used Capture just fine to generate the repositiory, and Convert generated DDL script just fine in the SQL Developer file folder.
It failed to create users due to privs, but I created them manually: emulation user and also the MYSQL data schema user, after which I took the generated DDL, connected to my Oracle data schema user, and ran the DDL to basically create all the objects. And found out that over 50 tables / column names from MYSQL are longer then 30 char, and thus the generated DDL fails to create objects..
Question - I can manually replace the names with shorter 30 char names, but if I do, my data migration step will not work.
i cannot find references to 'name too long' problem anywhere is SQL Server documentation..
here is the Oracle error example:
Error report:
SQL Error: ORA-00972: identifier is too long
00972. 00000 - "identifier is too long"
*Cause: An identifier with more than 30 characters was specified.
*Action: Specify at most 30 characters.
Creating Primary Key Constraint PRIMARY_1 on table bank_account ...Hello,
have you tried the offline migration option? Then you can probably modify also the ctl file for the SQL*Loader to reflect your changes in the DDL script. I didn't yet try it out, it was just an idea that came to my mind.
Regards
Wolfgang -
BUG: ORA-00600 in SQL Developer while good in SQL*Plus
Just run the following PL/SQL script:
SET SERVEROUTPUT ON
<< outer_block >>
DECLARE
v_test NUMBER := 123;
BEGIN
DBMS_OUTPUT.PUT_LINE ('Outer Block, v_test: '||v_test);
<< inner_block >>
DECLARE
v_test NUMBER := 456;
BEGIN
DBMS_OUTPUT.PUT_LINE ('Inner Block, v_test: '||v_test);
DBMS_OUTPUT.PUT_LINE ('Inner Block, outer_block.v_test: '|| outer_block.v_test);
END inner_block;
END outer_block;
In SQL*Plus, you get the correct result, while in SQL Developer 1.5.4, you get:
Error report:
ORA-00600: internal error code, arguments: [12259], [], [], [], [], [], [], []
00600. 00000 - "internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]"
*Cause: This is the generic internal error number for Oracle program
exceptions. This indicates that a process has encountered an
exceptional condition.
*Action: Report as a bug - the first argument is the internal error numberMeanwhile a workaround is to enclose the whole lot in a BEGIN END;
-
Getting the schema using Oracle SQL Developer 1.5.1
I need to generate a report in CSV/XLS format using Oracle SQL Developer 1.5.1 to get the schema details
in the below format.
Table Name: XXXXXXXXX
Table Space Name: XXXXXXXXXXXXXXX
Structure :
Field Name Data Type Size
Xxxxxxxx xxxxxx xxxxx
Xxxxxxxx xxxxxx xxxxx
Xxxxxxxx xxxxxx xxxxx
Xxxxxxxx xxxxxx xxxxx
Field level constraint:
Xxxxxxxxxxxxxxxxxx
Table Level Constraint:
Xxxxxxxxxxxxxxxxxx
Indexes:
Index Name Column Name(s) Table space name
Xxxxxxxx xxxxxxxxx xxxxxxxxxxxx
Xxxxxxxx xxxxxxxxx xxxxxxxxxxxx
Xxxxxxxx xxxxxxxxx xxxxxxxxxxxx
Sequence Number:
Xxxxxxxxxxxxxxxx
Triggers:
Xxxxxxxxxxxxxxxxxx
I am using a query to do that, but I cannot run more than one queries in the Create Report Dialog.
I went to the Menu->View->Reports. In that, I chose User Defined Reports, created a new folder called Schema Detail and in that a report named Schema Detail. I right click on that report, choose Edit option, Create Report Dialog opens.
In the Create Report Dialog, I chose the option Script for Value of Style.
In the SQL column I enter a query "select * from table_names". But, if I enter another query after that, it does not run and reports an error "SQL Error: ORA-00933: SQL command not properly ended
00933. 00000 - SQL command not properly ended" Cause: Action: "
I end the first query with a semi colon, but it does not work.
The queries run fine in a SQL Worksheet. There, I can terminate the first query with a semi colon and enter the second query. Then, I run both of them together so that result-set of second query appears after the second.
Am I doing something wrong? Can someone please advise on how to get the information I need?
Thanks a lot.You can do it in SQL Worksheet because you are running a script. You could run the script in SQL*Plus, and even start it from a bat/cmd file.
Or if you want this as a User Defined Report, you might make it a PL/SQL style report. Here, all output is done through DBMS_OUTPUT.PUT or DBMS_OUTPUT.PUT_LINE. You can output HTML tags or plain text. I have an example in my paper for ODTUG Kaleidoscope 2009. -
TimesTen Connection Tab Does Not Appear in SQL Developer
Hi,
I have followed the following steps as discussed in the Official Docs:
(http://www.oracle.com/technetwork/database/timesten/sqldev-15313-relnotes-093173.html)
Prerequisites
Before you can use SQL Developer to connect to TimesTen:
Install the TimesTen 7.0.3 or later release of the server or client on the same machine as SQL Developer.
Make sure the CLASSPATH environment variable is pointing to the TimesTen JDBC driver ( TimesTen_install_dir/lib/ttjdbc5.jar) .
On Linux systems, execute the shell script TimesTen_install_dir/bin/ttenv.sh or TimesTen_install_dir/bin/ttenv.csh to set up the TimesTen environment before launching SQL Developer.
Still, there is no tab for TimesTem connection in my SQL Developer, only the ORACLE tab. I am using RHEL 5.5 and I have updated my JAVA to the latest version.
Am I missing something else?
Thanks!Hi,
i had the same problem. I solved it by:
changing the classpath in /TimesTen/tt1121/bin/envcfg:
# Things to add to the CLASSPATH
my @add_classpath =
( "$ttdir/lib/$ttjarfile", # JDBC
"$ttdir/lib/orai18n.jar",
"$ttdir/lib/ttjdbc6.jar", # ADDED
"$ttdir/lib/timestenjmsxla.jar", # JMS/XLA
"$ttdir/3rdparty/jms1.1/lib/jms.jar", # Sun JMS
instead of this change (adding the ttjdbc6.jar to classpath) you may edit in the same file:
$jdkverstr = '5' unless defined $jdkverstr;
my $ttjarfile="ttjdbc".$jdkverstr.".jar";
to
$jdkverstr = _'6'_ unless defined $jdkverstr;
copy the first line of code after bash in the file /TimesTen/tt1121/bin/ttenv.sh
and pasting it in the sqldeveloper.sh after the bash
also you need to change the javahome in sqldeveloper
/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf:
mudar: SetJavaHome ../../jdk to SetJavaHome /usr/lib/jvm/jdk1.7.0
Edited by: Galaaz on 30/Nov/2011 10:15 -
I find the link of sql developer 1.2 bug fix list. Where can I find the place of bug list of sql developer 1.2 so that we can pay attention to the bugs?
With a Metalink account, users can ask if a bug has been logged and if it is logged to be made public. If there is no bug, a new bug can be logged. Development teams across Oracle use the bug database all the time to track issues. This includes issues between releases and those raised during the development cycle. It does not make sense to publish all bugs.
While monitoring this forum, the SQL Developer team logs bugs and, when related to a specific thread, provide the bug number and publish the bug. Metalink remains the primary support mechanism for logging and tracking bugs.
Sue -
Copying SQL Script from Oracle SQL Developer into Excel with formatting
I need to copy a SQL Script into Excel in order to develop some VBA code. Is there any nice way that I can copy SQL Script from Oracle SQL Developer into Excel and retain its formatting? I am a stickler for having legible, readable SQL and like to have all my columns lined up and aliases lined up. When we used to use SQL Navigator, the tab formatting seemed to copy and paste just fine. Now that we have migrated to Oracle SQL Developer, the formatting seems to get all messed up.
And suggestions are greatly appreciated and Thanks in advance for your review and am hopeful for an answer.
Thanks.
PSULionRPI suppose you want a real tabulator instead of spaces. You can configure this in the preferences (SQL Formatter - Oracle). You have to apply it then to your existing code (e.g. CTRL-F7), but new code should get it right from the start.
Hope that helps,
K. -
Cannot login to XE using PL/SQL Developer Tool
Hi,
I have problem using PL/SQL Developer with XE. Whenever I try to use PL/SQL Developer to connect to the XE, I am getting this error message from PL/SQL Developer:
Initialization error: SQL*Net not properly installed.
OracleHomeKey: SOFTWARE\ORACLE
OracleHomeDir:
Both the PL/SQL Developer and XE are installed on a same laptop which is having XP with SP2 and its firewall disabled.
My "sqlnet.ora" reads the following:
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS).
Any help would be much appreciated.
Regards,
Abdiqadir.Had the same problem myself. I tried this and it worked. Mind you, BOTH Oracle XE and PL/SQL Developer have to be on same machines. I have WinXPSP2. Change the installation paths as per your settings in the examples below.
In PL/SQL Developer:
- Tools-->Preferences-->Options Tab-->
---- Oracle Home (empty is autodected): enter this value: C:\oraclexe\app\oracle\product\10.2.0\server
---- OCI Library (empty is autodected): enter this value:
C:\oraclexe\app\oracle\product\10.2.0\server\BIN\ociw32.dll
That's it. It worked for me. -
Issue with SQL Developer connect to SQL server
I'm using "SQL Developer 2.1.1.64.45" to work on a migration project which needs to convert a SQL server database to a Oracle 11g database. But I got an issue when I setup the SQL server connection. The SQL Developer let me connect by selecting a SQL server database name (For example: Northwind), but once connected, it always connected to "master" database instead. The "SQL Developer" is running on Windows 7 Professional (x64) platform. My Oracle database is 11g, and SQL server database is SQL 2005. And my SQL server instance name is "SQL2005". Anyone have ever experienced this problem? Thanks in advance.
Edited by: user8276338 on Feb 8, 2011 1:05 PMHi Bob,
Thanks for the feedback, lets stick with SQL Developer 3.
Correct me if I'm wrong,
You attempted to migrate from SQL Server to Oracle including target generation and datamove in one go, by filling in each step of the migration wizard to the end.
During the datamove you got
ORA-01000:maximum open cursor exceeded
So it looks like SQL Developer during the migration is not closing cursors fast enough and hits the maximum number of open cursors in your Oracle database.
I think the default max open cursors is 300 in Oracle.
There are a few things we can do here.
You should be able to see the new migration project in your Migration Projects navigator.
By navigating down the project tree to "Converted Database Objects" we can attempt the data move again by right clicking and choosing "Data Move".
But first I would restart SQL Developer so as to free up any lingering open cursors.
That may allow you to complete the data move, as the only cursors being open are being used in the data move and not some cursors which may have been left open from previous steps in the migration.
Now from my perspective I would like to identify where are we leaving open the cursors, so I'm going to setup some testcases my end to see if I can replicate.
From your perspective Id presume you just want to move on with the migration.
So if the above (shutdown and attempt just the data move) doesnt workyou could
A) Increase the MAX OPEN CURSORs on your Oracle databases so it complete the data move
or
B) Use the offline data move technique.
A) Increase MAX OPEN CURSORs
This wiki explains how to do that, looks like 1000 is fairly common, but even a much larger number is not a problem
http://wiki.oracle.com/page/OPEN_CURSORS
ALTER SYSTEM SET OPEN_CURSORS = 10000;
OR
B) Offline Data Move
If you are moving large amounts of data (say > 1GB), then the standard data move (we call it online), which just uses JDBC to SELECT * FROM and INSERT INTO may not cut the mustard.
In this case you can try using our offline technique. SQL Developer will generate a set of scripts for you.
unload_script.bat will use SQL Servers BCP tool to dump out the table data into DAT files.
oracle_ctl.bat will load the data in the DAT files into Oracle.
As we know the names of all the tables, columns ,both SQL Server and Oracle, we can generate fairly good scripts.
The benefit of this technique is large amounts of data can be migrated and you get to use tools designed to dump data and load in data, so you have better error logging and tweaking.
To attempt this in the Migration Wizard , Data Move page, select offline.
If you can describe your database a bit (number of tables, number of procedures, amount of data to migrate) I may be able to define my testcase better so I can replicate the issue.
Thanks
Dermot
SQL Developer Team. -
How to see dbms_output on oracle sql developer
ned immediate help
how to see dbms_output on oracle sql developerHi,
In sql developer u have a tab named DBMS Output in your result sheet. In that the first Icon is Enable DBMS Output. turn it on (After on it will give the message set serveroutput on in the sheet) and then run your code.
In the code u have to use the dbms_output.put_line package.after running the code u have to see the result in DBMS Output tab.
Regards,
NTR -
ORA-01041 Error while query in PL/SQl Developer
Hi All,
I am trying to execute a simple select statement in PL/SQL developer. After the query gets executed i am getting a error
ORA-01041 internal error. hostdef extension doesn`t exist.
But when i perform the same query in sqlplus, i do not receive this kinda error.
Does any 1 have a idea on this error?
Regards,
Ritesh KhullerPL/SQL Developer is a third-party tool and not from oracle.
maybe you have better chances in the rdbms-forum where they know more about hostdef's
PL/SQL
General Database Discussions -
Enter key doesnt work in SQL developer
enter key doesnt work in sql developer so cant creat new line in code.
enter key works fine when use word etc
Can I fix this in the SQL developer settings somewhere.?
thanks in advance.Hi Sue,
Just to let you know, your solution worked... My SQL Developer got into a state again where the backspace key stopped working... doing 'load preset, default' on the accelerators did fix it. Strange, because I don't use/configure the accelerators at all. Thanks for that, and hopefully this will be permanently fixed in the next version.
To echo what I think someone else was trying to say... I also have the issue that sql developer will 'lock up' or get bogged down sometimes, when i'm just typing away in the worksheet. Any keystrokes I entered in though will always get entered into the worksheet, once sqldeveloper 'unfreezes' itself. Of course, this issue is an annoyance factor only (little bit of impact on productivity though), but hopefully it gets fixed as well.
Maybe you are looking for
-
How do I move Photos from PC to Macbook Pro
Hello Just purchased LR 2 and a new Macbook Pro. After two weeks, glad I did it, but its about to give me Brain overload. I've read 4-5 books and watched a dozen videos. I just installed 2 Ext HDs and want to put my catalog, library on one Ext. HD
-
Exception when running JSF Tags
Hi, I am using MyEclipse 5.0.1 GA and jboss-4.0.3SP1. I am trying out a small JSF tag where the command button is not getting displayed and if i click the refresh button three i am getting this error. could anyone tell me what exactly the problem is.
-
Problems with user mapping to download ESS Business Package for EP 6.0
Hi, I am trying to download ESS Business Package for EP 6.0 but facing problems inspite of reading the SAP document on downloading Business Package. Here is my problem: I start to download the package and to map the user ids. I am mapping the SDN use
-
Ipod "Syncs" but doesn't add new music
My ipod has always worked perfectly fine with my computer and itunes. Yesterday I added a new mixCD to my itunes and tried to sync it with my ipod. My ipod shows up in the sidebar, and goes through a "sync" process, but hasn't added the new music. Ad
-
How to create a shortcut for a new application?
I have made an application. I did a blankform too, which is the 1st form to start. Now I`d like to know how to create a shortcut that this form will start from a win desktop. What to write in the shortcut`s target (the path to the blankform- thats th