Cannot modify most user Source in SQL Developer

Hello

I created an Oracle 12.1.0.2 database container called DEVELOP and responsible for 11 GR 2 one hundred packages and 600 tables with hundreds of pages of APEX 5.0.

I did it using IMPDP and applications run well in the 5.0.2 APEX I just tested all applications.

Each version of SQL Developer (4.1.2 4.1.3 and the version that comes with 12 c for download) does not allow me to edit any package, procedure, function, or type.

All I see is "CREATE or REPLACE.

I can see all the tables and data.

I saw some problems that appear which suggested using 12.1.0.2 if that happen which I use.

I create a window using the SYSDBA account for the container, then:

Select * from DBA_OBJECTS where owner = 'LSDB' and object_type = 'PACKAGE '.

I see all of my packages.

I create a window in the account for these objects, called LSDB can:

When I run select * from USER_OBJECTS where type_objet = 'PACKAGE '. I see all my packages, for example.

When I run select NAME DISTINCT from USER_SOURCE; I don't see any source at all code, even if I can right-click on each package of SQL Developer and download the entire package in a window and modify the set.

The source code is somewhere else, simply not visible to the process tree viewer that seems.

I don't see many discussions on this issue for 12 c 12.1.0.2.

Because it is a test of 12 c, I gave all the roles and privileges for the LSDB account.

I am new to 12 c and Developer SQL 4.1.x. and I'm not a magician to the inner workings of the Oracle or SQL Developer, this behavior seems very strange to me.

Any help would be greatly appreciated.

Thank you

Bernie

Jeff,

Here is the right solution to this problem.

This problem was caused by a failure to completely put the PDB container $ SEEDS at 32K extended varchar2 objects.

The pluggable DEVELOP database has been upgraded to 32K VARCHAR2 objects correctly, but APB$ SEEDS was not.

This resulted in an Oracle ORA-14696 error when you create a new database plug-in, DEVELOP2.

Once the PDB database $ SEED container has been properly upgraded to 32K VARCHAR2 objects using the following code, Developer SQL displays all the source properly, and the new database plug-in DEVELOP2 could also be created.

You can close this topic and thanks for your help.

BPW

SQL > conn / AS sysdba

SQL > startup mount

SQL > migrate ALTER DATABASE OPEN;

DATABASE altered.

SQL > SELECT con_id, name, open_mode FROM v$ PDB;

CON_ID NAME OPEN_MODE

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

2 PDB$ SEEDS MIGRATE

SQL > ALTER SESSION SET container = APB$ SEED;

Modified SESSION.

SQL > SELECT SYS_CONTEXT ('USERENV', 'CON_NAME') AS a 'Container' FROM dual;

Container

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

PDB$ SEEDS

SQL > ALTER system SET max_string_size = EXTENDED;

Modified system.

SQL > @? / rdbms/admin/utl32k. SQL

PROCEDURE is complete PL/SQL with success.

Tags: Database

