SQL Developer 3.2/4EA1 not fully reading TNSNAMES
Hi,
We are using both 3.2 and the 4EA1 versions, and have found that both are not fully reading the TNSNAMES file.
In the TNSNAMES file, we have databases that are configured with either SID or SERVICENAME.
It isn't excluding databases setup with either.
Can anyone suggest what the issue might be?
Cheers,
Russell H.
This is just a shot in the dark, but have you checked your tnsnames file to see if anything besides the entry name (and commented lines) begins in column one? Although sqlplus will usually parse such entries successfully, some of the other tools have had issues with them in the past... they seem to misparse the entry, which often messes up the processing of subsequent items.
Here's a quick example, with spaces replaced by periods for readability:
# good entry
mydb=
..(DESCRIPTION=
....(ADDRESS=(PROTOCOL=TCP)(HOST=myhost)(PORT=1521))
....(CONNECT_DATA=(SERVICE_NAME=myservice))
# bad entry
mydb=
(DESCRIPTION=
..(ADDRESS=(PROTOCOL=TCP)(HOST=myhost)(PORT=1521))
..(CONNECT_DATA=(SERVICE_NAME=myservice))
If memory serves, only the entry name is actually supposed to begin in column 1... pretty sure I found that documented somewhere, back when I first encountered the issue. So if this is indeed your problem, I suspect that the official verdict would be that your tnsnames file is bad and needs to be corrected.
Again, this is just a wild guess.
Similar Messages
-
New "SQL Developer Team Announcements" sticky note
In the new SQL Developer Team Announcements sticky note posted a couple of days ago:
<li>Is "SQL Developer Team Announcements" the right title? It appears to be hard enough to get people to read these things anyway, and this suggests that it's either targetted at the SQL Developer Team, or contains information about them.
<li>The SQL Developer Exchange link for Enhancement Requests links to the sticky note, not the Exchange Feature Requests page.
<li>Suggest using "Forum Tips" or some other alternative instead of "Forum Etiquette": "etiquette" too obscure a term?
<li>"When asking a question, provide all the details that someone would need to answer it.": Can these be spelled out? e.g. SQL Developer version, DB version, Java version, OS etc.Sue, thanks for the prompt attention.
3 sounds good: News, Posting Guidelines, and a FAQ for the rest? (sorry, I'd lump "collateral" in with "etiquette" as clarity goes).
A FAQ with Qs like:
<li>How do I report bugs?
<li>Where do I request enhancements?
<li>Where can I find extensions?
may be the best way to handle the "collateral" as it can retain the same (easily understood title) whilst being extendable to cover virtually anything.
As an example, I think Mark Drake has handled this well on the {forum:id=34} forum. -
Query on SQL Developer Connections Tree Does Not Display Objects
Hi Gurus, Could you please clarify on the below. As per the note ID 1458753.1, SQL Developer Connections Tree Does Not Display Objects to user in order to access database objects outside the owned schema/account. ------------------------- By default, and without granting wide privileges such as DBA, a user will only see his or her own objects in the first level object nodes under their connection. Objects in other schemas must be accessed via the Other Users node under the connection. This is the intended functionality/display in SQL Developer. ------------------------- Is there any other way we can achieve this? Requirement is very common - user A owns all objects and user B granted read/read-write privileges on user A objects. Now user B wants to Display user A objects in the corresponding objects node of SQL developer. Could any one shed some light here? Thanks Venu
First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
Justin -
SQL Developer Blocked and is not allowed to connect to database ORA-200001
SQL Developer Blocked and is not allowed to connect to database gives ORA-200001.
i found on net that DBA can write triggers which can deny connection to database from certain appplication.
so i want a way to change application name so that when it connects to database
the V$SESSION will have different value (other than SQL Developer) in column PROGRAM and/or MODULE (which i think is used by dba to restrict the connection).
one more way is
i am using jdbc url to connect to database
in java we can change properties of connection to change the PROGRAM in V$SESSION.
but i am not java expert so dont know how and where to make the changes
either way my aim is to connect to database such that V$SESSION will have different value (other than "SQL Developer") in column PROGRAM and/or MODULEThis is not system configration or credential issue.
This is a check which is put DBA using logon trigger
to check certain user loging in using certain application.
only some users using particular username are getting this error when they try to logon using oracle sql developer
the same users when uses different username(some generic user names created to access database) to access the same database then they are able to login.
similarly if they login using SQL navigator they are able to login with both their own and the generic user name
more over of all the database instances this is only happening on some of the instances and all of them are development instances.
following will help you understand
USER | DBUSERNAME | DATABASE | APPLICATION | ACTION
X | X | DB1 | Oracle Sql Developer | Blocked
X | G(Genric) | DB1 | Oracle Sql Developer | Login Success
X | X | DB1 | Sql Navigator/SqlPLus | Login Success
X | G(Genric) | DB1 | Sql Navigator/SqlPLus | Login Success
X | X | DB2 | Oracle Sql Developer | Login Success
X | G(Genric) | DB2 | Oracle Sql Developer | Login Success
X | X | DB2 | Sql Navigator/SqlPLus | Login Success
X | G(Genric) | DB2 | Sql Navigator/SqlPLus | Login Success
I just want to bypass this check which i think uses V$SESSION and columns PROGRAM and/or MODULE to check the application used by particular user.
if i can override these values some where in oracle sql developer before loging in the DB then i can clearly pass this check and login to database.
Edited by: user13430736 on Jun 21, 2011 4:05 AM
Edited by: user13430736 on Jun 21, 2011 4:12 AM -
SQL Developer not only reading tnsnames.ora
Hello,
I have found a very odd behaviour in SQL Developer 1.2 (running on Windows 2000):
I have set TNS_ADMIN to point to a directory on a network drive residing on a Linux host. In this directory there were many backup files of tnsnames.ora created over time whose names followed the pattern tnsnames.ora.<timestamp> or tnsnames.bak or something similar. In SQL Developer in the "New database connection" dialog many TNS-entries showed up multiple times in the "Network alias" listbox. Only after removing all those backup files from the directory the behaviour of SQL Developer was correct and every entry only showed up once. I also found out that even when I moved the backup files to a new directory "tnsnames.bak" under the directory which TNS_ADMIN points to the entries showed up multiple times. After I renamed this directory to bak.tnsnames the behaviour was again correct. In my opinion SQL Developer should only read the file called tnsnames.ora and ignore all other files or directories with similar names.
Kind regards,
Christof BrekerVarious users reported this before.
Maybe others use multiple files, but at least there should be the option to read just this one.
Regards,
Kristof -
Oracle SQL Developer 1.2 has not Third Party Connection Options?
I downloaded SQL Developer 1.2 and i try to create a sql server connection, but have problems with jdbc drivers. The documentation refer to :
1. In SQL Developer choose Tools -> Preferences...
2. Expand the "Database" option in the left hand tree
3. Click on "Third Party JDBC Drivers"
4. Click on "Add Entry..."
5. Navigate to your third party driver jar file and choose OK
This option is not.
I need help...
Thank you.Only if try to access <PL/SQL Compiler Options> and <PL/SQL Debugger>.
See in the following blocks.
PL/SQL Compiler Options
Error Details
[java.lang.NullPointerException
at oracle.dbtools.raptor.config.PlSqlCompilerOptionsPanel.onEntry(PlSqlCompilerOptionsPanel.java:35)
at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:921)
at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:894)
at oracle.ide.panels.MDDPanel.mav$enterTraversable(MDDPanel.java:104)
at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1343)
at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1211)
at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1205)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:202)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:795)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:580)
at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:47)
at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:265)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:571)
at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)]
PL/SQL Debugger
Error Details
[java.lang.NullPointerException
at oracle.dbtools.raptor.config.PlSqlCompilerOptionsPanel.onExit(PlSqlCompilerOptionsPanel.java:41)
at oracle.ide.panels.MDDPanel.exitTraversable(MDDPanel.java:972)
at oracle.ide.panels.MDDPanel.mav$exitTraversable(MDDPanel.java:104)
at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1267)
at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1211)
at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1205)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:202)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:795)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:580)
at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:47)
at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:265)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:571)
at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)] -
SQL Developer and External Procedures not in tree.
Does sql Dveloper add external procedures to the object browser tree? I have SQL Developer 1.5 and if you have external procedures/functions before your regular PLSQL objects they will not display in the tree. I can make the tree work but the tree still doesn't capture the externals. Am I doing something wrong or should this be a feature request?
VSAMPLE1 shows the problem.
VSAMPLE2 is a try to resolve...
/* the problem.. */
CREATE OR REPLACE package VSAMPLE_1 IS
PROCEDURE foobar(feedname IN VARCHAR2);
END VSAMPLE_1;
CREATE OR REPLACE PACKAGE BODY VSAMPLE_1
IS
* Function Name:- canread
* Description :-This function checks the file will give any error or not while reading
FUNCTION canread (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.canRead (java.lang.String) return int';
* Function Name:- is_exist
* Description :-This function checks the existance of the filein the required folder
FUNCTION is_exist (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.exists (java.lang.String) return int';
* Function Name:- isDirectory
* Description :-This function checks the name provided by the user is a directory or not
FUNCTION isDirectory (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.isDirectory (java.lang.String) return int';
* Function Name:- isFile
* Description :-This function checks the name provided by the user is a file or not
FUNCTION isFile (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.isFile (java.lang.String) return int';
* Function Name:- isExist
* Description :-This function checks the existance of file,correctness of the directory provided by the user.
* @Param file_name :- File Name in directory
* @return retcode :- Error checking while uploading the feed.
FUNCTION isExist(file_name IN VARCHAR2,
is_dir BOOLEAN)
RETURN PLS_INTEGER
IS
retcode PLS_INTEGER := -1;
v_errcode PLS_INTEGER;
v_errtext VARCHAR2(1000);
l_section_name VARCHAR2(32) := 'isExist ' ;
BEGIN
IF VTMLOG.isDebugEnabled THEN
VTMLOG.debug(l_section_name,$$PLSQL_LINE, 'Checking existense of '||file_name);
END IF;
retcode := is_exist(file_name);
IF retcode = 1 THEN
IF is_dir THEN
retcode := isDirectory(file_name);
ELSE
retcode := isFile(file_name);
END IF;
IF retcode = 1 THEN
retcode := canread(file_name);
IF retcode != 1 THEN
VTMLOG.error(l_section_name,$$PLSQL_LINE, ' Can not read ' || file_name);
END IF;
ELSE
VTMLOG.error(l_section_name,$$PLSQL_LINE, ' Unable to check if ' || file_name || ' is directory or file ');
END IF;
ELSE
VTMLOG.error(l_section_name,$$PLSQL_LINE, file_name || ' does not exist ');
END IF;
VTMLOG.debug(l_section_name,$$PLSQL_LINE, 'Leaving ' );
RETURN retcode;
EXCEPTION
WHEN OTHERS THEN
VTMLOG.SHOW_ERROR_MESSAGE(l_section_name,$$PLSQL_LINE);
RAISE;
END isExist;
PROCEDURE foobar(feedname VARCHAR2)
IS
retval PLS_INTEGER;
BEGIN
/* implementation omitted */
retval := isExist('feed.txt',false);
EXCEPTION
WHEN OTHERS THEN
RAISE;
END foobar;
END VSAMPLE_1;
/* This version at least shows the tree. But I can't reach the external by clicking in the navigation tree just the placeholders */
PROCEDURE foobar(feedname IN VARCHAR2);
END VSAMPLE_2;
CREATE OR REPLACE PACKAGE BODY VSAMPLE_2
IS
FUNCTION canread (FILE IN VARCHAR2) RETURN NUMBER;
FUNCTION is_exist (FILE IN VARCHAR2) RETURN NUMBER;
FUNCTION isDirectory (FILE IN VARCHAR2) RETURN NUMBER;
FUNCTION isFile (FILE IN VARCHAR2) RETURN NUMBER;
* Function Name:- isExist
* Description :-This function checks the existance of file,correctness of the directory provided by the user.
* @Param file_name :- File Name in directory
* @return retcode :- Error checking while uploading the feed.
FUNCTION isExist(file_name IN VARCHAR2,
is_dir BOOLEAN)
RETURN PLS_INTEGER
IS
retcode PLS_INTEGER := -1;
v_errcode PLS_INTEGER;
v_errtext VARCHAR2(1000);
l_section_name VARCHAR2(32) := 'isExist ' ;
BEGIN
IF VTMLOG.isDebugEnabled THEN
VTMLOG.debug(l_section_name,$$PLSQL_LINE, 'Checking existense of '||file_name);
END IF;
retcode := is_exist(file_name);
IF retcode = 1 THEN
IF is_dir THEN
retcode := isDirectory(file_name);
ELSE
retcode := isFile(file_name);
END IF;
IF retcode = 1 THEN
retcode := canread(file_name);
IF retcode != 1 THEN
VTMLOG.error(l_section_name,$$PLSQL_LINE, ' Can not read ' || file_name);
END IF;
ELSE
VTMLOG.error(l_section_name,$$PLSQL_LINE, ' Unable to check if ' || file_name || ' is directory or file ');
END IF;
ELSE
VTMLOG.error(l_section_name,$$PLSQL_LINE, file_name || ' does not exist ');
END IF;
VTMLOG.debug(l_section_name,$$PLSQL_LINE, 'Leaving ' );
RETURN retcode;
EXCEPTION
WHEN OTHERS THEN
VTMLOG.SHOW_ERROR_MESSAGE(l_section_name,$$PLSQL_LINE);
RAISE;
END isExist;
PROCEDURE foobar(feedname VARCHAR2)
IS
retval PLS_INTEGER;
BEGIN
/* implementation omitted */
retval := isExist('feed.txt',false);
EXCEPTION
WHEN OTHERS THEN
RAISE;
END foobar;
* Function Name:- canread
* Description :-This function checks the file will give any error or not while reading
FUNCTION canread (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.canRead (java.lang.String) return int';
* Function Name:- is_exist
* Description :-This function checks the existance of the filein the required folder
FUNCTION is_exist (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.exists (java.lang.String) return int';
* Function Name:- isDirectory
* Description :-This function checks the name provided by the user is a directory or not
FUNCTION isDirectory (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.isDirectory (java.lang.String) return int';
* Function Name:- isFile
* Description :-This function checks the name provided by the user is a file or not
FUNCTION isFile (FILE IN VARCHAR2)
RETURN NUMBER AS LANGUAGE JAVA NAME 'com.myCompany.myApp.bulk.FileUtil.isFile (java.lang.String) return int';
END VSAMPLE_2;
/Hi,
I am afraid that according to the error message, it seems that this issue is mainly related to third-party, since issues using oracle database are not supported here, you could consider posting this issue in its website to get supports.
In addition, you could mark any reply as answer if it is helpful.
Thanks for your understanding.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Links for SQL Developer and Data Modeler not working?
Hi folks,
I tried to access the new SQL Developer and Data Modeler links posted in the April 1 message (and on the Oracle site) from a couple of machines with no luck (empty zip files) - is there an update to the links?
Thanks!
TomoIn Firefox zero length zip. In IE loses connection to downloads.oracle.com.
-
JDK with SQL Developer 3.2.20 Not Latest Version 6 Update
SQL Developer Team,
Why doesn't the new version 3.2.20.09 have the latest JDK 6 Update 37. It still has Update 35 which has security vulnerabilities.
Also, the download web page here
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
says it is Update 11 "Windows 32-bit - zip file includes the JDK1.6.0_11"
Bob SWhy doesn't the new version 3.2.20.09 have the latest JDK 6 Update 37Timing. Update 37 was not available until 10/16. Update 35 (08/30) had only recently been included due to Oracle Cloud requirements.
As a convenience, one of the 32-bit Windows downloads includes a JDK. There is no commitment to provide the most recent update.
Regards,
Gary
SQL Developer Team -
SQL Developer 3.2 does not show warnings
In SQL developer 3.2, I am trying to compilie package. After compilation it shows following message in script output
PACKAGE BODY package_name_pkg compiled
Warning: execution completed with warning
Everytime I need to use 'SHOW ERRORS' command to see all above warnings.
Is there any other way to see these warnings without using show errors ?
--SwarupYes, you need to use the Procedure Editor.
http://www.thatjeffsmith.com/archive/2012/01/viewing-plsql-compilation-errors-in-oracle-sql-developer/ -
SQL Developer: "network adapter could not establish the connection"
Can some one help. I dont seem to know wat the problem is.
PL/SQL connection is ok.
I use userneme; scott
password: tiger
but my SQL Developer will not coonect
showing above messageHi;
For your issue i suggest close your thread here as changing thread status to answered and move it to Oracle Discussion Forums » Application Development in PL/SQL » SQL Developer (Not for general SQL/PLSQL questions) which is seeded dedicated forum site.
Regard
Helios -
SQL Developer - Database Export - Constraints not included in DDL
I have used the Database Export function available in the Tools menu but have been unsuccessful in getting the referential integrety and check contraints to export. These are the steps I take:
Environment: Windows XP Professional.
SQL Developer 1.5.1
Tools>Database Export
In Source/Destination I select the filename and the database source and check:
Show Schema
Terminator
Pretty Print
Add Force to Views
Include Grants
In Types to Export I check all except Data.
In Specify Objects I select the Schema I want to export.
None of the foreign_key or check constraints are shown but I select all of the objects.
Export Summary
File:C:\Documents and Settings\richardk.asbury\My Documents\EER\eer3.sql
Connection:ENVD
DDL Options
Show Schema
Terminator
Pretty Print
Add Force to Views
Necessary object dependencies will be included in export.
Tables
A_EMIS_TOXIC_DTL
A_EMIS_TOXIC_HDR
DSK_BLOB
PORTAL_AI_PROFILE
PORTAL_AI_XREF
PORTAL_USER
SUBJECT_ITEM_PARENT
SUBJ_ITEM_ATTRIBUTE
SUBJ_ITEM_COMMENTS
SUBJ_ITEM_QUANTITIES
SUBJ_ITEM_RELATED
Views
ACTIVITY_TASK_LIST_VW
AGENCY_INTEREST_ORG_XREF_VW
AGENCY_INTEREST_VW
A_EMIS_TOXIC_DTL_VW
A_EMIS_TOXIC_HDR_VW
DSK_CENTRAL_VW
MTB_ATTRIBUTE_DESC_VW
MTB_ATTRIB_ATTR_DESC_XREF_VW
MTB_MUNICIPALITY_VW
MTB_PARAMETER_VW
MTB_PERSON_TITLE_VW
MTB_PORTAL_SUBMITTAL_STATUS_VW
MTB_QUANTITY_TYPE_VW
MTB_QUANT_METHOD_VW
MTB_STATE_VW
MTB_SUBJECT_ITEM_ATTRIBUTE_VW
MTB_SUBJECT_ITEM_TYPE_VW
MTB_UNITS_VW
ORGANIZATION_VW
PERSON_VW
PORTAL_AI_PROFILE_VW
PORTAL_AI_XREF_VW
PORTAL_EMAIL_QUEUE_VW
PORTAL_USER_VW
SUBJECT_ITEM_VW
SUBJ_ITEM_COMMENTS_VW
SUBJ_ITEM_GENERAL_VW
SUBJ_ITEM_LOC_LAT_LONG_VW
Indexes
INDX_DSK_BLOB_BLOB_TITLE
PK_A_EMIS_TOXIC_DTL_ID
PK_A_EMIS_TOXIC_HDR_ID
PK_DSK_BLOB
PK_PORTAL_USER_ID
PK_SUBJECT_ITEM_PARENT
PK_SUBJECT_ITEM_RELATED
PK_SUBJ_ITEM_ATTRIB_ID
PK_SUBJ_ITEM_COMMENTS_ID
PK_SUBJ_ITEM_QUANT_ID
SYS_C0017821
Package Spec
MNG_DATA
MNG_USER
Package Body
MNG_DATA
MNG_USER
Procedures
All procedures will be exported.
Functions
All functions will be exported.
Triggers
A_EMIS_TOXIC_DTL_BEFINSUPD
A_EMIS_TOXIC_HDR_BEFINSUPD
PORTAL_AI_PROFILE_BEFINS
PORTAL_AI_XREF_BEFINS
PORTAL_USER_BEFINS
SUBJECT_ITEM_PARENT_BEFINSUPD
SUBJ_ITEM_ATTRIBUTE_BEFINSUPD
SUBJ_ITEM_COMMENTS_BEFINSUPD
SUBJ_ITEM_QUANTITIES_BEFINSUPD
SUBJ_ITEM_RELATED_BEFINSUPD
Types
All types will be exported.
Sequences
A_EMIS_TOXIC_DTL_SEQ
A_EMIS_TOXIC_HDR_SEQ
DSK_BLOB_SEQ
PORTAL_AI_PROFILE_SEQ
PORTAL_AI_XREF_SEQ
PORTAL_USER_SEQ
SUBJECT_ITEM_PARENT_SEQ
SUBJ_ITEM_ATTRIBUTE_SEQ
SUBJ_ITEM_COMMENTS_SEQ
SUBJ_ITEM_QUANTITIES_SEQ
SUBJ_ITEM_RELATED_SEQ
Materialized Views
All materialized views will be exported.
Materialized View Logs
All materialized view logs will be exported.
Synonymns
All synonyms will be exported.
Queues
All queues will be exported.
Queue Tables
All queue tables will be exported.
Database Links
All data base links will be exported.
There are numerous Check and Foreign_key constraints missing in created DDL.
Im I missing a step?
rasberryActually all tables were included and the Automatically Include Dependent Objects option was checked.
For an example, the first table exported A_EMIS_TOXIC_DTL had the following constraints:
FK_A_EMIS_TOXIC_DTL2HDR Foreign_Key
NN_A_EMIS_TOXIC_DTL_ID Check
PK_A_EMIS_TOXIC_DTL_ID Primary_Key
The primary key constraint was included in the DDL but none of the others. -
Sql developer error -No more data to read from socket
Hi
I have installed SQL Developer 10.5.5 on my mac os x.5
and oracle data base is 10.2
when i am making a new connection from sql developer i am getting this error
NO MORE DATA TO READ FROM SCOKET
I tried searching blogs but no luck yet.
can any one help me....
Thanks a lot!That's typically an error on the database side. When I see it it I know the database is down and once I bring it up, then all is good again. Once the database is up and running, you then start SQL Developer and create a new connection? What type of connection are you creating?
Sue -
Hi, I upgraded SQL developer yesterday to the latest version. Now I don't see anything any more in the datagrid, columns, constraints, etc ...
Connection is OK, in the explorer (to the left) I see tables and columns, in the datagrid (table properties) I don't see anything.
Here is the contents of the about box
Many thanks
About
Oracle SQL Developer 2.1.1.64
Version 2.1.1.64
Build MAIN-64.45
Copyright © 2005,2009 Oracle. All Rights Reserved.
IDE Version: 11.1.1.2.36.55.30
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.64.45
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_20
Oracle IDE 2.1.1.64.45
Versioning Support 2.1.1.64.45
Properties
Name Value
==== =====
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 8627304444140
ide.build MAIN-64.45
ide.conf C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.launcherProcessId 5928
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\johkene\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\johkene\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\sqldeveloper
ide.user.dir C:\Users\johkene\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Users\johkene\Documents\SQL Developer
ide.work.dir.base C:\Users\johkene\Documents
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Program Files\Java\jdk1.6.0_20\jre\lib\endorsed
java.ext.dirs C:\Program Files\Java\jdk1.6.0_20\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\Program Files\Java\jdk1.6.0_20\jre
java.io.tmpdir C:\Users\johkene\AppData\Local\Temp\
java.library.path C:\sqldeveloper;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files\Gemplus\GemSafe Libraries\BIN;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Sybase\DLL;C:\Sybase\BIN;C:\Program Files\Sybase\Shared\PowerBuilder\;C:\Program Files\Java\jdk1.6.0_12\bin;C:\apache-maven-2.0.10\bin;C:\Program Files\Liquid Technologies\Liquid XML Studio 2009\XmlDataBinder7\Redist7\cpp\win32\bin;C:\PROGRA~1\ATT\Graphviz\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Belgium Identity Card;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Research In Motion\BlackBerry Theme Studio 5.0\bin;C:\Program Files\CVSNT\
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_20-b02
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_20
java.vm.info mixed mode, sharing
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 16.3-b01
jdbc.library /C:/sqldeveloper/jdbc/lib/ojdbc5.jar
line.separator \r\n
oracle.home C:\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.Trace true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/sqldeveloper/jlib/orai18n.jar
os.arch x86
os.name Windows Vista
os.version 6.0
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sqldev.debug false
sun.arch.data.model 32
sun.boot.class.path C:\Program Files\Java\jdk1.6.0_20\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_20\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_20\jre\classes
sun.boot.library.path C:\Program Files\Java\jdk1.6.0_20\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 2
svnkit.sax.useDefault true
user.country BE
user.dir C:\sqldeveloper\sqldeveloper\bin
user.home C:\Users\johkene
user.language nl
user.name JOHKENE
user.timezone Europe/Paris
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.2.36.55.30 Loaded
Code Editor oracle.ide.ceditor 11.1.1.2.36.55.30 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.2.36.55.30 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.2.36.55.30 Loaded
Database UI oracle.ide.db 11.1.1.2.36.55.30 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.2.36.55.30 Loaded
Extended IDE Platform oracle.javacore 11.1.1.2.36.55.30 Loaded
External Tools oracle.ide.externaltools 11.1.1.2.36.55.30 Loaded
File Support oracle.ide.files 11.1.1.2.36.55.30 Loaded
File System Navigator oracle.sqldeveloper.filenavigator 11.1.1.64.45 Loaded
Help System oracle.ide.help 11.1.1.2.36.55.30 Loaded
History Support oracle.jdeveloper.history 11.1.1.2.36.55.30 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.2.36.55.30 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.2.36.55.30 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.2.36.55.30 Loaded
Log Window oracle.ide.log 11.1.1.2.36.55.30 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.2.36.55.30 Loaded
Navigator oracle.ide.navigator 11.1.1.2.36.55.30 Loaded
Object Gallery oracle.ide.gallery 11.1.1.2.36.55.30 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.64.45 Loaded
Oracle Data Modeler Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.64.45 Loaded
Oracle Database Browser oracle.sqldeveloper.thirdparty.browsers 11.1.1.64.45 Loaded
Oracle IDE oracle.ide 11.1.1.2.36.55.30 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.64.45 Loaded
Oracle SQL Developer Data Modeler Viewer oracle.datamodeler 2.0.0.584 Loaded
Oracle SQL Developer Extras oracle.sqldeveloper.extras 1.1.1.64.45 Loaded
Oracle SQL Developer Migrations oracle.sqldeveloper.migration 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Antlr3 Translation Core oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - DB2 oracle.sqldeveloper.migration.db2 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - MySQL oracle.sqldeveloper.migration.mysql 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - SQLServer oracle.sqldeveloper.migration.sqlserver 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Sybase oracle.sqldeveloper.migration.sybase 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Teradata oracle.sqldeveloper.migration.teradata 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Translation Core oracle.sqldeveloper.migration.translation.core 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Translation Db2 oracle.sqldeveloper.migration.translation.db2 11.1.1.64.45 Loaded
Oracle SQL Developer Migrations - Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.64.45 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.64.45 Loaded
Oracle SQL Developer SearchBar oracle.sqldeveloper.searchbar 11.1.1.64.45 Loaded
Oracle SQL Developer TimesTen oracle.sqldeveloper.timesten 2.0.0.64.45 Loaded
Oracle SQL Developer Unit Test oracle.sqldeveloper.unit_test 11.1.1.64.45 Loaded
Oracle SQL Developer Worksheet oracle.sqldeveloper.worksheet 11.1.1.64.45 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.64.45 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.2.36.55.30 Loaded
Peek oracle.ide.peek 11.1.1.2.36.55.30 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.2.36.55.30 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.2.36.55.30 Loaded
Replace With oracle.ide.replace 11.1.1.2.36.55.30 Loaded
Runner oracle.ide.runner 11.1.1.2.36.55.30 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.64.45 Loaded
Sql Monitoring Project oracle.sqldeveloper.sqlmonitor 11.1.1.64.45 Loaded
Tuning oracle.sqldeveloper.tuning 11.1.1.64.45 Loaded
User Extensions Support oracle.sqldeveloper.userextensions 11.1.1.64.45 Loaded
VHV oracle.ide.vhv 11.1.1.2.36.55.30 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.2.36.55.30 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.2.36.55.30 Loaded
Virtual File System oracle.ide.vfs 11.1.1.2.36.55.30 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.2.36.55.30 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.2.36.55.30 LoadedYes this was clean directory (I reinstalled twice already). I'm using Oracle Database 10g express edition and also Oracle 10g Standard Edition (same problem for both databases).
In the messages log I get:
oracle.dbtools.raptor.oviewer.table.GridDataEditor java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
... and then each time I switch table:
oracle.ide.model.IdeSubject Exception while updating observer[8]: Editor5 -
SQL Developer tool sometimes does not display data with date type
run the following query using the sql developer tool -
select effective_date from table1 where id = 123;
(the effective_date is stored in the database as date.)
one record is returned with no date in the filed.
However, if I change the query to
select to_char(effective_date, 'mm/dd/yyyy') from table1 where id = 123;
one record is returned with effective date.
Why?
Thanks for your help.First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
Justin
Maybe you are looking for
-
Hi, I've been upgrading a B&W G3 from 10.3.9 to 10.4.x and after installing from a 10.4 retail disc I used the software updater to download and install 10.4.11. This worked fine, no errors. But, both Software Update and Safari will not load at all,
-
Step for Adding new condition in Pricing procedure
Hi, We have different pricing procedure with different condition , in this procerdure i want to add one new condition at 2 position and the requirement is that if system found the value with this condition it should skip the 3 step and directly
-
Inspection Lot release manual.
Hi Gurus, Can anyone tell me, <b>how to release inspection lot manually</b> as in actual its getting released automatically as i want to release the same at user level decision & can it be possible at material type level. means for raw material it sh
-
Illustrator CS6, fenêtre de sauvegarde se referme sans que j'aie pu cliquer sur «sauvegarder»
Dans Illustrator CS6, sur OS 10.9, quand je veux sauvegarder un document, la fenêtre de sauvegarde se referme avant que j'aie pu écrire le nom du document ou choisir le format de sauvegarde, avant même que j'appuie sur « sauvegarder ». Pouvez-vous m'
-
My Mac Pro is having a hard time reading DVD-R discs. Has anyone else had a problem reading DVD-R discs? I'm using Verbatim brand 16x Certified discs, so it's not like I using cheap discs. What's odd is that I can view them fine on my Powerbook G4 bu