Grant execute on javaclass is not working

I have successfully compiled a java class in schema two which provides a connection to an OEM data source. I subsequently compiled another java class, also in schema two, that uses the connection in the connection class and loads a temp table. Now, the connection class should really be in a different schema, so I recompiled it in schema one, changed the class name in schema two and then recompiled the one in schema two to essentially remove it from the picture.
When I tested my call specification to the second class, which loads the temporary table, I get an error, as expected because the connection class no longer exists in schema two.
On page 2-15 of the Java Developer's Guide 11g Release 1, it says:
    You can provide other users the right to run your class in the following ways:
        Using the loadjava -grant option:
        Using the following command:
            SQL> grant execute on myclass to scott;However, when using the second option (as the user of schema one where I just recompiled it), I get a message that the class does not exist. I have done everything I can think of to confirm that the name I have entered is correct including:
select dbms_java.shortname('long classname') from dual;Is this not really an acceptable way to grant execute privileges on a java source to another schema?
Thanks,
Gregory

Hi,
you can use quotation mark, because the grant internally transform your javaclass in uppercase.
So :
grant execute on "myclass" to scott ;
will succeed as
grant execute on myclass to scott ;
will not ;o)
regards,
Virgile CREVON
Edited by: user513154 on 12 juil. 2011 04:58