Similar Questions

  • Cannot display the results in the SQL Developer tool

    Hello Experts - I installed Oracle SQL Developer (version 1.5.5), just run a simple query. Nothing appears in the results window. Can you please let me know why?

    Select * of the double

    You have an error message in the message area.

    White spaces are important in SQL!

    Good bye

    DPT

  • Cannot create the data source to SQL Server

    Hi people,

    I am running IIS, Windows XP SP3, SQL Express 2005, Trial Version of ColdFusion 9 (no patches).

    The administrator using ColdFusion, when I try to create a data source for SQLExpress 2005 (SQL Server Express), by using the SQL Server driver, I get the following error:

    Connection verification failed for data source: AMT
    java.sql.SQLException: [Macromedia] [SQLServer JDBC Driver] the requested instance is not valid or is not running.
    The root cause was that: java.sql.SQLException: [Macromedia] [SQLServer JDBC Driver] the requested instance is not valid or is not running.

    The "instance", which I interpret as meaning the database instance, is "machinename\SQLExpress" (it is a so-called "named instance").  That's what I enter in the "Server" field of the display (data & Services-> sources-> Microsoft SQL Server).

    However, I am able to create an ODBC data source name in Windows using the driver Microsoft SQL Server Native Client Version 09.00.3042 and the same instance, "machinename\SQLExpress".

    Does anyone have any ideas as to what is wrong?

    Try to use the domain name TCP/IP (or IP address) and port instead of the info of the connectivity of Windows style.  You may need to enable TCP/IP as a network on the DB server protocol well (I think it is disabled by default on SQL Express Ed).

    --

    Adam

  • create a new user with password expire - problem SQL Developer

    Hi people,

    I use RDBMS 11.2.x on Solaris and Linux, and in the face of a problem that I hope someone can help me with.

    Our policy is to create a new account with a temporary password and force them to reset the password at the first login.

    Therefore, I use: "create user < username > identified by < user > password expire...» »

    The problem is that many users use Oracle SQL Developer and do not have access to SQL * more.

    When I user logs in the database for the first time in SQL Developer, he just tells them that the account is locked.

    It does not say the password is expired, and it does not give them a way to change this (that I can find it).

    I'm not familiar with SQL Developer and hoped for someone who has had a similar problem can offer some suggestions.

    Thank you.

    Jim

    Change password dialog is no longer Pop Up after ORA-28001 (password expired) (Doc ID 811736.1)

  • SQL Developer on linux oe

    Hello everyone
    I'm having a problem with sql developer I have installed on my linux platform
    problem is when I connect to the database with sql developer, it gives me
    network adaptar error: can not connect
    I installed sql developer logged as root that's why I can't access it?
    If yes pls let me know the orders to allow my oracle user using sql developer. Because I'm unable to install with the user oracle sql developer
    pls help

    Aida says:
    Hello Hans,.
    Thanks for your reply. I'm a newbie to linux and the oracle environment. I try my best to answer your questions, pls I would like to know if it's OK.

    + - which distribution and version of Linux for database machine +.
    uname - a
    Linux localhost.localdomain 2.6.18 - 92.el5 #1 SMP killed May 23 22:17:30 EDT 2008 i686 i686 i386 GNU/Linux

    Distro? (RedHat EL 5.2? Oracle Enterprise Linux 4.7? Debian? ... surely you know than the one you downloaded...)

    >

    I'm using oracle 11g.

    -What distribution and version of Linux for the client machine (SQL Developer) +.
    same distribution as above, but I have installed with that connected root.

    root? (shudder)

    I understand that you're a novice. Please get into the habit to avoid root, unless your really don't need.

    Oracle and the root mix well.

    And my oracle database is only available for the 'Oracle' user. Currently, if I try to start with the user oracle sqldeveloper it throws exception. but its ok with root.

    Probably the permissions and other things. See note above. Perhaps a lack of "root.sh" after installation.

    >

    or indicate explicitly that the PREA process two configus on the same machine_
    They are on the same machine, but users as I mentioned is the difference. Oracle 11g is installed with the user 'oracle '. SQL developer is installed with the user "root".

    is SELinux and firewalls configured properly on both machines.
    I have little knowledge of the firewall. but when I installed linux I had selected the option no firewall. and I am able to issue beginning listener command and I am out of the suite:-
    Oracle@localhost ~ lsnrctl start $

    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on August 19, 2009 15:34:13

    Copyright (c) 1991, 2007, Oracle. All rights reserved.

    From/opt/oracle/111/bin/tnslsnr: Please wait...

    TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    System settings file is /opt/oracle/111/network/admin/listener.ora
    Log messages written to /opt/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
    Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost.localdomain) (PORT = 1521)))

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
    STATUS of the LISTENER

    --------------------------------------------------------------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start date August 19, 2009 15:34:17
    Uptime 0 days 0 h 0 min 1 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /opt/oracle/111/network/admin/listener.ora file
    The listener log file /opt/Oracle/diag/tnslsnr/localhost/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost.localdomain) (PORT = 1521)))
    The listener supports no services
    The command completed successfully

    This is why you cannot access it.

    After the database has been installled (using the Oracle username, no root), the sequence of booting (from the Oracle user) must be

    -set the environment
    source (space dot) oraenv and pass it a valid SID (from / etc/oratab)
    -start the receiver
    lsnrctl start
    -Start the database
    sqlplus / as sysdba
    startup
    output
    -Check that the service is available
    lsnrctl status

    >

    What level of version and the patch to the Oracle database.
    Oracle 11.1.0.6.0

    -is the database upward and running and join the listener_
    Database is running, but I do not know how to save it to the listener. Sorry

    What status, ports, services and SIDS don't report the listener +.
    I don't know how to find out this thing. pls let me know.

    Who comes form lsnrctl status.

    >

    _ - host, port and service/sid are you tent to connect to SQL Developer__


    I selected these options based on the supplied with sql developer tutorial: how to start the demonstration.

    Please let me know hoe to discover port and host?
    SID is orcl.
    the user is HR/hr
    Thank you

  • Issue of Oracle SQL Developer when you use VPN (Cisco)

    All,

    We have a somewhat obscure issue with connectivity SQL Developer to our databases of the laptop has distance from the employee.

    The database is hosted inside our firewall and when the employee is trying to connect to the database that it receives the following error message:
    + "Encountered error: an error has occurred to perform the requested operation: the network adapter could not establish the connection." Code provider 20 "+"

    I think maybe I saw the error at some point as well...
    Status: Failure-Test failed: IO error: the network adapter could not establish the connection

    Note: It gets this error when you are connected to our VPN & so that it can connect through SQL * more on that same basis. It gets the error without worrying if he uses the option to enter tnsnames in SQL Developer or if it uses the "basic" connection type

    What is interesting, is that if he disconnects the VPN, will turn off its wireless connectivity, then hard-wire in our network, it can connect, without issue.

    The strangest part for me, is that although it cannot connect to the database using SQL Developer, it can connect through SQL * more. It can ping the IP source address very well, he can tnsping database without problem, it can connect through SQL * Plus, it just cannot connect through SQL * Developer. Since SQL * more and tnsping work, I know that it can access the db server through port 1521, so I don't think it's a problem of port.

    Another weird thing: when it connects to our network via a 'old' virtual private network (VPN open) there is no problem.

    His machine is Windoz 64 bit (HP laptop) and it uses the latest version of the SQL Developer and a JAVA virtual machine.

    Also interesting: I also have a Windoz 64 bit computer laptop (Lenovo) and I don't have the same issues, as it does. I am however running an older version of SQL Developer and probably an older JVM.

    I dug around a bit, looks like maybe it has something to do with IPv6? No idea what to do next, except have my network guy look at the logs of firewall to try to grasp where the connectivity has been ignored.

    Any ideas or suggestions would be appreciated. I tried all sorts of things (giving him my file tnsnames.ora and sqlnet.ora, manually editing these files, try IP addresses instead of host names, host names I tried with the doman.org extensions, etc.).

    Still, any suggestion would be appreciated and I thank very you much.

    Rich

    Published by: rmurnane on October 23, 2012 10:58

    If it is IPv6, you can try adding

    AddVMOption -Djava.net.preferIPv4Stack=true
    

    at \sqldeveloper\bin\sqldeveloper.con

  • Fault of commands running in the back ground with sql developer

    Hi all

    I am new user of oracle sql developer. I started using it and found interseting. It is very easy, just using the GUI interfaces. what I do I can do using the interface rather than use commnads. makes my job easier. But here begins my concern

    If I continue to use the tools of one day that I do not know the commands that are run in fact.
    Are there any thought in a way that i can look at this as each commands or queries that are run in the back ground to my statement in the foreground

    Hello

    If you really want to see the SQL and PL/SQL executed for a given connection, you can try the following:

    1. Tools-> monitor Sessions...
    2. Select a connection for a user with the appropriate privileges (for example, must be able to run DBMS_MONITOR)
    3. in the list of sessions, right click on a session of interest, select the tracing Session and click on apply
    4. After completing the desired on the connection of interest activity, close the connection.
    5. open the trace file in SQL Developer (file-> open, or drag and drop it) - make sure that the drop-down list filter is set to all - to see the SQL code.
    6. choose one of the four views of the data in the trace file tabs: list, tree, statistics, history

    Step 5 is easy if the DB is local. For example, with Oracle 10 g Xe on Windows, find the most recent file of the truth and reconciliation Commission in a directory like

    C:\oraclexe\app\oracle\admin\XE\udump

    For a remote database, you will need to copy the TRC on a shared network drive or ftp to your local machine.

    If you just want to see orders DDL that you manipulate object DB connection browser tree definitions or in the object viewer Actions list, interface user provides usually a SQL tab so that you can view the SQL code before clicking the button apply.

    Hope this helps,
    Gary
    SQL development team

  • SQL Developer debugger does not start

    I found a strange behaviour, while debugging PL/SQL stored procedures using SQL Developer version 4.1.0.19 on Ubunto 12.04 LTS. The debugger works fine for all the bases of my company, except one. When I start a debugging session in this database, the debbuger let go forever and never debug dialog box open. When I use another IDE, for example, PL/SQL Developer of AllroundAutomations on Windows 7, the debugger works very well. I used the same user database with all necessary Preobrajensky. First I thought it was a bad configuration of the database, but as I could start with another IDE debugging sessions, I think that this is not the case. So, I would like to know if someone could help me understand what is happening.

    Captura de tela de 2015-05-12 17:09:15.png

    We opened a request for support at Oracle and they offer us to turn on an earlier version of the debugger to work around the problem:

    Add at the end of the file line-by-line ide.properties:

    DatabaseDebuggerDisableJDWP=true


    The ide.properties file can be found here (on Windows XP):

    C:\Documents and Settings\\Application Data\SQL Developer\system${VERSION} \o.sqldeveloper${SYSTEM_VERSION}


    or here (on Windows 7):

    C:\Users\\AppData\Roaming\SQL Developer\system${VERSION} \o.sqldeveloper.${SYSTEM_VERSION}

    for Linux users:

    $HOME/.sqldeveloper/system${VERSION}/o.sqldeveloper.${SYSTEM_VERSION}/ide.properties

    It works!

  • How to change the password of a schema by using Oracle SQL Developer

    Hi need to change the password of a schema by using Oracle SQL Developer, how can I do?

    or maybe http://www.thatjeffsmith.com/archive/2012/11/resetting-your-oracle-user-password-with-sql-developer/

  • Download SQL Developer error

    Dear Sir

    I just finished my training for Oracle Financial Consultant, I need to download SQL Developer to learn and run the queries.

    I am download from the following link

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/sqldev-EA-download-486950.html

    Download

    Oracle SQL Developer for 32-bit Windows (this zip file contains the JDK1.6.0_11)
    (203 M)

    To install and run:
    -Download the file above
    -Extract sqldeveloper.zip in any folder, using the folder names
    -In this folder, open the sqldeveloper folder
    -Double-click sqldeveloper.exe

    But when I run the application it gives me following error

    "The program can't start because MSVCR71.dll is missing on your computer. Try reinstalling the program to fix this problem.

    even if I installed it twice. but the same error.

    Kindly help me AEAP.

    Thank you

    Hi dazzle.

    Check out this thread in the forum on a similar question:
    Re: Sqldeveloper - Windows 7 64 bit - cannot start

    Kind regards
    Gary
    SQL development team

  • ERROR: Cannot open the data source for the user

    Hello, I followed the instructions in the URL below

    http://gavinsoorma.com/2010/02/GoldenGate-installation-Oracle-11g-on-Red-Hat-Linux/

    and I get the ERROR: cannot open the data source for the user

    I run the sql for the role but nothing

    any ideas please.

    Sun solaris operating system
    database version 9.2.0.7

    Previous question that you were:
    Where did you get the GoldenGate for Oracle 9i software?

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

    After...

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

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

    Connect.PNG

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

    AlterSession.PNG

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

    error.PNG

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

    The exception is indicative that the PDB is NOT open.

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

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

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

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

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

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

    Re: creating new users in oracle 12 c

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

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

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

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

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

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

    Re: Configuration of an oracle connection 12 c

    Re: creating new users in oracle 12 c

  • Role of the user of "SQL Developer" rESTful services

    Hello

    I am following the tutorial ""REST Data Services Installation, Configuration and Development Guide " "

    But it seems that I can't create a user with the role of "Developer SQL". I am running the below command, I specify the password. Then called the credentials file is created.

    But I can not yet connect SQL Developer using development REST with this credential.

    java-jar ords.war user test_developer "SQL Developer"


    There is no such role when I manually search for in the database. How can I create it?


    Maybe I should create a thread separate, but my second question is, why I need for RESTful to work services have both apex_al.xml and apex_rt.xml conf files?

    For what I understand, it is not necessary to have installed to use the services of APEX RESTful?

    dmdamiyo wrote:

    I am following the tutorial 'REST Data Services Installation, Configuration and Development Guide.

    But it seems that I can't create a user with the role of "Developer SQL". I am running the below command, I specify the password. Then called the credentials file is created.

    But I can not yet connect SQL Developer using development REST with this credential.

    java-jar ords.war user test_developer "SQL Developer"

    There is no such role when I manually search for in the database. How can I create it?

    As mentioned by rwendel is not an Oracle database user / role you create, but it is specific to ADR.

    You can share the link in the documentation where you follow this step?

    If you want to install ADR using Oracle SQL Developer and use the various functions of the ADR 3.0, you can watch the following for quick information on ADR 3.0 sessions:

    Maybe I should create a thread separate, but my second question is, why I need for RESTful to work services have both apex_al.xml and apex_rt.xml conf files?

    For what I understand, it is not necessary to have installed to use the services of APEX RESTful?

    Yes, Oracle APEX is not necessary for the accommodation of RESTful Web Services with ADR 3.0, it was necessary in pre ADR 3.0 versions.

    Reference:

    The 'apex_al.xml' is the configuration user DB APEX_LISTENER and 'apex_rt.xml' matches the configuration of the APEX_REST_PUBLIC_USER DB user. You don't have to configure these users (if you do not want to use Oracle APEX). These users are necessary only if you want to use the RESTful Services with Oracle APEX.

    Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/config_file.htm#BABHAJDE

    If you do not want to use Oracle APEX, then just configure the users ORDS_PUBLIC_USER and ORDS_METADATA.

    Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/install.htm#CHDGACJC

    Kind regards

    Kiran

  • Cannot display the results in SQL Developer

    Hello Experts - I installed Oracle SQL Developer, just ran simple query. Nothing appears in the results window. Can you please let me know why?

    Select * of the double

    Done «I installed...» "mean you use 4.1.0? Or is it an older version, perhaps even an Early Adopter version? Have you installed in an empty folder? Were there no migration of user settings step?  Did you run the SQL statement (even if it is technically incorrect, as posted here, I guess the Oracle manages Analyzer) using the declaration of implementation (Ctrl + Enter) or run (F5) Script?

    So, you do not have much to do, but...

    1. try to use the latest version of production, installed in an empty folder.  In fact, the 4.1.1 patch comes out.

    2. try to click on the little black down, arrow down to the left of the box of the spreadsheet to see if that exposes a results pane.

    3. try window > Windows reset factory settings if you think that the layout of fenestration of the product is somehow screwed up.

    4. try view > log to see which makes its appearance in the statements of the Log pane tab when you run the SQL (version 4.1.0 & upward).

  • Cannot query the SQL Developer apex_application_files

    Request Express 4.2.5

    SQL workshop

    I use a function table to analyze several files, delimited by tabs, that I downloaded and saved on the apex_application_files.  The strange thing is that when I run the following query in the SQL workshop and the schema that owns the function table, then it returns the correct results.  However, when I try to do the same on the SQL Developer as the user who owns the table function it returns no result.  A short, generic version of the base query is:

    SELECT * from apex_application_files

    Is there some kind of definition I need to put in SQL Developer, that tempt me to appear as a certain user APEX, so that I can get results when I run the above query?

    I was able to get the data I need questioning wwv_flow_file_objects$ of in SQL Developer.

Maybe you are looking for

  • I want to delete cookies, except one, when I go out. Is this possible?

    I have a web site that if their cookie is deleted, I must answer several questions of security to get to where I want to be. When I'm out FireFox I want to delete all cookies EXCEPT this one. Is this feasible? Thank you.

  • Priority of management style?

    I want to use VerticalFieldManager to be center aligned horizontally, use the full available width. Therefore, I tried the following code: middleMgr = new VerticalFieldManager(Manager.FIELD_HCENTER | Manager.USE_ALL_WIDTH); However, the above code do

  • virus-free files

    Hi... is thr any body can give me a tip on hw Safe download and install diablo 2 lord of destruction free? IV tried to download it from no matter which site several times but it only gives me headaches... software malware, viruses, and evrything else

  • LifeCam HD-3000 is not recognized on faceboock

    I have my LifeCam HD-3000qui does not work on faceboock, it does not completely install looking for l "help or people who have the same problem

  • Viewobject programmatically insert.

    HelloIt's my use case. I need to insert data into a table at the click of the button. To do this, I did the following steps: (1) I created a method in the module of the application. (I've hard-coded the data to insert)(2) I exposed in the client inte