SQL Developer & Unicode Chars
Running SQL Developer on Windows XP.
Tool looks good, just one thing, we have Japanese/Korean text (not much at the moment) in our Oracle 9i/Oracle 10g (AL32UTF8)
When I run the query in the sql editor, the chars appear as small rectangles.
Exporting this as XML and loading into an XML viewer (like IE), all the chars appear fine.
When I copy the text from the data results grid and paste into the sql editor window (after tweaking the prefs), the chars appear fine.
so I am wondering ... how can I get the text in the data grid to show the Japanese text ?
Is there a setting I have missed ? or would this be an enhancement ?
We will be storing more and more international chars and having a tool capable of viewing it would be something we have not found in other tools we have trialed.
In the Prefs -> Environment, ... set encoding to UTF-8
In the Prefs -> Code Editor -> Fonts ... set to "Arial Unicode MS"
Method 1 :
Open a SQL Worksheet
Tap in the sql, when executing the sql with the <F9> key, japanese text is displayed as small rectangles.
When I cut-and-paste the text into the window where the SQL Statement is typed in, I can see the Japanese chars.
Method 2 :
On the connections panel, goto "Other Users", navigate to the table that contains the unicode chars.
Double click on tablename in the left panel, this brings up a "toad like" display, the second tab is the "Data" tab,
and the unicode data is displayed as miniature rectangles.
I am unable to find a setting (in the Prefs) to set the font for the grid the data is displayed in
Similar Messages
-
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 -
Inserting and retrieving data from a al32UTF8 database USING SQL Developer
hi guys,
Before i post my questions , i think its better for me to provide you guys with my understandings first so that it easier to understand where/if i have gone wrong..
I am using Window XP and Oracle 10g
Non-unicode client - a client program that need to use the OS code page for mapping of the retrieved unicode data from the database as well as the support of displaying/inserting the characters from that code page to the database.
E.G sqlplusw.exe
Therefore, when using a non-unicode client
1) we have to set the OS code page (Control panel - regional and language setting - advance - language for non unicode program ) to the code page that contain the characters we are going to display/insert.
2) we will also have to set the NLS_LANG characterset to the character set of the code page we are going to insert so that when we do a insert (for e.g in thai ) , oracle will know, and auto conversion to UNICODE can take place. This is also true when we retrieve unicode data from the database so that conversion to the correct character set can take place.
INSERTING
THAI ---> conversion ----> UNICODE
RETRIEVING
THAI <---- conversion <---- UNICODE
I hope my basic understanding is correct up till this point.
Unicode client - a client program that supports the displaying/inserting of unicode characters without the need of setting the OS code page (Control panel - regional and language setting - advance - language for non unicode program )
E.G isqlplus http or SQL developer
However,
1) There is still a need to set the NLS_LANG so that correct conversion can take place between the client and the database.
For e.g, when retrieving if we set the NLS_LANG character set to ZHS16GBK (chinese) and the data store in unicode in database is E.G (THAI) , then the conversion would be wrong .
Since it is a unicode supported client, then the NLS_LANG character set should be set to UNICODE as well.
Here come my questions
*Important - please help if you are busy and have no other time to answer the rest of the questions
*Q1) If i were to use a unicode client, what should i set my NLS_LANG character set to ?
AMERICAN_AMERICA.UTF8 ?
*Q2) Where do i set the NLS_LANG character set information in SQL Developer, i know there is a metalink for setting NLS_LANG using isqlplus but i cant seems to google any result for SQL developer.
Q3) Is my basic understanding right until this point ? If not, please explain in a more generalised term as i am really not familiar with character sets, code page, unicode , glyphs and fonts..
Q4) If a unicode client does not need to refer to the OS code page (set in regional and language) , is there a UNICODE code page for the client to refer to , or is there any Window API available ?
Q5)
There is still a need to set the NLS_LANG so that correct conversion can take place between the client and the >>database.
For e.g, when retrieving if we set the NLS_LANG character set to ZHS16GBK (chinese) and the data store in >>unicode in database is E.G (THAI) , then the conversion would be wrong .am i right on this point for UNICODE supported client ?
Thanks for spending time to read my questions and i hope to hear advices from you guys soon.
Million thanks again for sharing.
Best Regards,
Noob but willing to learnThe requirement to always set NLS_LANG is not true for JDBC, which ignores NLS_LANG altogether. Java programs fetch text data into String variables, which use Unicode UTF-16 by design. JDBC sets character set conversion so that data is converted between UTF-16 and the database or national character set.
The requirement to set NLS_LANG is not generally true for OCI, either. The first call in an OCI problem can be OCIEnvNlsCreate(). This call has two parameters that allow the caller to define the character set to use for VARCHAR2/CHAR/LONG/CLOB/statement text and the character set to use for NVARCHAR2/NCHAR/NCLOB. Only if these character sets are specified as 0, NLS_LANG character set is used. Also, OCI programs can specify different character sets for each bind or define variable (i.e. input/output buffer). Note: OCI programs always use NLS_LANG to initialize the language and territory settings for the client program and the database session. Only the character set can be specified is OCIEnvNlsCreate().
OCIEnvNlsCreate() can specify the client character set as UTF-16 (in platform endianess). This is not possible with NLS_LANG.
Various interfaces building on OCI, such as Oracle ODBC and ODP .NET, explicitly initialize OCI with Unicode character set, and thus ignore the NLS_LANG character set as well.
Thnx,
Sergiusz -
SQL Developer, UTF8 Oracle DB, extended ascii characters appear as blocks
I have this value stored on the database:
(Gestion Económica o Facturaci
Notice the second word has an extended ascii character in it. When I use SQL Developer on my windows machine to view the data, I get a box in place of the o, kinda like this:
(Gestion Econ�mica o Facturaci
If I log on to the AIX server where the oracle database in question is and run sqlplus from there, I see things properly. I also managed to regedit oracle home to get sql plus on my windows machine to display this properly. I still cannot get sql developer to work though...
Details about sql developer:
font: arial Unicode MS
environment encoding: UTF-8
NLS Lang: American
NLS Territory: America
windows regional options:
English (United States)
Location: United States
Database NLS settings:
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT mm/dd/yyyy hh24:mi:ss
NLS_DATE_LANGUAGE AMERICAN
NLS_CHARACTERSET UTF8
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
Any ideas on how I can fix this. I'd rather NOT log onto the server to run queries.... thanks in advance for your thoughts!
Edited by: user10939448 on Jan 31, 2012 1:51 PMuser10939448 wrote:
This problem is quite strange in that when I've been able to manually set American_america.utf8, things work.Sorry to say, but it seems you may have an incorrect setup.
In general, you should set char set part of NLS_LANG to let Oracle know the code page used by the client. With win-1252, NLS_LANG should include .WE8MSWIN1252.
The display from sqlplus was "lying", due to incorrectly stored data coupled by incorrect nls_lang setting (char set part). The pass-through or gigo scenario can be dangerous this way. Search the Globalization forum for the term 'pass-through' for previous discussions on the theme.
The setting on AIX servers may be incorrect as well, but it depends how you use it (e.g. for database export or data load with utf-8 encoded files it may be correct).
The output of the query you recommended looks odd to me:
(Gestion Econ�mica o Facturaci Typ=1 Len=30 CharacterSet=UTF8:
28,47,65,73,74,69,6f,6e,20,45,63,6f,6e,f3,6d,69,63,61,20,6f,20,46,61,63,74,75,72,61,63,69;This is the telling part. The 0xF3 is not legal in UTF8. Actually, the code units for ó, U+00F3 Latin small letter o with acute, are C3 B3. So instead of f3 you should have expected c3,b3 from the dump output.
>
So it looks like what's under the covers is correct, but I'm still not seeing the correct character in sql developer.The opposite is true. Data is incorrectly stored and SQL Developer is correctly showing you this. Sqlplus is not the best tool in Unicode environments, SQL Developer is better.
>
ACP according to my windows registry is 1252. OEMCP is 437Also, if you use database clients in console mode (such as sqlplus), NLS_LANG should include .US8PC437 to properly indicate that code page in use is 437. -
Top 10 Obstacles to Sql Developer Becoming a World-class Tool
I've been working with Sql Developer day and night for the last 6 months.
On a positive note, the SqlDeveloper team has been the most responsive Oracle product team I've worked with in the 19 years I've been working with Oracle tools. They pay attention to their customers. It's noticed and much appreciated!
I thought I would share the biggest problems that I face with the tool on a daily basis, the kind of problems that make me want to work with a different tool each and every day.
My intent isn't to gripe, it's to focus attention on the biggest productivity drains I face using the tool. Others may have a different list, based on their needs. Without further ado, here is my top 10 problems list:
1) Quality Control.
I cannot count on critical portions of the tool working correctly. This includes an oracle database development tool that is incapable of extracting oracle ddl correctly and which is incapable of correctly displaying information about SQL Server data and database objects. It also includes destroying connection files and losing keyboard settings. When the product was installed, it was incapable of properly displaying code in a worksheet when I scrolled thru the code. The details are listed in other postings of mine.
2) Quality Control.
See #1.
3) Quality Control.
See #1.
4) Very badly done threading.
The tool locks up on a constant basis when it does a many tasks. Rather than let me work on some other task, I have to wait for it to complete. My current work-around is to have two or three sql developer windows open. That sucks life out of my RAM supply, but at least I can get some work done. And, of course, it will often completely lock up and never return, which means I lose all unsaved worksheets. This forum is full of postings about these issues.
5) Memory Leaks / Internal memory corruption.
If I've had the tool open for a few days, or really worked it hard for a day, I will get bizarre compilation errors that make no sense. If I exit the tool, re-enter the tool, and compile the exact same code all will be well.
6) Awkward and slow data entry interface for frequently performed tasks.
Example: I create a new table and want to start defining columns for it. I remove my hands from the keyboard to press the + button, then I have to set focus on the column name field (it should do that for me!). Now that my hands are back on the keyboard, I have to backspace the dummy "column name" value in the column name field (it should ditch that dummy value for me). Only after all that can I actually enter a column name. When I want to add a new column, it's back to the mouse again, for the same drill. The down arrow key should take me to a new column record, as should pressing return at the end of the last field in the column row.
7) Destroys code
Changing a column datatype from varchar2 to nvarchar2 destroys the length of the column. Changing a field on a view destroys the instead of triggers. This is bad. There is no warning that this this is about to happen, which would at least give us a chance to avoid the problem. Better still, of course, would be not destroying that data.
8) Inaccurate checking for record locking.
When I try to edit records in a data grid for a table, I often get an error message telling me the data was modified in another session. It is simply not true. A hand-written update statement in a sql worksheet will work just fine. I've seen posts in the forum discussing this issue. An Oracle database development tool unable to reliably update oracle data tables is embarrassing. See Obstacle #1.
9) Unicode support
Sql Developer is heads above all the other tools I've tried out on this topic.
However, the configuration of the tool to provide unicode support needs to be simplified.
The tool needs to recognize the encoding of the files that are being opened up. On Windows Vista, Notepad seems to infallibly pick the right encoding for the file when I open it. Sql Developer should do the same. Files have specific encodings, the tool should have a default encoding (that I can override). Right now, the tool has a specific encoding and expects all files to match it. Extracting ddl to a worksheet does not respect the encoding choices of the tool, either. It only works with a limited set of tool encoding choices.
10) Resources
Does the sql developer team have the resources they need to compete with vendors like Microsoft? One really big reason for picking sqlserver over oracle is the ease of use of the Microsoft front-end tools. It's not until later that they may realize that Oracle has more capability, but that's still a lost sale.We are acutely aware of quality and with each release work at improving this. Providing a polished, professional and ultimately user friendly and useful tool is our constant goal.
The broader our customer base grows, the more demands we have. This is a good and exciting position to be in, although it might mean that we need to slow down on our release cycles.
Release 2.0 should address more of the threading and memory leaks displayed as the team have rewritten some of the sections. As for resources, it's true we're a small team and we get on with the work that we do.It might be a little slower than some would like, but I'm not convinced that having large team is necessarily always the answer.
As ever, some of the points mentioned could be added to the Exchange. We'll be reviewing and updating the Exchange again in the New Year.
I think there is another point to add to your list. A lot of what the tool is and will become is from a positive customer interaction we have had to date. While we continue to grow this, I think the product will grow and improve. The forum and all the positive interactions that happen here are key to taking the product forward.
Regards
Sue -
Explain plan results are different in SQL Developer than SQL Plus
My Environment:
SQL Developer 1.0.0.15.27
Platform where SQL Developer is running: Windows XP 2002 SP2
Oracle Database and Client 9.2.0.7
Optimizer_mode: FIRST_ROWS
I have the following SQL statement:
SELECT a1.comp_id
FROM temp_au_company a0, au_company a1
WHERE :b2 = a0.temp_emp_code
AND a0.comp_id = a1.comp_id
AND a0.sls_terr_code != a1.sls_terr_code
AND a1.last_mdfy_date > :b1
When I run an Explain in SQL Developer I get the following access path (which is the one I really want):
SELECT STATEMENT TABLE ACCESS(BY INDEX ROWID) FEDLINK.AU_COMPANY NESTED LOOPS INDEX(RANGE SCAN)
FEDLINK.UX2_TEMP_AU_COMPANY
INDEX(RANGE SCAN) FEDLINK.PX1_COMPANY
However, when I execute the statement with sql_trace turned on and use tkprof to generate the actual access path, the statement executes as follows (which is WAY more expensive):
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 3.58 6.68 28136 29232 0 0
total 3 3.58 6.69 28136 29232 0 0
Misses in library cache during parse: 1
Optimizer goal: FIRST_ROWS
Parsing user id: 979 (FEDLINK) (recursive depth: 1)
Rows Row Source Operation
0 NESTED LOOPS
0 TABLE ACCESS FULL AU_COMPANY
0 INDEX RANGE SCAN UX2_TEMP_AU_COMPANY (object id 49783)
Notice the FULL access of au_company.
I understand that SQL Developer has nothing to do with why the statement executed the way it did, but why is the Explain in SQL Developer different than the actual execution plan?
Added note....when I run the explain in SQL Plus it is the same as the actual execution. Here is the explain from SQL Plus:
explain plan for SELECT a1.comp_id
FROM temp_au_company a0, au_company a1
WHERE '1' = a0.temp_emp_code
AND a0.comp_id = a1.comp_id
AND a0.sls_terr_code != a1.sls_terr_code
AND a1.last_mdfy_date > '01-MAY-2006';
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes | Cost |
| 0 | SELECT STATEMENT | | 2 | 76 | 2597 |
| 1 | NESTED LOOPS | | 2 | 76 | 2597 |
| 2 | TABLE ACCESS FULL | AU_COMPANY | 2 | 42 | 2595 |
| 3 | INDEX RANGE SCAN | UX2_TEMP_AU_COMPANY | 1 | 17 | 2
Thanks,
BrendaThe explain is different (full scan of au_company in SQL Plus / index access in SQL Developer) even when I use variables in SQL Plus. Here is the output for SQL Plus using variables instead of literals:
SQL> variable b1 varchar2
SQL> variable b2 char
SQL> explain plan for SELECT a1.comp_id
2 FROM temp_au_company a0, au_company a1
3 WHERE :b2 = a0.temp_emp_code
4 AND a0.comp_id = a1.comp_id
5 AND a0.sls_terr_code != a1.sls_terr_code
6 AND a1.last_mdfy_date > :b1
7 /
Explained.
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes | Cost |
| 0 | SELECT STATEMENT | | 3184 | 118K| 2995 |
| 1 | HASH JOIN | | 3184 | 118K| 2995 |
| 2 | INDEX RANGE SCAN | UX2_TEMP_AU_COMPANY | 3187 | 54179 | 3 |
| 3 | TABLE ACCESS FULL | AU_COMPANY | 24009 | 492K| 2983 |
Any other ideas? They should be the same.
Brenda -
GeoRaptor 3.0 for SQL Developer 3.0 and 2.1 has now been released
Folks,
I am pleased to announce that, after 5 months of development and testing, a new release of GeoRaptor for SQL Developer 2.1 and 3.0 is now available.
GeoRaptor for SQL Developer 3 is available via the SQL Developer Update centre. GeoRaptor 3 for SQL Developer 2.1 is being made available
via a download fro the GeoRaptor website.
No release notes have been compiled as the principal developer (oops, that's me!) is currently busy doing real work for a change (another 3 weeks), earning a living
and keeping the wolves at bay. More extensive notes (with images) will be compiled when I get back. (Unless anyone is offering! See next.)
We are still looking for people to:
1. Provide translations of the English dialog menus etc.
2. Write more extensive user documentation. If you use a particular part of GeoRaptor a lot and think
you have found out all its functionality and quirks, contact us and offer to write a few pages of
documentation on it. (Open Office or Microsoft Word is fine.) Easiest way to do this is to simply
make screen captures and annotate with text.
3. Conduct beta testing.
Here are the things that are in the new release.
New functionality:
Overhaul of Validation Functionality.
1. User can specify own validation SELECT SQL as long as it returns three required columns. The SQL is thus totally editable.
2. Validation update code now allows user to associate a PL/SQL function with an error number which is applied in the UPDATE SQL.
3. UPDATE SQL can use WHERE clause of validation SELECT SQL (1) to update specific errors.
NOTE: The generated UPDATE statement can be manually edited. It is NEVER run by GeoRaptor. To run any UPDATE, copy the statement
to the clipboard and run in an appropriate SQL Worksheet session within SQL Developer.
4. Main validation table allows:
a. Sorting (click on column header) and
b. Filtering.
c. Copying to Clipboard via right mouse click sub menu of:
- Geometry's SDO_ELEM_INFO array constructor.
- SDO_GEOMETRY constructor
- Error + validation string.
d. Access to Draw/Zoom functions which were previously buttons.
e. Added a new right mouse click menu "Show Feature's Individual Errors" that gathers up all the errors
it can process - along with the ring / element that is host to the error (if it can) - and displays
them in the Attribute/Geometry tabs at the bottom of the Map Window (where "Identify" places its results).
The power of this will be evident to all those who have wanted a way of stepping through errors in a geometry.
f. Selected rows can now be deleted (select rows: press <DELETE> key or right mouse click>Delete).
g. Table now has only one primary key column, and has a separate error column holding the actual error code.
h. Right mouse click men added to table menu to display description of error in the new column (drawn from Oracle documentation)
i. Optimisations added to improve performance for large error lists.
5. Functionality now has its own validation layer that is automatically added to the correct view.
Access to layer properties via button on validation dialog or via normal right mouse click in view/layer tree.
Improved Rendering Options.
1. Linestring colour can now be random or drawn from column in database (as per Fill and Point colouring)
2. Marking of SDO_GEOMETRY objects overhauled.
- Ability to mark or LABEL vertices/points of all SDO_GEOMETRY types with coordinate identifier and
option {X,Y} location. Access is via Labelling tab in layer>properties. Thus, coordinate 25 of a linestring
could be shown as: <25> or {x,y} or <25> {x,y}
- There is a nice "stacked" option where the coordinate {x,y} can be written one line below the id.
- For linestrings and polygons the <id> {x,y} label can be oriented to the angle between the vectors or
edges that come in, and go out of, a vertex. Access is via "Orient" tick box in Labelling tab.
- Uses Tools>Preferences>GeoRaptor>Visualisation>SDO_ORDINATE_ARRAY bracket around x,y string.
3. Start point of linestring/polygon and all other vertices can be marked with user selectable point marker
rather than previously fixed markers.
4. Can now set a NULL point marker by selecting "None" for point marker style pulldown menu.
5. Positioning of the arrow for linestring/polygons has extra options:
* NONE
* START - All segments of a line have the arrow positioned at the start
* MIDDLE - All segments of a line have the arrow positioning in the middle.
* END - All segments of a line have the arrow positioning in the END.
* END_ONLY - Only the last segment has an arrow and at its end.
ScaleBar.
1. A new graphic ScaleBar option has been added for the map of each view.
For geographic/geodetic SRIDs distances are currently shown in meters;
For all SRIDs an attempt is made to "adapt" the scaleBar units depending
on the zoom level. So, if you zoom right in you might get the distance shown
as mm, and as you zoom out, cm/m/km as appropriate.
2. As the scaleBar is drawn, a 1:<DEMONINATOR> style MapScale value is written
to the map's right most status bar element.
3. ScaleBar and MapScale can be turned off/on in View>Properties right mouse
click menu.
Export Capabilities.
1. The ability to export a selection from a result set table (ie result of
executing ad-hoc SQL SELECT statement to GML, KML, SHP/TAB (TAB file
adds TAB file "wrapper" over SHP) has been added.
2. Ability to export table/view/materialised view to GML, KML, SHP/TAB also
added. If no attributes are selected when exporting to a SHP/TAB file, GeoRaptor
automatically adds a field that holds a unique row number.
3. When exporting to KML:
* one can optionally export attributes.
* Web sensitive characters < > & etc for KML export are replaced with > < & etc.
* If a column in the SELECTION or table/view/Mview equals "name" then its value is
written to the KML tag <name> and not to the list of associated attributes.
- Similarly for "description" -> <description> AND "styleUrl" -> <styleUrl>
4. When exporting to GML one can optionally export attributes in FME or OGR "flavour".
5. Exporting Measured SDO_GEOMETRY objects to SHP not supported until missing functionality
in GeoTools is corrected (working with GeoTools community to fix).
6. Writing PRJ and MapInfo CoordSys is done by pasting a string into appropriate export dialog box.
Last value pasted is remembered between sessions which is useful for users who work with a single SRID.
7. Export directory is remembered between sessions in case a user uses a standard export directory.
8. Result sets containing MDSYS.SDO_POINT and/or MDSYS.VERTEX_TYPE can also be written to GML/KML/SHP/TAB.
Example:
SELECT a.geom.sdo_point as point
FROM (SELECT sdo_geometry(2002,null,sdo_point_type(1,2,null),sdo_elem_info_array(1,2,1),sdo_ordinate_array(1,1,2,2)) as geom
FROM DUAL) a;
SELECT mdsys.vertex_type(a.x,a.y,a.z,a.w,a.v5,a.v6,a.v7,a.v8,a.v9,a.v10,a.v11,a.id) as vertex
FROM TABLE(mdsys.sdo_util.getVertices(mdsys.sdo_geometry(2002,null,null,sdo_elem_info_array(1,2,1),sdo_ordinate_array(1,1,2,2)))) a;
9. A dialog appears at the end of each export which details (eg total) what was exported when the exported recordset/table contains more
than on shape type. For example, if you export only points eg 2001/3001 from a table that also contains multipoints eg 2005/3005 then
the number of points exported, and multipoints skipped will be displayed.
10. SHP/TAB export is "transactional". If you set the commit interval to 100 then only 100 records are held in memory before writing.
However, this does not currently apply to the associated DBASE records.
11. SHP/TAB export supports dBase III, dBase III + Memo, dBase IV and dBase IV + Memo.
Note: Memo allows text columns > 255 characters to be exported. Non-Memo formats do not and any varchar2 columns will be truncated
to 255 chars. Some GIS packages support MEMO eg Manifold GIS, some do not.
12. Note. GeoRaptor does not ensure that the SRID of SDO_GEOMETRY data exported to KML is in the correct Google Projection.
Please read the Oracle documentation on how to project your data is this is necessary. An example is:
SELECT OBJECTID,
CODIGO as name,
NOME as description,
MI_STYLE,
SDO_CS.TRANSFORM(shape,'USE_SPHERICAL',4055) as shape
FROM MUB.REGIONAL;
13. NOTE: The SHP exporter uses the Java Topology Suite (JTS) to convert from SDO_GEOMETRY to the ESRI Shape format. JTS does not handle
circular curves in SDO_GEOMETRY objects you must "stroke" them using sdo_util.arc_densify(). See the Oracle documentation on how
to use this.
Miscellaneous.
1. Selection View - Measurement has been modified so that the final result only shows those geometry
types that were actually measured.
2. In Layer Properties the Miscellaneous tab has been removed because the only elements in it were the
Geometry Output options which have now been replaced by the new GML/KML/etc export capabilities.
3. Shapefile import's user entered tablename now checked for Oracle naming convention compliance.
4. Identify based on SDO_NN has been removed from GeoRaptor given the myriad problems that it seems to create across versions
and partitioned/non-partitioned tables. Instead SDO_WITHIN_DISTANCE is now used with the actual search distance (see circle
in map display): everything within that distance is returned.
5. Displaying/Not displaying embedded sdo_point in line/polygon (Jamie Keene), is now controlled by
a preference.
6. New View Menu options to switch all layers on/off
7. Tools/Preferences/GeoRaptor layout has been improved.
8. If Identify is called on a geometry a new right mouse click menu entry has been added called "Mark" which
has two sub-menus called ID and ID(X,Y) that will add the labeling to the selected geometry independently of
what the layer is set to being.
9. Two new methods for rendering an SDO_GEOMETRY object in a table or SQL recordset have been added: a) Show geometry as ICON
and b) Show geometry as THUMBNAIL. When the latter is chosen, the actual geometry is shown in an image _inside_ the row/column cell it occupies.
In addition, the existing textual methods for visualisation: WKT, KML, GML etc have been collected together with ICON and THUMBNAIL in a new
right mouse click menu.
10. Tables/Views/MViews without spatial indexes can now be added to a Spatial View. To stop large tables from killing rendering, a new preference
has been added "Table Count Limit" (default 1,000) which controls how many geometry records can be displayed. A table without a spatial
index will have its layer name rendered in Italics and will write a warning message in red to the status bar for each redraw. Adding an index
which the layer exists will be recognised by GeoRaptor during drawing and switch the layer across to normal rendering.
Some Bug Fixes.
* Error in manage metadata related to getting metadata across all schemas
* Bug with no display of rowid in Identify results fixed;
* Some fixes relating to where clause application in geometry validation.
* Fixes bug with scrollbars on view/layer tree not working.
* Problem with the spatial networks fixed. Actions for spatial networks can now only be done in the
schema of the current user, as it could happen that a user opens the tree for another schema that
has the same network as in the user's schema. Dropping a drops only the network of the current connected user.
* Recordset "find sdo_geometry cell" code has been modified so that it now appears only if a suitable geometry object is
in a recordset. Please note that there is a bug in SQL Developer (2.1 and 3.0) that causes SQL Developer to not
register a change in selection from a single cell to a whole row when one left clicks at the left-most "row number"
column that is not part of the SELECT statements user columns, as a short cut to selecting a whole row. It appears
that this is a SQL Developer bug so nothing can be done about it until it is fixed. To select a whole row, select all
cells in the row.
* Copy to clipboard of SDO_GEOMETRY with M and Z values forgot has extraneous "," at the end.
* Column based colouring of markers fixed
* Bunch of performance improvements.
* Plus (happily) others that I can't remember!If you find any bugs register a bug report at our website.
If you want to help with testing, contact us at our website.
My thanks for help in this release to:
1. John O'Toole
2. Holger Labe
3. Sandro Costa
4. Marco Giana
5. Luc van Linden
6. Pieter Minnaar
7. Warwick Wilson
8. Jody Garnett (GeoTools bug issues)
Finally, when at the Washington User Conference I explained the willingness of the GeoRaptor Team to work
for some sort of integration of our "product" with the new Spatial extension that has just been released in SQL
Developer 3.0. Nothing much has come of that initial contact and I hope more will come of it.
In the end, it is you, the real users who should and will decide the way forward. If you have ideas, wishes etc,
please contact the GeoRaptor team via our SourceForge website, or start a "wishlist" thread on this forum
expressing ideas for future functionality and integration opportunities.
regards
Simon
Edited by: sgreener on Jun 12, 2011 2:15 PMThank you for this.
I have been messing around with this last few days, and i really love the feature to pinpoint the validation errors on map.
I has always been so annoying to try pinpoint these errors using some other GIS software while doing your sql.
I have stumbled to few bugs:
1. In "Validate geometry column" dialog checking option "Use DimInfo" actually still uses value entered in tolerance text box.
I found this because in my language settings , is the decimal operators
2. In "Validate geometry column" dialog textboxs showing sql, doesn't always show everything from long lines of text (clipping text from right)
3. In "Validate geometry column" dialog the "Create Update SQL" has few bugs:
- if you have selected multiple rows from results and check the "Use Selected Geometries" the generated IN-clause in SQL with have same rowid (rowid for first selected result) for all entries
Also the other generated IN clause in WHERE-clause is missing separator if you select more than one corrective function
4. "Validate geometry column" dialog stays annoyingly top most when using "Create Update SQL" dialog -
SQL Developer create wrong SQL for creation of Database link
Hi,
I tried to create Database link to another machine through SQL Developer. and I got error message saying "Sql not properly ended" or similar.
I copy-paste the sql to sqlplus shell and I found that the problem came from password part of database link so the generated from SQL Plus is something like:
SQL> CREATE DATABASE LINK mytest CONNECT TO anotherDB IDENTIFIED BY 1234 USING 'OtherServiceName';
but it should be
SQL> CREATE DATABASE LINK mytest CONNECT TO anotherDB IDENTIFIED BY "1234" USING 'OtherServiceName';
so if I type in the password field
"1234" which is ****** /6 chars/ the database link was created correctly.
Could you check and fix this in next release of the SQL Developer?
Otherwise the Application is very good and far ahead from TORA :)Thanks, I didn't notice that for passwords. So it's most definately my problem that the SQL Developer . :)
Thank you for clarification!
Offtopic: I am searching for DB Comparison tool which could compare 2 schemas and return me the differences and the sync script. Do you know any /free if possible/? There is such thing in TOAD but I am on Linux and I prefer to use something else. :)
Thank you in advance -
SQL Developer High Memory Consumption 3.2.20.09.87
Hello,
I have been using SQL developer for quite some time and had initially had problems in the past with high memory consuption when I use this tool.
I have received and applied advice from this forum and while it had helped a little, the majority of the high memory consuption remained an issue.
I finally got more time to dig around and try to specifically isolate where the problem seems to be coming from and here is what I found.
*1)* I have removed the Check for Updates feature
*2)* I have turned off many of the extensions except for DBA Navigator, Real Time SQL Monitoring, SearchBar and Snippet.
*3)* When I start a fresh SQL Developer Session and initiate a Oracle Connection the application consumes roughly 148 meg fo RAM
*4)* When I open my Windows Task Manager and watch the memory allocated to SQL Developer I notice it goes up when I move my mouse over the SQL Developer tool and When I run through menus at roughly 5k a second or so and the memory is never released back to the system.
*5)* When I run a Large SQL to the grid the memory jumps by about 100 meg or so and will continue to do so every time I repeat the SQL until SQL Developer consumes roughly 748 meg of RAM.
*6)* 748 Meg of RAM seems to be the number when SQL Developer (with one Oracle connection) no longer continues to consume more and then not return the memory to the system.
Is there a way to have SQL Developer automatically clear up it's active memory usage without closing it down and restarting it?
Why does SQL Developer continue to consume more and more memory just from moving your mouse over it and/or by navigating menus?
Here is my About Detail;
Oracle SQL Developer 3.2.20.09
Version 3.2.20.09
Build MAIN-09.87
Copyright © 2005, 2012 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.48
Product ID: oracle.sqldeveloper
Product Version: 11.2.0.09.87
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_35
Oracle IDE 3.2.20.09.87
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 109707460930968
ide.build MAIN-09.87
ide.conf C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\app\twilliams\product\11.2.0\client_3\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 3276
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\twilliams\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\twilliams\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloperW.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloperW.exe
ide.startingcwd C:\app\twilliams\product\11.2.0\client_3\SQLDEVELOPER\SQLDEVELOPER\BIN
ide.user.dir C:\Users\twilliams\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Users\twilliams\Documents\SQL Developer
ide.work.dir.base C:\Users\twilliams\Documents
ilog.propagatesPropertyEditors false
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:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\endorsed
java.ext.dirs C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre
java.io.tmpdir c:\Temp\
java.library.path C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\app\twilliams\product\11.2.0\client_3\bin;C:\app\twilliams\product\11.2.0\client_3;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Lenovo\Access Connections\;C:\Program Files\WinMerge;C:\Program Files\ThinkPad\Bluetooth Software\;.
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_35-b10
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_35
java.vm.info mixed mode
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 20.10-b01
jdbc.driver.home /C:/app/twilliams/product/11.2.0/client_3/
jdbc.library /C:/app/twilliams/product/11.2.0/client_3/jdbc/lib/ojdbc6.jar
line.separator \r\n
oracle.home C:\app\twilliams\product\11.2.0\client_3\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
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:/app/twilliams/product/11.2.0/client_3/jlib/orai18n.jar
os.arch x86
os.name Windows 7
os.version 6.1
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:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\resources.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\rt.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\jsse.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\jce.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\charsets.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\modules\jdk.boot.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\classes
sun.boot.library.path C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\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 1
user.country US
user.dir C:\app\twilliams\product\11.2.0\client_3\SQLDEVELOPER\SQLDEVELOPER\BIN
user.home C:\Users\twilliams
user.language en
user.name twilliams
user.timezone America/Los_Angeles
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.48 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.48 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.48 Loaded
Data Miner oracle.dmt.dataminer 11.2.1.1.09.87 Disabled by user
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.48 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.48 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.48 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.48 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.48 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.48 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.48 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.48 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.48 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.48 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.48 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.48 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.48 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.48 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.48 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.48 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.48 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.48 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.48 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.48 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.48 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.2.0.09.87 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.2.0.09.87 Loaded
Oracle SQL Developer - APEX Listener Administration oracle.sqldeveloper.listener 11.2.0.09.87 Loaded
Oracle SQL Developer - Change Mangement oracle.sqldeveloper.em_cm 11.2.0.09.87 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.2.0.09.87 Loaded
Oracle SQL Developer - Database Cart oracle.sqldeveloper.dbcart 11.2.0.09.87 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 11.2.0.09.87 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration, oracle.sqldeveloper.migration.translation.core_antlr3
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Teradata SQL Translator oracle.sqldeveloper.migration.translation.teradata_translator 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration, oracle.sqldeveloper.migration.translation.core
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.2.0.09.87 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.2.0.09.87 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.2.0.09.87 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.2.0.09.87 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.2.0.09.87 Loaded
Oracle SQL Developer - Security oracle.sqldeveloper.security 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.2.0.09.87 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.2.0.09.87 Disabled by user
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.2.0.09.87 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.2.0.09.87 Disabled by user
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.2.0.09.87 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.2.0.09.87 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.2.0.09.87 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.1.4.710 Disabled by user
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.2.0.09.87 Disabled by user
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.48 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.48 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.48 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.48 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.48 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.48 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.48 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.48 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.48 Disabled by user
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.48 Missing dependencies: oracle.jdeveloper.vcs
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.48 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.48 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.48 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.48 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.48 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.48 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.48 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.48 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.48 Loaded
status oracle.ide.status 11.1.1.4.37.59.48 Loaded
Thanks in advance...
Tom
Edited by: ERPDude on Feb 28, 2013 2:46 PMAces!!! You nailed it Gary...
Thank you.
I applied fixed noted in Re: Reduce SQLDeveloper memory footprint with JDK 1.7
For others, to summarize my changes.
product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
AddVMOption -XX:+UnlockExperimentalVMOptions
AddVMOption -XX:+UseG1GC
AddVMOption -XX:MaxGCPauseMillis=50
AddVMOption -XX:GCPauseIntervalMillis=200
AddVMOption -XX:MaxPermSize=128M
AddVMOption -Xms50M
AddVMOption -Xmx384M
AddVMOption -XX:MinHeapFreeRatio=10
AddVMOption -XX:MaxHeapFreeRatio=10
product\11.2.0\client_3\sqldeveloper\ide\bin\ide.conf
comment the following two lines as shown below
#AddVMOption -Xmx640M
#AddVMOption -Xms128M
Now SQL Developer runs at roughly 500 meg.
I guess the only thing I have left to ask others reviewing this would be if there is a way to get these memory values down without having much adverse impacts on SQL Developer based on newer JVM switches/functionalities.
The posts that drove these changes are old from a technologoical perspective :) 2010.
Tom -
Tnsnames.ora file does not seem to load in SQL Developer
I've really tried my best to figure this out on my own ... through the Help, this forum, and Internet in general. I apoligize in advance for having to ask this, since I'm sure this is a common issue. This particular form entry was really close:
Database Connections will not load tnsnames.ora
But, I just can seem to figure out why, or where entries from my tnsnames.ora file are loading into SQL Developer.
- I have the TNS_ADMIN system environment variable defined to the directory where tnsnames.ora is stored - C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN.
- I do not see a TNS tab as the forum entry above indicates anywhere in SQL Developer - This may be my problem.
It seems that this issue could be cleared up with better directions on how to import tnsnames.ora entries into SQL Developer. Is there any specific direction on how to get your tnsnames.ora file setup correctly with SQL Developer running on Windows XP - Besides the Help which mentions the setup of TNS_ADMIN, but doesn't really tell you what the expected result is, or where the entries will be, or how to verify this is working?
Any help would be most appreciated.
Thanks,
Dave
Below is the export from the About box in SQL Developer:
About
Oracle SQL Developer 1.5.1
Version 1.5.1
Build MAIN-5440
Copyright © 2005,2008 Oracle. All Rights Reserved.
IDE Version: 11.1.1.0.22.49.42
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.54.40
Version
Component Version
========= =======
CVS Version Internal to Oracle SQL Developer (client-only)
Java(TM) Platform 1.6.0_07
Oracle IDE 1.5.1.54.40
Versioning Support 1.5.1.54.40
Properties
Name Value
==== =====
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.6.0_07; Windows XP 5.1 x86; en_US) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 1628689279134099
ide.build MAIN-5440
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.5.0
ide.launcherProcessId 5580
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Documents and Settings\X626730\Application Data\SQL Developer
ide.pref.dir.base C:\Documents and Settings\X626730\Application Data
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\sqldeveloper\bin
ide.user.dir C:\Documents and Settings\X626730\Application Data\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Documents and Settings\X626730\My Documents\SQL Developer
ide.work.dir.base C:\Documents and Settings\X626730\My 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_07\jre\lib\endorsed
java.ext.dirs C:\Program Files\Java\jdk1.6.0_07\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home C:\Program Files\Java\jdk1.6.0_07\jre
java.io.tmpdir C:\DOCUME~1\X626730\LOCALS~1\Temp\
java.library.path C:\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\PROGRA~1\IBM\WEBSPH~2\BIN\DB2;C:\PROGRA~1\IBM\WEBSPH~2\BIN\MQClient;C:\PROGRA~1\IBM\WEBSPH~2\BIN;C:\IBM\WebSphere MQ Client\Java\lib;C:\Program Files\CA\SharedComponents\PEC\bin;C:\oracle\product\10.2.0\client_1\bin;C:\oracle\ora92\bin;C:\oracle\product\10.2.0\client_2\bin;C:\Perl\bin\;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\CA\PEC\bin;C:\Reuters\Plus;C:\Reuters\Plus\COMLOGIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Compuware\Common;C:\Program Files\Common Files\Compuware;C:\Program Files\CA\AllFusion Harvest Change Manager;C:\Program Files\SecureCRT\;C:\PROGRA~1\F-Secure\Ssh;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;c:\Program files\1E\SMSNomad\;C:\j2sdk1.4.2_06\jre\bin;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\IBM\Installation Manager\eclipse\lib;C:\Program Files\CA\Cryptography\;C:\Program Files\CA\R71\AllFusion Harvest Change Manager;C:\IBM\WebSphere MQ Client\bin;C:\IBM\WebSphere MQ Client\tools\c\samples\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_07-b06
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_07
java.vm.info mixed mode
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 10.0-b23
jdbc.driver.home /C:/oracle/product/10.2.0/client_1/
jdbc.library /C:/oracle/product/10.2.0/client_1/jdbc/lib/ojdbc14.jar
line.separator \r\n
oracle.home C:\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG 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:/oracle/product/10.2.0/client_1/jlib/orai18n.jar
os.arch x86
os.name Windows XP
os.version 5.1
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$
sun.arch.data.model 32
sun.boot.class.path C:\Program Files\Java\jdk1.6.0_07\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_07\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_07\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_07\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_07\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_07\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_07\jre\classes
sun.boot.library.path C:\Program Files\Java\jdk1.6.0_07\jre\bin
sun.cpu.endian little
sun.cpu.isalist
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
user.country US
user.dir C:\sqldeveloper\sqldeveloper\bin
user.home C:\Documents and Settings\X626730
user.language en
user.name a641421
user.timezone America/New_York
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.0.22.49.42 Loaded
Code Editor oracle.ide.ceditor 11.1.1.0.22.49.42 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.0.22.49.42 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.0.22.49.42 Loaded
Database UI oracle.ide.db 11.1.1.0.22.49.42 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.0.22.49.42 Loaded
Extended IDE Platform oracle.javacore 11.1.1.0.22.49.42 Loaded
External Tools oracle.ide.externaltools 11.1.1.0.22.49.42 Loaded
Feedback oracle.ide.feedback 11.1.1.0.22.49.42 Loaded
File Support oracle.ide.files 11.1.1.0.22.49.42 Loaded
File System Navigator oracle.sqldeveloper.filenavigator 11.1.1.54.40 Loaded
Help System oracle.ide.help 11.1.1.0.22.49.42 Loaded
History Support oracle.jdeveloper.history 11.1.1.0.22.49.42 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.0.22.49.42 Loaded
Log Window oracle.ide.log 11.1.1.0.22.49.42 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.0.22.49.42 Loaded
Navigator oracle.ide.navigator 11.1.1.0.22.49.42 Loaded
Object Gallery oracle.ide.gallery 11.1.1.0.22.49.42 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.54.40 Loaded
Oracle IDE oracle.ide 11.1.1.0.22.49.42 Loaded
Oracle Microsoft Access Browser oracle.sqldeveloper.thirdparty.access 11.1.1.54.40 Loaded
Oracle Migration Workbench oracle.sqldeveloper.migration 11.1.1.54.40 Loaded
Oracle Migration Workbench - MS Access oracle.sqldeveloper.migration.msaccess 11.1.1.54.40 Loaded
Oracle Migration Workbench - MySQL oracle.sqldeveloper.migration.mysql5 11.1.1.54.40 Loaded
Oracle Migration Workbench - SQLServer oracle.sqldeveloper.migration.sqlserver2005 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation Core oracle.sqldeveloper.migration.translation.core 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MS Access oracle.sqldeveloper.migration.translation.msaccess 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MS SQL Server oracle.sqldeveloper.migration.translation.sqlserver 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MySQL oracle.sqldeveloper.migration.translation.mysql 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation Sybase oracle.sqldeveloper.migration.translation.sybase 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.54.40 Loaded
Oracle MySQL Browser oracle.sqldeveloper.thirdparty.mysql 11.1.1.54.40 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.54.40 Loaded
Oracle SQL Developer Extras oracle.sqldeveloper.extras 11.1.1.54.40 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.54.40 Loaded
Oracle SQL Developer SearchBar oracle.sqldeveloper.searchbar 11.1.1.54.40 Loaded
Oracle SQL Developer TimesTen oracle.sqldeveloper.timesten 1.5.1.1.2 Loaded
Oracle SQL Server Browser oracle.sqldeveloper.thirdparty.sqlserver 11.1.1.54.40 Loaded
Oracle Sybase Browser oracle.sqldeveloper.thirdparty.sybase 1.2.1.54.40 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.54.40 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.0.22.49.42 Loaded
Peek oracle.ide.peek 1.0 Loaded
Replace With oracle.ide.replace 11.1.1.0.22.49.42 Loaded
Runner oracle.ide.runner 11.1.1.0.22.49.42 Loaded
SQL Worksheet Window oracle.sqldeveloper.sqlworksheet 11.1.1.54.40 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.54.40 Loaded
Sybase 12 oracle.sqldeveloper.migration.sybase12 11.1.1.54.40 Loaded
Sybase 15 oracle.sqldeveloper.migration.sybase15 11.1.1.54.40 Loaded
Tuning oracle.sqldeveloper.tuning 11.1.1.54.40 Loaded
VHV oracle.ide.vhv 11.1.1.0.22.49.42 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.0.22.49.42 Loaded
Versioning Support for CVS oracle.jdeveloper.cvs 11.1.1.0.22.49.42 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.0.22.49.42 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.0.22.49.42 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.0.22.49.42 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.0.22.49.42 LoadedUsing Windows XP/Vista...
After testing in our environment, it appears that SQL Developer 1.5.1 (5440) does in fact ignore the TNS_ADMIN environment variable and ONLY looks in the Oracle Home directory (network/admin). We define a central network location for our tnsnames file and have the tns_admin setup to point there instead of locally for our users.
When selecting to add a new connection (in 1.5.1, it works in previously releases... meaning 1.2.something) and selecting TNS, the drop-down remains empty. However, if I exit SQL Developer and then copy the tnsnames file to the local network/admin directory I can then re-launch SQL Developer and the drop-down is populated. Exiting SQL Developer again, deleting the local copy of tnsnames, and then launching SQL Developer yet again results in the drop-down being empty.
All other Oracle-related applications function as expected (as they have for years) using the TNS_ADMIN environment variable.
Any suggestions/ideas? -
Data Miner Extension in SQL Developer 4.0 EA3 Release: EA3 Repository Migration Failure
The Data Miner extension in the SQL Developer 4.0 EA3 release fails when attempting to migrate the repository to EA3. This posting contains instructions on how to recover from this failure as well as to successful migrate the repository from EA2 to EA3. There are no problems when just installing a fresh Data Miner repository.
Sorry about the difficulty if this has caused you any problems.
Mark
Failure message displayed in log when migrating to EA3:
Error report -
ORA-06550: line 96, column 40:
PLS-00382: expression is of wrong type
ORA-06550: line 96, column 7:
PL/SQL: Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
Instructions on how to recover from failure and continue using original version of SQL Developer:
1) Execute the following sql as SYS in order to allow the Data Miner repository to be open for use again:
UPDATE ODMRSYS.ODMR$REPOSITORY_PROPERTIES
SET PROPERTY_STR_VALUE = 'LOADED'
WHERE PROPERTY_NAME = 'REPOSITORY_STATUS';
COMMIT;
2) During attempted migrationto EA3 failed, access priviliges to the Data Miner repository are revoked from users. In order to use Data Miner again, these grants must be reapplied. You can either use the UI guided process to accomplish this, which requires the SYS password, or you can run the usergrants.sql script, again as the SYS user. For instructions on how to run the usergrants.sql script, or any adminstrative script, review the instructions contained in the install_scripts_readme.html file. You can find this file in the SQL Developer directories created when you unzipped SQL Developer. It is located in the following relative directory: \<SQL Developer Install Directory>\sqldeveloper\dataminer\scripts.
Instructions on how to successfully migrate to EA3.
If you have already attempted to migrate to EA3 and failed, then you need to perform the recovery instructions noted above, after which you can continue with the instructions below.
If you have not yet attempted to migrate to EA3, then just following the instructions below.
1) Replace all contents the script file createxmlworkflowsbackup.sql with specification contained at the end of this posting. The file to edit can be found in the \<SQL Developer Install Directory>\sqldeveloper\dataminer\scripts directory.
2) After completing the edit to createxmlworkflowsbackup.sql, you can proceed with the UI guided migration or perform the migration using the appropriate migration script. Review the install_scripts_readme.html file in the /dataminer/scripts directory for instructions on how to perform the migration using the script. For the UI migration, simply open any user connection in your Data Miner navigator, and you will be prompted to perform the migration.
WHENEVER SQLERROR EXIT SQL.SQLCODE;
DEFINE MAX_VERSIONS = 30
EXECUTE dbms_output.put_line('Start Backup Data Miner Workflows ' || systimestamp);
DECLARE
table_cnt NUMBER;
BEGIN
SELECT count(*) INTO table_cnt FROM all_tables WHERE owner='ODMRSYS' AND table_name='ODMR$WORKFLOWS_BACKUP';
IF (table_cnt = 0) THEN
EXECUTE IMMEDIATE '
CREATE TABLE ODMRSYS.ODMR$WORKFLOWS_BACKUP
USER_NAME VARCHAR2(30 CHAR) NOT NULL
, PROJECT_ID NUMBER NOT NULL
, PROJECT_NAME VARCHAR2(30 CHAR) NOT NULL
, PJ_CREATION_TIME TIMESTAMP(6) NOT NULL
, PJ_LAST_UPDATED_TIME TIMESTAMP(6)
, PJ_COMMENTS VARCHAR2(4000 CHAR)
, WORKFLOW_ID NUMBER NOT NULL
, WORKFLOW_NAME VARCHAR2(30 CHAR) NOT NULL
, WORKFLOW_DATA SYS.XMLTYPE
, CHAIN_NAME VARCHAR2(30 CHAR)
, RUN_MODE VARCHAR2(30 CHAR)
, STATUS VARCHAR2(30 CHAR) NOT NULL
, WF_CREATION_TIME TIMESTAMP(6) NOT NULL
, WF_LAST_UPDATED_TIME TIMESTAMP(6)
, BACKUP_TIME TIMESTAMP(6) NOT NULL
, VERSION NUMBER NOT NULL
, WF_COMMENTS VARCHAR2(4000 CHAR)
, CONSTRAINT ODMR$WORKFLOWS_BACKUP_PK PRIMARY KEY
PROJECT_ID
, WORKFLOW_ID
, VERSION
ENABLE
LOGGING
PCTFREE 10
INITRANS 1
XMLTYPE COLUMN "WORKFLOW_DATA" STORE AS BASICFILE CLOB';
END IF;
END;
DECLARE
schema_old_ver VARCHAR2(30);
schema_ver VARCHAR2(30);
patch VARCHAR2(30);
db_ver VARCHAR2(30);
v_storage VARCHAR2(30);
schema_data CLOB;
v_db_11_2_0_2 NUMBER; -- db is <= 11.2.0.2?
row_cnt NUMBER;
ver_num NUMBER := 1;
maintaindom NUMBER;
workflow_rec ODMRSYS.ODMR$WORKFLOWS_BACKUP%ROWTYPE;
BEGIN
SELECT STORAGE_TYPE INTO v_storage FROM ALL_XML_TAB_COLS WHERE OWNER='ODMRSYS' AND TABLE_NAME='ODMR$WORKFLOWS' AND COLUMN_NAME='WORKFLOW_DATA';
if (db is >= 11.2.0.3 AND SQL Dev > 3.0) OR (db is <= 11.2.0.2 AND MAINTAIN_DOM_PATCH_INSTALLED)
back up all workflows
end if
IF (v_storage != 'BINARY') THEN
-- determine xml schema version
SELECT XMLSerialize(CONTENT SCHEMA AS CLOB) INTO schema_data
FROM DBA_XML_SCHEMAS WHERE schema_url = 'http://xmlns.oracle.com/odmr11/odmr.xsd' AND owner = 'ODMRSYS';
maintaindom := INSTR(schema_data, 'xdb:maintainDOM="false"', 1, 1);
-- determine database version
SELECT version INTO db_ver FROM product_component_version WHERE product LIKE 'Oracle Database%';
--- Check schema compatibility
schema_old_ver := '11.2.0.1.9'; -- default value
BEGIN
SELECT property_str_value INTO schema_ver
FROM "ODMRSYS"."ODMR$REPOSITORY_PROPERTIES" WHERE property_name = 'WF_VERSION';
IF schema_old_ver = schema_ver THEN
IF NOT (db_ver = '11.2.0.1' OR db_ver = '11.2.0.2') THEN
dbms_output.put_line('WARNING: The backup process can not be done, The workflows need to be migrated first');
RETURN;
END IF;
END IF;
EXCEPTION WHEN NO_DATA_FOUND THEN
schema_ver := schema_old_ver;
dbms_output.put_line('No WF_VERSION found. Defaults to: ' || schema_old_ver);
END;
-- determine if MAINTAIN_DOM_PATCH_INSTALLED
IF (INSTR(db_ver, '11.2.0.2') > 0 OR INSTR(db_ver, '11.2.0.1') > 0 OR INSTR(db_ver, '11.2.0.0') > 0) THEN
v_db_11_2_0_2 := 1;
BEGIN
SELECT PROPERTY_STR_VALUE INTO patch FROM ODMRSYS.ODMR$REPOSITORY_PROPERTIES WHERE PROPERTY_NAME = 'MAINTAIN_DOM_PATCH_INSTALLED';
patch := UPPER(patch);
EXCEPTION WHEN NO_DATA_FOUND THEN
patch := 'FALSE';
END;
ELSE
v_db_11_2_0_2 := 0;
END IF;
END IF;
IF ( v_storage = 'BINARY'
OR (v_db_11_2_0_2 = 0) -- db is >= 11.2.0.3
OR ((v_db_11_2_0_2 > 0) AND ((patch = 'TRUE') OR (maintaindom = 0))) ) THEN -- db is <= 11.2.0.2 AND (MAINTAIN_DOM_PATCH_INSTALLED OR maintaindom="true")
SELECT count(*) INTO row_cnt FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP;
IF (row_cnt > 0) THEN
SELECT NVL(MAX(VERSION)+1,1) INTO ver_num FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP;
END IF;
FOR wf IN (
SELECT
p.USER_NAME "USER_NAME",
p.PROJECT_ID "PROJECT_ID",
p.PROJECT_NAME "PROJECT_NAME",
p.CREATION_TIME "PJ_CREATION_TIME",
p.LAST_UPDATED_TIME "PJ_LAST_UPDATED_TIME",
p.COMMENTS "PJ_COMMENTS",
x.WORKFLOW_ID "WORKFLOW_ID",
x.WORKFLOW_NAME "WORKFLOW_NAME",
xmlserialize(DOCUMENT x.WORKFLOW_DATA as CLOB indent size = 2) "WORKFLOW_DATA",
x.CHAIN_NAME "CHAIN_NAME",
x.RUN_MODE "RUN_MODE",
x.STATUS "STATUS",
x.CREATION_TIME "WF_CREATION_TIME",
x.LAST_UPDATED_TIME "WF_LAST_UPDATED_TIME",
x.COMMENTS "WF_COMMENTS"
FROM ODMRSYS.ODMR$PROJECTS p, ODMRSYS.ODMR$WORKFLOWS x
WHERE p.PROJECT_ID = x.PROJECT_ID
LOOP
workflow_rec.USER_NAME := wf.USER_NAME;
workflow_rec.PROJECT_ID := wf.PROJECT_ID;
workflow_rec.PROJECT_NAME := wf.PROJECT_NAME;
workflow_rec.PJ_CREATION_TIME := wf.PJ_CREATION_TIME;
workflow_rec.PJ_LAST_UPDATED_TIME := wf.PJ_LAST_UPDATED_TIME;
workflow_rec.PJ_COMMENTS := wf.PJ_COMMENTS;
workflow_rec.WORKFLOW_ID := wf.WORKFLOW_ID;
workflow_rec.WORKFLOW_NAME := wf.WORKFLOW_NAME;
workflow_rec.WORKFLOW_DATA := SYS.XMLTYPE(wf.WORKFLOW_DATA);
workflow_rec.CHAIN_NAME := wf.CHAIN_NAME;
workflow_rec.RUN_MODE := wf.RUN_MODE;
workflow_rec.STATUS := wf.STATUS;
workflow_rec.WF_CREATION_TIME := wf.WF_CREATION_TIME;
workflow_rec.WF_LAST_UPDATED_TIME := wf.WF_LAST_UPDATED_TIME;
workflow_rec.BACKUP_TIME := SYSTIMESTAMP;
workflow_rec.VERSION := ver_num;
workflow_rec.WF_COMMENTS := wf.WF_COMMENTS;
BEGIN
-- Output the ids (proj name, workflow name, proj id, workflow id)
dbms_output.put_line('Backup workflow: ('||wf.PROJECT_NAME||', '||wf.WORKFLOW_NAME||', '||wf.PROJECT_ID||', '||wf.WORKFLOW_ID||')');
INSERT INTO ODMRSYS.ODMR$WORKFLOWS_BACKUP VALUES workflow_rec;
COMMIT;
EXCEPTION WHEN OTHERS THEN
dbms_output.put_line('Backup workflow failed: ('||wf.PROJECT_NAME||', '||wf.WORKFLOW_NAME||', '||wf.PROJECT_ID||', '||wf.WORKFLOW_ID||')');
END;
END LOOP;
END IF;
-- keep the latest 30 versions
EXECUTE IMMEDIATE 'DELETE FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP WHERE VERSION <= :1' USING (ver_num - &MAX_VERSIONS);
COMMIT;
EXCEPTION WHEN OTHERS THEN
ROLLBACK;
RAISE_APPLICATION_ERROR(-20000, 'Workflow backup failed. Review install log.');
END;
EXECUTE dbms_output.put_line('End Backup Data Miner Workflows. ' || systimestamp);823006 wrote:
5.a. XLS export of big number columns looses precision, for example a number(38) column with all digits used.
I believe excel only holds 15 digits of precision.
Edited by: 823006 on Jan 18, 2011 8:14 AMThen it would be nice if you can define the "excel type" of each column. So you can make this number a "string" in the XLS.
Edited by: user9361780 on Jan 18, 2011 9:12 AM -
Nothing works in SQL Developer 1.2
I have been using SQL Developer for quite a long time, and never had any issues - until I downloaded version 1.2. Note, I did not do an upgrade and I did not do a migration from an earlier version. This is a clean install on SQL Developer 1.2 with bundled JRE.
After I connect to a database I can write SQL statements and get a result. The problems starts if I use the object browser.
1. Expand Table results in:
ava.lang.NullPointerException
at java.lang.System.arraycopy(Native Method)
at oracle.net.ns.DataPacket.putDataInBuffer(Unknown Source)
at oracle.net.ns.NetOutputStream.write(Unknown Source)
at oracle.jdbc.driver.T4CMAREngine.marshalCLR(T4CMAREngine.java:700)
at oracle.jdbc.driver.T4CTTIrxd.marshal(T4CTTIrxd.java:534)
at oracle.jdbc.driver.T4C8Oall.marshalBinds(T4C8Oall.java:1499)
at oracle.jdbc.driver.T4C8Oall.marshalAll(T4C8Oall.java:972)
at oracle.jdbc.driver.T4C8Oall.marshal(T4C8Oall.java:421)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:201)
at oracle.jdbc.driver.T4CCallableStatement.executeForDescribe(T4CCallableStatement.java:798)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1036)
at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCallableStatement.java:838)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1131)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3325)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3370)
at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:472)
at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:498)
at oracle.dbtools.raptor.navigator.ObjectQueryInstance.executeQuery(ObjectQueryInstance.java:73)
at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.getChildren(XmlFolderInstance.java:121)
at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.listChildren(XmlFolderInstance.java:67)
at oracle.dbtools.raptor.navigator.ObjectFilter$1Loader.doWork(ObjectFilter.java:144)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
at java.lang.Thread.run(Thread.java:595)
2. Expand Indexes results in:
ORA-01460 00000 unimplemented or unreasonable conversion requested
3. Expand Package, Function, Procedures, Triggers or Types and nothing happens even though I have my schema own such objects.
4. All the other objects in the object browser reports the same errors as listed above. The only thing that works is the Public Synonyms.
5. If I encounter any of the above errors I am not able to use the SQL worksheet properly any longer. Any queries (even SELECT * FROM dual) shows nothing in the results window and the status bar says "All rows fetched: 0"
Help! I miss SQL Developer. Now I am stucked with Toad :/Help -> About -> Properties says:
"XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.0.11.41.91 Missing dependencies: oracle.ide.daf, oracle.ide.palette2"
But I don't think this is the root cause since this is a clean install, so every download of SQLDeveloper probably miss these dependencies.
I am pasting my enviroment from Help -> About -> Properties if it helps:
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
ice.browser.forcegc false
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.conf C:\app\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\app\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.launcherProcessId 5960
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir.base C:\Documents and Settings\wmaunes\Application Data
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\app\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\app\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\app\sqldeveloper
ide.update.masterserver http://www.oracle.com/technology/software/products/sql/master.xml
ide.user.dir.var IDE_USER_DIR
ide.work.dir.base D:\Data\Dokumenter
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar;..\..\jdev\lib\xmleditor.jar;..\..\ide\lib\oicons.jar;..\..\jlib\jewt4.jar;..\..\jlib\share.jar;..\ide\jlib\xmlef.jar;..\..\sqldeveloper\lib\jle2.jar;..\..\sqldeveloper\lib\oracle.dbtools.logging.jar
java.class.version 49.0
java.endorsed.dirs C:\app\sqldeveloper\jdk\jre\lib\endorsed
java.ext.dirs C:\app\sqldeveloper\jdk\jre\lib\ext
java.home C:\app\sqldeveloper\jdk\jre
java.io.tmpdir C:\DOCUME~1\wmaunes\LOCALS~1\Temp\
java.library.path C:\app\sqldeveloper;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\PC Connectivity Solution\;D:\oracle\product\10.1.3\fusion\jdk\bin;D:\oracle\product\10.1.3\fusion\ant\bin;D:\oracle\product\10.1.2\oas\bin;D:\oracle\product\10.1.2\oas\jlib;D:\oracle\product\10.2.0\db_1\bin;C:\java\jdk1.5.0_08\bin;C:\app\Perl\bin\;C:\app\unxutils\usr\local\wbin;C:\Program Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Diskeeper Corporation\Diskeeper\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Lenovo;C:\Program Files\Lenovo\Client Security Solution;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\ZipGenius 6\;C:\Program Files\Perforce;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;D:\oracle\product\10.1.3\fusion\MOBILE\sdk\bin;C:\app\ant\bin
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version 1.5.0_06-b05
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.5
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.5.0_06
java.vm.info mixed mode
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 1.5.0_06-b05
jdbc.driver.home /D:/oracle/product/10.2.0/db_1/
jdbc.library /D:/oracle/product/10.2.0/db_1/jdbc/lib/ojdbc14.jar
line.separator \r\n
oracle.home C:\app\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.Trace true
oracle.translated.locales ja
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /D:/oracle/product/10.2.0/db_1/jlib/orai18n.jar
os.arch x86
os.name Windows XP
os.version 5.1
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$
set.main.as.system.loader true
sun.arch.data.model 32
sun.boot.class.path C:\app\sqldeveloper\jdk\jre\lib\rt.jar;C:\app\sqldeveloper\jdk\jre\lib\i18n.jar;C:\app\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\app\sqldeveloper\jdk\jre\lib\jsse.jar;C:\app\sqldeveloper\jdk\jre\lib\jce.jar;C:\app\sqldeveloper\jdk\jre\lib\charsets.jar;C:\app\sqldeveloper\jdk\jre\classes
sun.boot.library.path C:\app\sqldeveloper\jdk\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
user.country US
user.dir C:\app\sqldeveloper\sqldeveloper\bin
user.home C:\Documents and Settings\wmaunes
user.language en
user.name WMAUNES
user.timezone Europe/Paris
user.variant
windows.shell.font.languages -
SQL Developer 1.5.1 - warning messages generated by CREATE TABLE
Hi,
Have an issue with a CREATE TABLE statement - it works correctly, but generates a warning message when used in SQL Developer (1.2 or 1.5.1). Full test case below:
Setup:
drop table samplenames;
drop table customers;
drop table phones;
drop table customers_phone;
drop sequence primkey;
create table samplenames
(name VARCHAR2(10));
insert into samplenames values ('dan');
insert into samplenames values ('joe');
insert into samplenames values ('bob');
insert into samplenames values ('sam');
insert into samplenames values ('weslington');
insert into samplenames values ('sue');
insert into samplenames values ('ann');
insert into samplenames values ('mary');
insert into samplenames values ('pam');
insert into samplenames values ('lucy');
create sequence primkey
start with 1000000
increment by 1;
create table customers as
select primkey.nextval as cust_id,
tmp1.name || tmp2.name as first_name,
tmp3.name || tmp4.name || tmp5.name as last_name
from samplenames tmp1,
samplenames tmp2,
samplenames tmp3,
samplenames tmp4,
samplenames tmp5;
CREATE TABLE PHONES AS
SELECT cust_id, 'H' as phn_loc, trunc(dbms_random.value(100,999)) as area_cde,
trunc(dbms_random.value(1000000,9999999)) as phn_num
FROM customers;
INSERT INTO PHONES
SELECT cust_id, 'B' as phn_loc, trunc(dbms_random.value(100,999)) as area_cde,
trunc(dbms_random.value(1000000,9999999)) as phn_num
FROM customers;
--randomly delete ~10% of records to make sure nulls are handled correctly.
delete from phones
where MOD(area_cde + phn_num, 10) = 0;
create table statement (there are legacy reasons for why this is written the way it is):
CREATE TABLE customers_phone NOLOGGING AS
SELECT cst.*,
piv.HOME_PHONE,
piv.WORK_PHONE
FROM (SELECT cust_id,
MAX(decode(phn_loc, 'H', '(' || area_cde || ') ' ||
substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS HOME_PHONE,
MAX(decode(phn_loc, 'B', '(' || area_cde || ') ' ||
substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS WORK_PHONE
FROM phones phn
WHERE phn_loc IN ('H', 'B')
AND cust_id IS NOT NULL
AND EXISTS (SELECT NULL
FROM customers
WHERE cust_id = phn.cust_id)
GROUP BY cust_id) piv,
customers cst
WHERE cst.cust_id = piv.cust_id (+)
Warning message output:
"Error starting at line 1 in command:
CREATE TABLE customers_phone NOLOGGING AS
SELECT cst.*,
piv.HOME_PHONE,
piv.WORK_PHONE
FROM (SELECT cust_id,
MAX(decode(phn_loc, 'H', '(' || area_cde || ') ' || substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS HOME_PHONE,
MAX(decode(phn_loc, 'B', '(' || area_cde || ') ' || substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS WORK_PHONE
FROM phones phn
WHERE phn_loc IN ('H', 'B')
AND cust_id IS NOT NULL
AND EXISTS (SELECT NULL
FROM customers
WHERE cust_id = phn.cust_id)
GROUP BY cust_id) piv,
customers cst
WHERE cst.cust_id = piv.cust_id (+)
Error report:
SQL Command: CREATE TABLE
Failed: Warning: execution completed with warning"
I am on 10.2.0.3. The CREATE TABLE always completes successfully, but the warning bugs me, and I have had no success tracking it down since there is no associated numberr.
Anyone have any ideas?Hi ,
The Oracle JDBC driver is returning this warning so I will be logging an issue with them, but for the moment SQL Developer will continue to report the warning as is.
The reason for the warning is not clear or documented as far as I can tell,
but I have replicated the issue with a simpler testcase which makes it easier to have a guess about the issue :)
----START
DROP TABLE sourcetable ;
CREATE TABLE sourcetable(col1 char);
INSERT INTO sourcetable VALUES('M');
DROP TABLE customers_phone;
CREATE TABLE customers_phone AS
SELECT MAX(decode(col1, 'm','OK' , NULL)) COLALIAS
FROM sourcetable;
----END
The warning occurs in the above script in SQL Developer , but not in SQL*Plus.
The warning disappears when we change 'm' to 'M'.
The warning disappears when we change NULL to 'OK2'
In all cases the table creates successfully and the appropriate values inserted.
My gut feeling is ...
During the definition of customers_phone, Oracle has to work out what the COLALIAS datatype is.
When it sees NULL as the only alternative (as sourcetable.col1 = 'M' not 'm') it throws up a warning. It then has to rely on the 'OK' value to define the COLALIAS datatype, even though the 'OK' value wont be inserted as sourcetable.col1 = 'M' and not 'm'. So Oracle makes the correct decision to define the COLALIAS as VARCHAR2(2), but the warning is just to say it had to use the alternative value to define the column.
Why SQL*Plus does not report it and JDBC does, I'm not sure. Either way it doesn't look like a real issue.
Again, this is just a guess and not a fact.
Just though an update was in order.
Regards,
Dermot. -
Urgent Help !!! Export data into insert format (Oracle Sql developer)
Hi all,
Please help , when i try to export ms access table which have 400,000 over rows to insert format using oracle sql developer 1.5.5. After the export have done the exported file xxx.sql is empty.
Is it because of too many rows? or what tool or function should i use for exporting table with many rows.
It used to have exported successfully with
Insert into table( ) values ();
Insert into table( ) values ();
Insert into table( ) values ();
Insert into table( ) values ();
----- when i try to export table with over 10,000 row.
Regard,
TunAnother option is to export your file as Formatted text (space delimited). This will create a fixed format file. You can either create an external table to access the file or use sqlloader to load it. In your control file or access parameters you will specify the positions of the fields you are interested in. Your control file will look something like this:
OPTIONS (BINDSIZE=50000,ERRORS=50,ROWS=200,READSIZE=65536)
LOAD DATA
CHARACTERSET US7ASCII
INFILE '/home/FIXED_FORMAT.dat' "FIX 58"
CONCATENATE 1
INTO TABLE "EMP2"
APPEND
REENABLE DISABLED_CONSTRAINTS
"ID" POSITION(1:2) INTEGER(2) ,
"REGION" POSITION(3:3) INTEGER EXTERNAL(1) ,
"DEPT" POSITION(4:6) INTEGER EXTERNAL(3) ,
"HIRE_DATE" POSITION(7:14) DATE(8) "mmddyyyy" ,
"SALARY" POSITION(15:19) DECIMAL(9,2) ,
"NAME" POSITION(20:34) CHAR(15)
SQLDeveloper does not currently provide an option to import fixed format files. -
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
Maybe you are looking for
-
One Step DVD From VCR Patched Through Mini-DV
I guess the One Step method only works with Device Control inputs? I've got my VCR patched through my MiniDV camera, and a Firewire cable to the Mac. When I choose One Step DVD, it looks for a tape in my camera. But I can capture in FCP with this sam
-
Attachment list in Services for Object toolbar
Does anybody know if there is any user exit or BADI that I can use to filter certain file attachments in Attachment list of Services for Object toolbar. For example, in transaction XK03 (Vendor display), Services for Object toolbar, you can see the A
-
Hi, My Ipod nano has started cutting off the last 30 seconds or so of songs. Any suggestions on how to fix this? Thanks! Nano 1GB Windows XP
-
My daughter was on the Ipad 2 last night , don't know what she was playing, and she said it was shutting down.. it had a good amount of charge in it.. Now it has the apple icon and the shut down wheel on. The wheel starts out dim then gets bright and
-
How do you set iPhoto to see photos stored on a Time Capsule?
I have iphoto11 and cannot see how to set it up so that I can store my photos on a Time Capsule or another network drive. I am not asking to back up the photos, but rather have them stored centrally so that it does not fill up my HDD on my MacBook a