Similar Messages

  • Transfer from Lightroom to Photoshop for executing a picture does not work

    Execute a picture from Lightroom to Photoshop das not work. Picture is not opened in Photoshop. What could be the reason?

    First: Go to <Edit >Preferences >General tab / Prompts and click on <Reset all Warning Dialogs>.
    Then do Edit in Photoshop again. Do you get a dialog box? What does it say?
    And which version of Photoshop is this?
    If it is not CS6 but a prior version, you have to select <Render using Lightroom>; <Open anyway> doesn't work with CS5 or earlier CS.
    The reason is that CS5 has not the latest ACR, but Lr 4.3 has. That means that CS5 cannot open a Raw image sent from Lr 4.3.
    The solution is to let Lr 4.3 create the PSD (or TIFF) and send it to CS5. This is done by selecting <Render using Lightroom>.

  • Grant sysdba to rmanuser did not work but later worked.Need explnatn pls...

    Hi Members,
    I'm running a test 9i RAC. I'm trying to setup RMAN to backup data from RAC. One of the requirements to setup RMAN recovery catalog (database) is to grant/create a user on target database with sysdba privileges. Hence i created a user named 'RMANUSER' with default tablespace users and temporary tablespace temp.
    When I try to grant sysdba to RMANUSER, it says granted but when i check v$pwfile_users, RMANUSER is not listed.
    instance connected to is orcl1:
    conn sys/pwd@orcl as sysdba
    SQL> show parameters remote_login
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    SQL> grant sysdba to rmanuser;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDB SYSOP
    SYS TRUE TRUE
    I tried the above even on orcl2 with no result. I read somewhere that I need to create a new password file with orapwd and hence i created new password file on both instances.
    on orcl1:
    orapwd file=/opt/oracle/product/9.2.0/dbs/orapworcl1 pwd=password entries=5
    on orcl2:
    orapwd file=/opt/oracle/product/9.2.0/dbs/orapworcl2 pwd=password entries=5
    The good thing is I renamed the old files and created new orapw files.
    After creation of new files, When I try to grant sysdba to rmanuser, I received the following error: ORA-01999:password file mode has changed from 'exclusive' to 'shared'
    But show parameters remote_login was still "exclusive"
    SQL> show parameters remote_login
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    Now, there were no users in v$pwfile_users
    SQL> select * from v$pwfile_users;
    no rows selected
    Also I was unable to connect to sys with sysdba privileges. I was only able to connect without sysdba.
    SQL> conn sys/oracle@orcl
    Connected.
    SQL> conn sys/oracle@orcl as sysdba
    ORA-01031: insufficient privileges
    SQL> conn sys/oracle@orcl
    Connected.
    SQL> shutdown immediate
    ORA-01031: insufficient privileges
    I was also unable to shutdown the database. Hence I reverted back to the old orapw files on both instances(servers). Then I just tried if the grant sysdba to rmanuser would work, and luckily it worked.
    SQL> grant sysdba to rmanuser;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDB SYSOP
    SYS TRUE TRUE
    RMANUSER TRUE FALSE
    But I'm unable to understand as to how it worked now. The orapw files are attached below for your reference. Any inputs are greatly appreciated. Thanks in advance. orapworcl1 is the old one which works now. orapworcl1-new was the newly created file which does not work and gives insufficient privileges error.
    [root@sunny1pub ~]# cat /opt/oracle/product/9.2.0/dbs/orapworcl1
    ]\[ZORACLE Remote Password file ORCL  INTERNAAB27B53EDC5FEF41 SYS 8A8F025737A9097A _�RMANUSED1C5D743B0B4A7F0
                                                                                                                   �
    [root@sunny1pub ~]# cat /opt/oracle/product/9.2.0/dbs/orapworcl1-new
    ]\[ZORACLE Remote Password file INTERNAAB27B53EDC5FEF41 SYS 8A8F025737A9097A
    [root@sunny1pub ~]#

    Thanks for your feedback. I think you got me wrong here. Even orapworcl1-new was orapworcl1 when i created and tested it. You could see the filenames in orapwd line. I just renamed it now after all the testing just to post it. I do understand that the file name needs to be orapworcl1 and orapworcl2 on both the instances for it to work. One more thing that i forgot to add is that all the below ones work:
    sql> conn sys/pwd@orcl
    connected
    sql> conn sys/pwd@orcl as sysdba
    connected
    sql> conn rmanuser/pwd@orcl
    connected
    sql> conn rmanuser/pwd@orcl as sysdba
    connected

  • HP Revolve 810 - HP Executive Tablet Pen Does Not Work

    Any suggestions as to how to get the Revolve 810 to recognize the Executive Tablet Pen in "tablet mode" to be able to take handwritten notes in an application like Microsoft One Note? I have been unable to get my HP Executive Tablet Pen to work with One Note since I purchased the laptop approx. a month ago?
    Any pointers/suggestions will be most appreciated.
    Thanks.

    He mentioned that it was a Revolve 810. That's an Enterprise product.
    Although I am an HP employee, I am speaking for myself and not for HP.
    Please click the little thumbs-up dealybopper to the lower right if my reply was helpful to you. Please mark Accept As Solution if it solves your problem. This will help others, too!

  • Using SXPG_CALL_SYSTEM  to execute Unix 'MV' command not working

    Here is the code (method - params begin with "p_").  This returns no error but yet the file is not moved (called in a test program).  Any ideas?
    DATA: lv_sourcepath TYPE rlgrap-filename,
            lv_targetpath TYPE string,
            lv_fname      TYPE rlgrap-filename,
            lv_path       TYPE rlgrap-filename,
            lv_paramstr   TYPE sxpgcolist-parameters,
            lv_status     TYPE extcmdexex-status,
            lv_execproto  TYPE TABLE OF btcxpm.
      " Get physical path to archive folder
      lv_targetpath = zcacl001_utilities=>get_appserver_path( 'ZDIR_KHRIS_INTF_ARCV' ).
      " Type casting needed for function module call below
      lv_sourcepath = p_sourcepath_in.
      " Split filename from path in source
      zcacl001_utilities=>parse_file_path( EXPORTING
                                              p_fullname_in   = lv_sourcepath
                                           IMPORTING
                                              p_filename_out  = lv_fname
                                              p_path_out      = lv_path ).
      " Concatenate filename to target path
      CONCATENATE lv_targetpath lv_fname INTO lv_targetpath.
      " Build parameter string
      CONCATENATE '-f' lv_sourcepath lv_targetpath INTO lv_paramstr SEPARATED BY space.
      CALL FUNCTION 'SXPG_CALL_SYSTEM'
        EXPORTING
          commandname                = 'mv'
          additional_parameters      = lv_paramstr
          trace                      = space
        IMPORTING
          status                     = lv_status
          exitcode                   = p_exitcode_out
        TABLES
          exec_protocol              = lv_execproto
        EXCEPTIONS
          no_permission              = 1
          command_not_found          = 2
          parameters_too_long            = 3
          security_risk                  = 4
          wrong_check_call_interface = 5
          program_start_error            = 6
          program_termination_error      = 7
          parameter_expected         = 8
          too_many_parameters            = 9
          illegal_command                = 10.

    Try to put this type of entry in the Object request.
    Prog Obje Objectname
    R3TR EXCC commandname
    I am not sure, weather this will work or not.
    Regards,
    Naimesh Patel

  • Javascript in 'Execute when page loads', not working when paging results grid

    I have some Javascript in an Apex page, running in 'Execute when page loads'. It does some stuff to a results grid. It works fine on page load, but then doesn't run when I page through, or sort the grid. I presume this is because the grid is being sorted / paged using Ajax, which means the page isn't being fully loaded.
    Is there anywhere else I can put the code so it gets applied to the grid on sorts and paging?

    Thanks, works perfectly! I used the After Refresh and just selected the region I wanted to trigger the Javascript, and it works great. As you say the scope needs to be Dynamic.
    For anyone else reading this, something which caught me out was that my reports region was using the No Template setting, and the Dynamic Action didn't work, as it requires you to use a template which contains #REGION_STATIC_ID# - which is used by the dynamic action to identify the region. Once I switched to using a template, it worked fine.

  • Executing jar file does not work

    i am using net beans 4.1, jdk 1.4.2_09 and jre 5.0 update 4.
    i create a jar in netbeans, exit netbeans, go to the directory where the jar has been placed and double click the jar file to run it. when i do so i get an hour glass momentarily and then nothing. the program does not execute. i hope i am not missing something very basic here. i assume i can run the program by double clicking the jar file ....
    i have checked in netbeans to insure that all classes are in the jar, the manifest looks good, etc, etc. it looks like all the pieces of the jar are in place but the program will not run. please help.
    thanks,
    dave ...

    Directory of C:\JAVA\PROJECTS\DIST
    10/04/2005 10:09 AM <DIR> .
    10/04/2005 10:09 AM <DIR> ..
    10/04/2005 10:09 AM 25,203 gift_email.jar
    1 File(s) 25,203 bytes
    2 Dir(s) 124,456,144,896 bytes free
    C:\JAVA\PROJECTS\DIST>echo %CLASSPATH%
    c:\java\projects\dist;c:\Program Files\netbeans-4.1\ide5\modules\ext
    C:\JAVA\PROJECTS\DIST>java -jar gift_email.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: org/netbeans/lib/awtextra/AbsoluteLayout
    at giftrecpt.email.gift_email_gui.initComponents(gift_email_gui.java:38)
    at giftrecpt.email.gift_email_gui.<init>(gift_email_gui.java:24)
    at giftrecpt.email.gift_email_gui.main(gift_email_gui.java:142)
    C:\JAVA\PROJECTS\DIST>
    i added the location of the absolutelayout method to the classpath but still get the error. i also included this same reference in netbeans to the project under run-time libraries. so it seems that i have added the necesary references but still no luck. what could i be missing? the manifest makes no mention of class path. here it is below:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.2
    Created-By: 1.4.2_09-b05 (Sun Microsystems Inc.)
    Main-Class: giftrecpt.email.gift_email_gui
    X-COMMENT: Main-Class will be added automatically by build
    thanks,
    dave ...

  • Execute calc in background not working

    Essbase version 9.3.1 running on Red Hat Linux. When I'm in EAS and check the "Execute in the background" box I get the message if what launched in the background with a Process ID but no calc kicks off, nothing in the app log file, nothing shows up when I look at background processes, no session when I look at server. The calc runs fine if I don't select to run in the background.
    Anyone else run across this or am I missing something?

    I had the identical issue and received the below fix from Oracle Support, which worked. I thought I'd put the fix up here, since the forums were my first stop when I had the problem.
    1. There will be a file called Workstatus.xml in the EAS server
    2. Search for this file
    3. Rename the file or cut and paste this file to a different location.Restart the EAS server
    4. Run the calc in background it will work fine
    And it did! This was on Windows Server 2003, Essbase 9.3.1.2.
    Thanks,
    -Another Rob

  • "GRANT EXECUTE ANY PROCEDURE TO " does not work in some cases

    Hello,
    I some of my PL/SQL-packages I'm using DBMS-packages.
    Because I don't want to grant access for every single package, I granted EXECUTE ANY PROCEDURE to the user/schema of my packages.
    This did work in several installation.
    But for what reason ever, in one installation DBMS_RANDOM cannot be used (DBMS_RANDOM must be declared). If I explicitly grant execute on this package, it works. When I revoke it and renew the ANY PROCEDURE, it doesn't again.
    What's wrong.
    Version 11.2.0.2 on Win2008R2
    Regards,
    Mynz

    Mynz wrote:
    Hello,
    I some of my PL/SQL-packages I'm using DBMS-packages.
    Because I don't want to grant access for every single package, I granted EXECUTE ANY PROCEDURE to the user/schema of my packages.
    This did work in several installation.
    But for what reason ever, in one installation DBMS_RANDOM cannot be used (DBMS_RANDOM must be declared). If I explicitly grant execute on this package, it works. When I revoke it and renew the ANY PROCEDURE, it doesn't again.
    What's wrong.privilege acquired via ROLE do NOT apply within named PL/SQL procedures/functions

  • F7 & F8 key is not working in forms 10g

    Dear all,
    I am working with oracle application version 10.1.2.3.0, installed on windows server 2003 and database 10gR2 on windows server 2008. When i open any form and tries F8 / F7 to executed & enter
    query, its not working. But its owrking with with F11 and shitp + F11. I want to use F7 & F8 for enter/execute the query. I have same another same environment with same configuration, there F7
    & F8 is working fine. To enable these keys i rename fmrpcweb.res to fmrweb.res. But guide me with your sincere suggessions & experience.
    Regards,
    Ahmed.

    According to Metalink's Developer 2.1 Release Notes (Doc ID #90090.1), section 4.2.1, "TABLE_FROM_BLOCK Built-In":
    DO NOT use the TABLE_FROM_BLOCK built-in described in the
    documentation. It is reserved for internal use only. No support
    for this built-in will be provided under any circumstances.
    If you used this built-in, you will need to recode your from(s) for 10g.
    Message was edited by:
    Mark Roberts

  • Drag & Drop of a file not working in Ubuntu & other linux

    Hi All,
    I am working on a project,in which it has the requirement of dragging the files
    from a JList present inside a JFrame to the desktop.
    First I tried to get a solution using dnd API but could not. Then i googled and i got an application which is
    working perfectly in both Windows and MAC Operating systems, after I made few minor changes to suit my requirements.
    Below is the URL of that application:
    http://stackoverflow.com/questions/1204580/swing-application-drag-drop-to-the-desktop-folder
    The problem is the same application when I executed on Ubuntu, its not working at all. I tried all available options but could not trace out the exact reason.
    Can anybody help me to overcome this issue?
    Thanks in advance

    Hi,
    With the information you provided and through some information found on google i coded an application. This application is able to do the drag and drop of an item from the Desktop to Java application on Linux Platform, but i am unble to do the viceversa by this application.
    I am including the application and the URL of the information i got.
    [URL Of Information Found|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4899516]
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.datatransfer.DataFlavor;
    import java.awt.datatransfer.Transferable;
    import java.awt.datatransfer.UnsupportedFlavorException;
    import java.awt.dnd.DropTarget;
    import java.awt.dnd.DropTargetDragEvent;
    import java.awt.dnd.DropTargetDropEvent;
    import java.awt.dnd.DropTargetEvent;
    import java.awt.dnd.DropTargetListener;
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    import javax.swing.DefaultListModel;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.SwingUtilities;
    import javax.swing.TransferHandler;
    import javax.swing.WindowConstants;
    public class DnDFrame extends JFrame implements DropTargetListener {
         private DefaultListModel listModel = new DefaultListModel();
         private DropTarget dropTarget;
         private JLabel jLabel1;
         private JScrollPane jScrollPane1;
         private JList list;
         List<File> files;
         /** Creates new form DnDFrame */
         public DnDFrame() {
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              initComponents();
              dropTarget = new DropTarget(list, this);
              list.setModel(listModel);
              list.setDragEnabled(true);
              list.setTransferHandler(new FileTransferHandler());
         @SuppressWarnings("unchecked")
         private void initComponents() {
              GridBagConstraints gridBagConstraints;
              jLabel1 = new JLabel();
              jScrollPane1 = new JScrollPane();
              list = new JList();
              setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
              getContentPane().setLayout(new GridBagLayout());
              jLabel1.setText("Files:");
              gridBagConstraints = new GridBagConstraints();
              gridBagConstraints.gridwidth = GridBagConstraints.REMAINDER;
              gridBagConstraints.anchor = GridBagConstraints.WEST;
              getContentPane().add(jLabel1, gridBagConstraints);
              jScrollPane1.setViewportView(list);
              gridBagConstraints = new GridBagConstraints();
              gridBagConstraints.gridwidth = GridBagConstraints.REMAINDER;
              gridBagConstraints.fill = GridBagConstraints.HORIZONTAL;
              getContentPane().add(jScrollPane1, gridBagConstraints);
              pack();
         public void dragEnter(DropTargetDragEvent arg0) {
         public void dragOver(DropTargetDragEvent arg0) {
         public void dropActionChanged(DropTargetDragEvent arg0) {
         public void dragExit(DropTargetEvent arg0) {
         public void drop(DropTargetDropEvent evt) {
              System.out.println(evt);
              int action = evt.getDropAction();
              evt.acceptDrop(action);
              try {
                   Transferable data = evt.getTransferable();
                   DataFlavor uriListFlavor = null;
                   try {
                        uriListFlavor = new DataFlavor("text/uri-list;class=java.lang.String");
                   } catch (ClassNotFoundException e1) {
                        // TODO Auto-generated catch block
                        e1.printStackTrace();
                   System.out.println("data.isDataFlavorSupported(DataFlavor.javaFileListFlavor: " +
                             data.isDataFlavorSupported(DataFlavor.javaFileListFlavor) );
                   if (data.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) {
                        files = (List<File>) data.getTransferData(DataFlavor.javaFileListFlavor);
                        for (File file : files) {
                             listModel.addElement(file);
                   }else if (data.isDataFlavorSupported(uriListFlavor)) {
                        String data1 = (String)data.getTransferData(uriListFlavor);
                        files = (List<File>) textURIListToFileList(data1);
                        for (File file : files) {
                             listModel.addElement(file);
                        System.out.println(textURIListToFileList(data1));
              } catch (UnsupportedFlavorException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              } finally {
                   evt.dropComplete(true);
         private static java.util.List textURIListToFileList(String data) {
              java.util.List list = new java.util.ArrayList(1);
              for (java.util.StringTokenizer st = new java.util.StringTokenizer(data,"\r\n");
              st.hasMoreTokens();) {
                   String s = st.nextToken();
                   if (s.startsWith("#")) {
                        continue;
                   try {
                        java.net.URI uri = new java.net.URI(s);
                        java.io.File file = new java.io.File(uri);
                        list.add(file);
                   } catch (java.net.URISyntaxException e) {
                   } catch (IllegalArgumentException e) {
              return list;
         private class FileTransferHandler extends TransferHandler {
              @Override
              protected Transferable createTransferable(JComponent c) {
                   JList list = (JList) c;
                   List<File> files = new ArrayList<File>();
                   for (Object obj: list.getSelectedValues()) {
                        files.add((File)obj);
                   return new FileTransferable(files);
              @Override
              public int getSourceActions(JComponent c) {
                   return COPY;
         static {
              try {
                   uriListFlavor = new
                   DataFlavor("text/uri-list;class=java.lang.String");
              } catch (ClassNotFoundException e) {
                   e.printStackTrace();
         private class FileTransferable implements Transferable {
              private List<File> files;
              public FileTransferable(List<File> files) {
                   this.files = files;
              public DataFlavor[] getTransferDataFlavors() {
                   return new DataFlavor[]{DataFlavor.javaFileListFlavor,uriListFlavor};
              public boolean isDataFlavorSupported(DataFlavor flavor) {
                   if(flavor.equals(DataFlavor.javaFileListFlavor) || flavor.equals(uriListFlavor))
                        return true;
                   else
                        return false;
              public Object getTransferData(DataFlavor flavor) throws
              UnsupportedFlavorException, java.io.IOException {
                      if (isDataFlavorSupported(flavor) && flavor.equals(DataFlavor.javaFileListFlavor)) {
                        return files;
                   }else if (isDataFlavorSupported(flavor) && flavor.equals(uriListFlavor)) {
                        java.io.File file = new java.io.File("file.txt");
                        String data = file.toURI() + "\r\n";
                        return data;
                   }else {
                        throw new UnsupportedFlavorException(flavor);
         private static DataFlavor uriListFlavor;
         static {
              try {
                   uriListFlavor = new
                   DataFlavor("text/uri-list;class=java.lang.String");
              } catch (ClassNotFoundException e) {
                   e.printStackTrace();
         public static void dumpProperty(String name) {
              System.out.println(name + " \t" + System.getProperty(name) );
         public static void main(String[] args) {
              String[] props = {
                        "java.version",
                        "java.vm.version",
                        "java.vendor",
                        "os.name",
              "os.version"};
              for (String prop : props) {
                   dumpProperty(prop);
              Runnable r = new Runnable() {
                   public void run() {
                        DnDFrame f = new DnDFrame();
                        f.setVisible(true);
              SwingUtilities.invokeLater(r);
    }Please Suggest me in this.

  • Buttons at aplication toolbar are not working

    I created three buttons at selection screen and gave the following code at user-command:
    But the execute/create buttons are not working.
    Can anyone tell what could be the reason?
    REPORT  XXXXX
                      S E L E C T I O N - S C E E N                      *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: SA    FOR XXX-SA NO-EXTENSION NO INTERVALS,
                    SB    FOR XXX-SB NO-EXTENSION NO INTERVALS,
                    SC    FOR XXX-SC NO-EXTENSION NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK B1.
                     INITIALIZATION                                      *
    INITIALIZATION.
      SET PF-STATUS C_S.
                    AT SELECTION-SCREEN                                  *
    AT SELECTION-SCREEN.
                     AT USER-COMMAND                                     *
    AT USER-COMMAND.
      CASE SY-UCOMM.
        WHEN C_FCODE_CREATE.
          PERFORM CREATE.
        WHEN C_FCODE_ALL_OBJECTS.
          PERFORM show.
        WHEN C_FCODE_BACK.
          LEAVE PROGRAM.
      ENDCASE.
    *&      Form  CREATE
    FORM CREATE .
      DATA:LT_DYNPREAD LIKE DYNPREAD OCCURS 0 WITH HEADER LINE,
           L_CURSORFIELD(30),
           L_OK.
      GET CURSOR FIELD L_CURSORFIELD.
    CASE L_CURSORFIELD.
    IF SA IS NOT INITIAL.
    PERFORM CREATE1.
    ENDIF.
    ENDFORM.                    " CREATE

    Hi,
    This will not work as the PF_STATUS of selection screen is generated automatically during the generation of the program.
    In order to change the PF-STATUS of the selection screen you can use the FM RS_SET_SELSCREEN_STATUS or RS_EXTERNAL_SELSCREEN_STATUS.
    However I suggest that for your requirment you can create buttons on the selection screen as follows:-
    selection-screen : begin of line.
    selection-screen : pushbutton 25(21) y_p_upld user-command load
                       visible length 25.
    selection-screen : end of line.
    Incase you want the button on the application toolbar of the selection screen then please use the option
    SELECTION-SCREEN FUNCTION KEY n .
    On the selection screen toolbar you can assign upto 5 buttons.
    These buttons are already present but they are inactive.
    You can make them active by
    SELECTION-SCREEN: FUNCTION KEY 1,
                      FUNCTION KEY 2.
    Please see the F1 help on selection-screen for more details.
    Regards,
    Ankur Parab

  • OAF Jdeveloper do not work

    Hi, All
    I download patch 9878889 for R12.1.3. After opening by execute jDevW, it do not work properly, e, g, click menu, it response extremely slow, some menus, like Tools, the screen is frozen. My OS is Window 7 Professional. It works correct in my desktop with Window 7. Does anybody encounter the similar issue and any solutions?
    Any solutions will be appreciated in advance.
    Thanks.
    Rudoph.

    Hi Rudoph ,
    Which one you 're using 32 bit / 64 bit ?? also check this link might help you
    http://www.deltalounge.net/wpress/2010/02/jdeveloper-on-64-bit-windows7/
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                               

  • An update statement followed by a commit does not work

    Hi all,
    When I have these two statements executed together, it does not work.
    update booking set arrival_date = sysdate - 1
    where booking_no = '200500000018';
    commit;
    But when I first execute the first update statement, then comment it out, and then execute the commit statement, it works. Is that a bug or do I do something wrong or is it supposed that way? Oracle 9.2.0.7, Raptor on XP SP2.
    Thanks.
    ben

    Thanks Donal. I tried and it did not work. Maybe I missed something? I used the same script file that works in SQL+. When I did that in Raptor by clicking the exceute script button, I did not see any thing in the script output window. I verified that by selecting * from user_objects (I was trying to create a sproc) and no sproc was created. Then I ran the script in SQL+, and then ran the select * from user_objects again in raptor, I got one row back.
    ben

  • Grant execute to all custom stored procedures, not quite working

    I would like to grant execute permissions on all custom stored procedures to a group and have tried using this:
    USE myDB
    select 'GRANT EXECUTE ON ['+name+'] TO [mydomain\mydb] '  from sys.objects  where type ='P' and is_ms_shipped = 0
    It seems to execute without error, I see the full list of stored procedures I've created listed like this:
    GRANT EXECUTE ON [procUserInsert] TO [mydomain\mydb]
    However the stored procedure I added earlier, which didn't have any explicit rights set for it, does not show that the execute permission has been granted. Other stored procedures, where I had already granted execute to the group, remain as they were (which
    is expected). I'm viewing permissions via ssms, selecting the new stored procedure, then properties, permissions. If the grant failed there ought to be an error message...I don't get it. This is sql server 2005.

    It seems like you were only printing the statement (SELECT), but it is unclear if you executed them.
    You could try granting EXECUTE permission at either the DB scope or SCHEMA scope. That would grant EXECUTE on all modules (i.e. SPs, UDFs, etc.) at the chosen scope, including modules created in the future. For example:
    -- Grant EXECUTE permission on all DB
    GRANT EXECUTE TO [myDomain\mydbGroup1]
    go
    -- Grant EXECUTE permission on schema mySchema
    GRANT EXECUTE ON SCHEMA::[mySchema] TO [myDomain\mydbGroup2]
    go
    I hope this helps.
    BTW. The way you were creating the dynamic SQL for granting permissions to SPs individually is subject to 2<sup>nd</sup> order injection attacks. You should use quotename(name) in order to escape object names.
    -Raul Garcia
     SQL Server Security
    This posting is provided "AS IS" with no warranties, and confers no rights.

Maybe you are looking for

  • To enter Trading Partner data for vendor posting using SGL indicator

    Hi, I am trying to post a vendor document using f-02, with posting key 29, with a special GL indicator. I need to input the trading partner data. However, I could not find the field under "more data". There was no "further data" selection. I was also

  • I can't shuttdown my iphone 3gs

    the upper buton doesn't do anything and when I perss the home boton I'm getting the voice control. Please assist:)

  • CRM2007-Display an attribute set (Marketing ) on the header page of BP

    Display an attribute set (Marketing ) on the main view of the business partner Only the attributes of a certain attribute set should be displayed. The full mkt attrib tab is available in the standard solution. Example: We want to show the attributes

  • Prime Infrastructure to manage WLC 5760 with IOS XE 03.03.03

    Hi there Is IOS XE 03.03.03 on WLC 5760 to be managed via Prime infrastructure 2.1 or what version do I need? It seems to be not fully supported with 2.1... Thanks and best regards Dominic

  • Syncing Photos with reduced size

    Initially when I sync photos between my computer and iTouch, there is an option of whether to keep the original size of those photos. After I switched to a different folder to sync photos with iTouch, I do not have that option from iTune. can someone