SQL Dev 2.1 RC1 - Expanding packages under Schema Browser

When i navigate to the the schema brower and expand my list of packages i click on the (+) to expand the package and see the body but by clicking on the (+) it open the package spec in a sql worksheet, if i then close this it collapses the package up again but the second time i can then expand down to body but this to then open up straight away before i get a chance to specify which proc/function i want to look at.
Anyone else hiting this problem ?
Is this expected or is it a bug ?
Thanks
Trotty
I am running against a 9i DB if that makes any difference.
Edited by: Trotty on Dec 3, 2009 1:06 PM

Trotty,
thanks for your reply.
That did the trick... kind of. I'm now forced to double click to open the body. :(
I find really frustrating how a development tool makes browsing and accessing the objects a PL/SQL developer deals with more frequently (package BODIES) inconvenient.
OTOH it's free, so maybe I should just shut up and go back to work... :)
Alessandro
Edit: BTW, it's still a bug, IMHO as I didn't click on the object but only expanded a node clicking on +* (that option should have nothing to do with this action).
Edited by: archimede on Dec 18, 2009 12:39 PM

Similar Messages

  • SQL developer 3.1 in schema browser doesn't show package body

    Hi,
    When i search a package with schema browser, i can't see the package body of other owner, the menu "edit body" is disabled.
    My user as select any dictionary et select_catalog_role
    When i connect with a DBA's user, i can see all.
    I'am on windows with sqldev 3.1
    Thanks

    Hi erifet,
    This one seems to go back and forth. It was originally fixed in Schema Browser for 3.0. The "Edit Body" was greyed out, but an "Open Body" icon in the code editor toolbar for Package Spec was enabled. Here is the forum reference:
    30EA1 package bodies missing in schema browser still not fixed
    In 3.1, both "Edit Body" and "Open Body" are greyed out, and that applies both to Schema Browser and Connection Navigator for Other Users packages, so at least 3.1 is consistent. The difference between the Browser and the Navigator is Schema Browser has no option to display a Package Body type (must go through Package Spec type), while the Connection Navigator displays a Package Body node type in the tree beneath the Spec node. In the forum thread AM references, Vadim explains what 3.1 does: it uses the ALL_OBJECTS view, which apparently does not include package bodies. Off-hand I'm not sure why it does not include them, and the following link doesn't shed any light:
    http://docs.oracle.com/cd/B19306_01/server.102/b14237/statviews_1001.htm
    Adding the execute privilege on the package does not help either. At least you have the workaround of using the Connection navigator to view the package body metadata (code) of Other Users if you have been granted either SELECT_CATALOG_ROLE or SELECT ANY DICTIONARY. As for returning to the 3.0 Schema Browser behavior, perhaps Vadim will notice your post and have some explanation as to why or why not that may be possible.
    Regards,
    Gary
    SQL Developer Team

  • SQL Dev anomolies

    SQL Dev 3.2.20.09
    Windows 7 Pro.
    I just installad SQL Dev on a power user's workstation and discovered a couple of things
    1) - The tables and views folders in the navigation pane return nothing. If the same user connects with sqlplus and selects from ALL_TABLES and ALL_VIEWS, he gets the expected result.
    2) - Well, now I am losing my mind ... I'll leave point #2 for later.

    Jeff Smith SQLDev PM wrote:
    The tables and views are filtered by your logon user.
    ALL_TABLES and ALL_VIEWS show every view and table in the database.
    Well, not every table/view in the database, just those the connected user has been granted access to. (ALL_TABLES vs. DBA_TABLES).
    You have to navigate down the connection tree to the 'Other Users' node, expand, and pull up your objects by owner/schema/user.
    Ah. You may dope slap me on this one. Of course ... the results under the navigation tree are going to default to USER_TABLES, not ALL_TABLES.
    For point #2 - this is normal :)And getting more normal with frightening regularity .. for me, anyway!
    Edited by: EdStevens on Nov 19, 2012 1:08 PM

  • SQL Dev result fetch performance

    I am using SQL Developer 1.2.0-Main 29.98
    My dept. is looking to save the cost of TOAD renewal, but evaluators have raised the following issue:
    Using a test query in both TOAD and SQL Developer, it takes 2x longer in SQL Dev to retrieve all rows (7864). Both tools return n first rows quickly, but using CTRL-A in SQL Dev to force the worksheet to display all the rows takes 88sec. with Sql Array Fetch Size=50, improving incrementally to a fastest 64 sec. with the Size = 5000. (It also lets me set the size even larger, even though the documentation says 5000 is the max, no improvement in performance though.) TOAD, using it's minimum memory threshhold method returns the data in 32 sec.
    Are there any additional configuration changes I can make? I am a DBA, not a Java developer, so I have no knowledge of memory settings, etc. that can be defined for the Java environment.
    I have seen in other threads that 2.0 is under development, is this performance issue already being addressed?
    Any and all advice is appreciated, otherwise it's back to evaluating PL/SQL Developer.

    If you want performance and no hassle, stick with the proven, robust TOAD. Period. The rest can be called wannabees.
    Sqldev is still too young, has performance issues, crashes, has bugs, uses a lot of mem, ... but promises to be really competitive with TOAD in the future.
    I do prefer sqldev's code editor and debugger over TOAD's and has a modern Java interface, easy customizable through user extensions in XML, and most important: it's Oracle and free. But you do need to put in a lot of patience and frustration...
    Regards,
    K.

  • Cancelling Query Results in Continually Busy Connection -- SQL Dev 2.1 EA2

    Hello All --
    I am running SQL Developer 2.1 EA2 on the Windows 7 Release Candidate (64-bit). I have had issues when canceling long-running queries. Usually what happens is I run something, and realize after a couple of minutes that it's going to take quite a while to run. So, I click the cancel button. Things seem OK, I can resume editing the query. However, when I try to re-run the query (after modifying it) or even just to run an explain plan, I find that I can't re-connect to the DB. I go to the connection pane to try to disconnect and reconnect to the server in question, but when I try to disconnect I keep getting error messages about the connection still being busy, would I like to Retry or Abort? I can keep clicking either of the options ad infinitum with no results.
    I have to kill SQL Developer from Task Manager and re-start. I am connecting for the most part to Oracle 10.2.0.4 databases (10g2), some RAC, some stand-alone.
    EA2's behavior is better than SQL DEV 1.5.x, which would simply often lock, but this is still frustrating.
    Thanks!

    This definitely occurs in 1.5.5 - in my particular case, and this is really strange, if one uses Task Manager to shut down SQLDeveloper because it is just taking forever to get a Data view (via the + expand sign on the side of a given admittedly big table, then clicking on the Data tab), SQLDeveloper freezes. Even if I start a new instance of SQLDeveloper, and ask for a Data view again, it freezes - I've waited as much as 1/2 hour, where as in prior days I'd get a response within say 1 min.
    I've even uninstalled and re-installed. Same deal. This is what's the strangest by far. How can it be that SQLDeveloper remembers that a long running query was once canceled even after an uninstall / reinstall ? I could not find anything remotely related to this in the Registry after the uninstall either.
    [By the way, if on the other hand, I say SELECT * FROM {table_name}, I get an instant response !]

  • How to use SQL Dev with MySQL DBs ? Connection Setup

    As far as I know SQL Dev can be used with MySQL databases as well.
    How do I have to setup the connection for MySQL?
    In detail what do I have to enter for
    -role
    -connection type
    SID/ServiceName
    Or is there a separate version for Oracle and MySQLß
    Peter
    Edited by: user5328442 on Jan 5, 2011 9:23 AM

    Hi,
    After downloading the MySQL plugin did you add the details in the third party database list ?
    Do the following -
    - Tools
    - Preferences
    - expand the Database option if necessary
    - Third Party JDBC Drivers
    - add the location and file name of the plugin.
    On my setup it is -
    D:\mysql_jdbc\mysql-connector-java-5.0.8\mysql-connector-java-5.0.8-bin.jar
    The driver may be different if you have a later version.
    Regards,
    Mike
    Edited by: mkirtley on Jan 7, 2011 9:46 AM

  • 100% cpu utilisation SQL Dev 1.5 on XP

    Using SQL Dev 1.5 prod version on XP on a P4 3ghz with 2gb of ram, SQL Dev executable regularly uses 100% cpu utilisation as reported by task manager.
    Also frequently stops responding - no screen redraw and I have to end task.
    Until recently I only had 512Mb of ram so put this down to that fact, but with 2gb still getting long 'satellite' delays - particularly with code/param insight.
    Anybody else getting this?
    ta

    I know I was vahue - apologies, but it's most of the time - literally 99 to 100% cpu utilisation.
    e.g.
    restart pc, login, give it a couple of mins to settle down. (p4 3ghz, 3gb ram, xp pro, sp1)
    start 1.5 sqldev - wait, see the splash screen, look at task manager - memory starts going up, cpu rises rapidly to 99 - 100%
    once fully loaded, open 1 connection, open one package body, split screen vertically, so I have sql worksheet and my package body open and visible.
    Now sit back and enjoy the vibration coming thru the desktop - the real wooden one - as the pc's fan struggles to cope.
    If I leave it for maybe 5 to 10 mins - not doing anything on the pc at all, cpu utilisation will drop significantly.
    then do something reckless like edit my package body (not that big ~1500 lines) and hold on to the desk again as we start shaking once more.
    great for my typing skills too, as there is no point in looking at the screen to see if I am making mistakes, as it frequently won't display anything until 3 to 5 seconds after I have finished typing
    mem usage is up to 250 mb - I have not touched my pc for nearly 10 mins since doing the last edit - still at 99%

  • Which version of SQL Dev is included with JDev 11g?

    Is there a method to tell which specific version and/or build of SQL Developer is built into JDev 11g? I've searched through the Help->About options and it mentions under the Extensions tab v11.1.1.0.30.50.26 for the SQL Developer Extensions entry, which is really a JDev version #, not a SQL Dev version #. I remember Duncan mentioning SQL Dev was specifically v1.2 or v1.4, but this doesn't seem to be reflected in the JDev about box.
    Cheers,
    CM.

    Yes, silly of me, in deed. I didn't pay attention to author. I find this blog interesting for me to keep it on my regular list (that is why I read posts but I don't keep insight to author).
    Anyhow, I think that reference to his blog post is useful for other readers of this thread. While Chris missed to link to his own blog, I did it for him :)
    PaKo

  • SQL Dev Report Type Confusion

    Following an article by Sue Harper originally published in the May/June 2007 Oracle magazine, I have finally been able to construct a hierarchy of Drill-Down reports. My original attempts to create such reports failed, because in my version of SQL Dev 1.5.4 I could not see how to specify a "Report ID" as Sue had documented. Following instructions on other posts I have found, including a bind variable in the drill-down query appears to resolve this problem.
    I can also use the "Add Child" button on a parent report definition to add reports which also use bind variables, and which then appear as clickable tabs below the parent report. When defining such a child report, I can choose a type of "Detail" or "Child".
    My questions are these:
    1. What is the difference between a drill-down report as described by Sue, and a Child report defined when the "Add Child" button is clicked, other than where the report appears on the Oracle SQL Dev window?
    2. When defining a Child report after clicking "Add Child", what is the difference between a type of "Detail" and "Child"?
    Sorry if this has already been clearly explained elsewhere. Links to relevant doco will be much appreciated!
    TIA,
    Jon

    Hello,
    Is it possible to have a "chart" report that expands to multiple child "chart" reports with the bind variable from the 1st child report passed to the 2nd child report?
    The bind variable from the 1st child report is not being passed to the 2nd child report.
    In the sample below, I would like to display a count of objects created by day. When clicking on the object_type/count/day, it displays a child chart with the object_type by hour. What's not working is, when I select the object_type, the 2nd child chart is not displaying the object_type created for that hour (:TIME2) because it is not being recognized/passed to the chart.
    Below is the sql and sqldeveloper report options I'm using. Thanks in advance for your help.
    -- Master - bar_vert_stack chart of objects created by day:
    select
    to_char(trunc(created,'dd'),'mmddyyyy') TIME1,
    object_type OBJECT_TYPE1,
    count(*)
    from all_objects
    group by
    to_char(trunc(created,'dd'),'mmddyyyy'),
    object_type
    order by
    to_char(trunc(created,'dd'),'mmddyyyy') desc
    -- Child1 - bar_vert_stack chart of objects created by hour that appears when selecting the day above:
    select
    to_char(trunc(created,'hh24'),'mmddyyyy hh24:mi:ss') TIME2,
    object_type OBJECT_TYPE2,
    count(*)
    from all_objects
    where
    object_type=:OBJECT_TYPE1
    and created between to_date(:TIME1,'mmddyyyy hh24:mi:ss') and (to_date(:TIME1,'mmddyyyy hh24:mi:ss')+1)
    group by
    to_char(trunc(created,'hh24'),'mmddyyyy hh24:mi:ss'),
    object_type
    order by
    TIME2 desc
    -- Child2 - table of objects created in the hour that appears when selecting the day above (note that :TIME2 is not being passed so all
    --recs for that day are displayed)
    select
    :TIME1,:OBJECT_TYPE1,:TIME2,:OBJECT_TYPE2,all_objects.*
    from all_objects
    where
    object_type=:OBJECT_TYPE1
    and created
    between to_date(:TIME1,'mmddyyyy hh24:mi:ss')
    and (to_date (:TIME1,'mmddyyyy hh24:mi:ss')+1)
    order by created desc

  • SQL Dev setup

    Hi all
    I am new and learning SQL Developer. I am trying to connect to a DB. I belive i have to install one. How does that work or is there some instructions on how to do this?
    Add a DB to SQL Dev to pratice scripts on?
    Thanks Y'all.
    R

    Hi 300,
    The link you reference just provides some documentation and SQL scripts for installing a demonstration Student/Course/Grade schema into an existing Oracle database. You also must do one of the following:
    1. Install a database locally.
    2. Have someone give you connection details for a remote database.
    3. Or, similar to (1), use JeffS's suggestion for installing the VirtualBox and Linux VM image with Oracle 11.2 and SQL Developer (among other things) already installed.
    JeffS provides a link for (3) and jflack for (1).
    In terms of being able to create a connection in SQL Developer, look for Help|Table of Contents|SQL Developer Concepts and Usage|Database Connections and read through it. Start by creating a connection for the SYSTEM user. That will let you create a new schema in which to install the Student/Course/Grade demo. For a "Basic" connection type, you will use the following connection details:
    1. For an Oracle XE default install, host/port/sid will be localhost/1521/xe. User/password is system/<yourInstallationDefaultChoice>
    2. For the VirtualBox Linux VM image, host/port/sid will be localhost/1521/orcl. User/password is system/oracle
    In SQL Developer's Connections View, right-click on the Connections node and choose New Connection... and fill in connection details for the System user. Next, open the connection for System, expand its node, scroll down to the Other Users node. There you can right-click on the node and select Create User... to create the student/learn user for your demo.
    I haven't read through the demo scripts and documentation, but I suppose you should at least check off the CONNECT and RESOURCE roles for this student user.
    Finally, create a connection for this student user, open that connection, then try running the script(s) from the SQL Worksheet. If the scripts contain some syntax SQL Developer does not support, you may have to run them using SQL*Plus, but I doubt it will be necessary in this simple demo.
    Have fun,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Feb 29, 2012 5:02 PM
    Added point about creating a connection for the student user schema.

  • Is there a way to create SQL Dev reports with validated binds?

    Is there a way to create SQL Dev reports with validated binds similar to the way user defined extensions can have <prompts> with a <value> that is a SQL statement returning a list of possible values?
    This sure would make select appropriate values for binds in reports easier and less error prone.

    Maybe a forum search on "Windows registry" would turn up some useful things. You're not the first to ask this. You might save yourself and everyone else some time if you'd simply do that.

  • Export arabic character into csv file turns into question mark in sql dev

    Hi,
    I am trying to export a table's output that contains some arabic and english mixed data, when I try to export it in csv, all the arabic characters change into question mark (?) but the same export is working fine on .xls or .xlsx.
    Since we have to export a huge data and csv is much faster thar .xls, kindly let me know why it is happening and what is the solution for this.
    Well, we are on Oracle 11gR2 and Sql Dev is 3.1
    Appreciate your time and experience sharing.
    Regards.

    Hi,
    Since you say it works for xls but not csv, and the only applicable preference setting ( Tools|Preferences|Database|Utilities|Export|Encoding ) should apply to all export formats, I would imagine this is a bug. Especially if the encoding specified in Preferences is consistent with the client OS settings. I was not able to find any prior bug logged against the Export utility for this issue.
    I logged a bug for this:
    Bug 13993410 - FORUM: ARABIC CHARACTER ENCODING RESPECTED FOR XLS BUT NOT CSV
    Regards,
    Gary
    SQL Developer Team

  • SQL Dev converts MS SQL to Oracle - issue with numeric prefix column name

    Hi,
    We're working on migrating MS SQL data into Oracle 10g. An issue we encountered is that some of MS SQL's tables have column names with numeric prefix like 1Q07, 2Q07, ..., 4Q08, and so on. The converted model as well as script can be created. But one thing I notice is that SQL Dev appends a prefix "A" for column names with numeric prefix. This makes sense because Oracle does not allow a column with number. But somehow this does not work with only 4Q
    1Q04 => A1Q01
    2Q07 => A2Q07
    3Q08 => A3Q08
    4Q08 => 4Q08 ???
    Why? Any place in the tool where I can override this?
    Obviously I can manually modify column name 4Q08 to A4Q08 in the script. But by doing this when moving data, it would fail because tool has no knowledge of updated column name.
    Thanks in advance.

    Hi ittichai,
    In <repository>.MIGRATION_TRANSFORMER body
    FUNCTION first_char_check(p_work NVARCHAR2) RETURN NVARCHAR2
    v_allowed := C_DISALLOWED_CHARS || '012356789_$';
    should be
    v_allowed := C_DISALLOWED_CHARS || '0123456789_$';
    If you make this change and convert the 4Q08 will be
    A4Q08 is expected, without any manual rename.
    -Turloch
    Message was edited by:
    Turloch O'Tierney

  • SQL Dev 2.1:Ability to save and load visual query models?

    At SQL Dev 2.1, do we now have the ability to save and load visual query models as with TOAD? Or has that functionality been rolled into the for-pay Data Modeler extension? Seemed strange to hide the functionality deep within SQL Worksheet, then not allow query models to be saved or loaded. From what I recall, load/save was scheduled to be in 2.0.
    I've not yet downloaded and installed 2.1, but also as I recall, it was promised to be a significant (e.g. new-feature rich) release. Has it lived up to that promise? Hoping also that it's not so buggy as to not merit an upgrade. At my workplace, folks have different versions of SQL Dev 1.X installed, each for the purpose of retaining functionality that got broken in future releases, etc. Would love to be able to advise them to retire their 1.X installs in favor of 2.1.
    Edited by: Dana N on Jan 21, 2010 6:45 AM

    Dana, We are working on the query builder. We have not done anything with it in recent releases as we knew that it needed completely overhauled and a
    couple of bug fixes were not going to give us the query builder we needed. Sue will be able to tell you more as the we get closer to releasing it as a feature.Thanks Barry. I know it's probably impossible to give firm dates, but my colleagues would love to know, ballpark, when query builder might be ready. Any particular year/quarter that's targeted for?
    A lot of the bugs in the 2.1 are probably my fault as we decided to build a framework which allowed tasks to be scheduled like eclipse and push them to the
    background. Coupled with this, we tore apart the worksheet to allow us to fit tasks in, but to also give us the ability to do some of the enhancement requests
    that you guys, our users, have been asking for. While its not perfect, I believe its getting much better from both a functionality and performance standpoint. The
    worksheet will not change again and there are no enhancements logged or scheduled which will do that. The issues that have come as part of 2.1 are being
    addressed and we are fixing the highest priority ones as we speak. One of my priorities is to make these components as rock solid as possible.Thanks again. It really is a nice tool to work with, and I'm grateful to have it. I would choose stability for existing features over new ones, but I suppose there always has to be a balance in development. What was really scary in the past was getting bizarre / wrong answers in query results--that's a complete show stopper; e.g. clicking on a row/col intersection in a result set row would show strange and false values. New features can wait, but core functionality must be solid. If one can't presume integrity of query results, it's game over--using a version of SQL Developer that returns inconsistent result sets between runs could be Considered Harmful, or so it is to me.
    Anyway, thanks for responding and I hope Oracle Corp gets you whatever assistance you need to improve the quality of existing functionality while adding new features; with one not being at the expense of the other. :-) Glad also to see Sue has authored a book on the tool. Hopefully that will drive customer demand and force increased allocation of development resources toward the product. I'd like to think having out-of-the-box tools that are a joy to use might even increase market share.
    Data Modeler I would love to use, but am completely priced out of it. Enterprise Architect from Sparx Systems is the best value there so far as I can tell.
    Dana

  • SQL Dev 1.5.4+: Scripting DDL and data dumps?

    In SQL Dev 1.5.4, can I script a DDL and data dump? If not, what about 2.0? If not 2.0, has anyone requested this functionality so I can vote for it? I find it frustrating that, while doing a Database Export, I can't even pre-declare (e.g. save) the set of objects I want to dump; sometimes, you want to selectively dump, and it's a pain to hunt and peck and select just those you want to dump. Easy if you want to dump everything but 2-3 objects in a large schema. Not so easy if you only need, say, 20 out of 100 objects to be dumped (e.g. for domain or configuration tables--some subset of the whole schema).
    I'm really enjoying SQL Developer 1.5.4 by the way. Despite it's flaws, I'm pretty happy with it. Looking forward to 2.0 and beyond. Good work SQL Dev team.
    Thanks very much.
    Dana

    They're all command line tools, so they can all be wrapped up in a batch or shell script. Bummer you can't access them... Hope you find a better solutionThanks K. I should be getting Oracle 10g Express Edition on my desktop soon--critical because we don't have full access to the Development instance. It's like putting changes through a straw over to the DBAs. I'm not sure why Development is locked-down to developers, but that's the way it is.
    Any chance that Oracle 10g Express Edition comes with scriptable data pump binaries? Will still need authorization, but maybe that's one way to go. I hate trying to write my own Data Pump in Python or any other language. It's seems a bit absurd to me but I suppose there are reasons.
    Dana

Maybe you are looking for

  • Camera roll empty but showing no available storage

    My camera roll is all but empty but my device is showing that Photos and Videos are 7.3GB of storage???  Are there hidden files somewhere or photos and videos housed in other places also? 

  • What is this symbol?

    On an iPod touch 5th gen, in itunes, my music, there is a symbol next to some of the songs that looks like a cloud with a downward arrow. What does this symbol mean? I can still play these songs, so it can't be to download. Thanks!

  • ABS build of pavucontrol crashes on startup

    I'm trying to build pavucontrol from ABS on on x86_64. Compiling works fine, but the resulting binary immediately crashes at startup. Given that the pavucontrol binaries in the repo are from November 2013, could someone please confirm that a rebuilt

  • Query Icon not found

    Hi all, Any body know why Query Icon is not displaying even there is Data in Data Targets. What are the things i need to check? Please through some light. Regards Sirisha

  • My lightroom 3 cann't import Nikon d800e files, what I have to do to ?

    My lightroom 3 cann't import Nikon d800e files, what I have to do to ?