Use the utilities from the Oracle stored procedure

Hi all

I use Oracle Import to load the data from .dmp file to Oracle table.

Test/test leader IMP = Data .dmp fromuser = user1 touser = test tables = emp

But my requirement is to create a stored procedure that will import data into the table and identify the number of loaded records and how impossible to import.

Can I keep inside the procedure import statement?

Thank you.

No, not possible.

IMP is an exe like sql more who can evoke to the command prompt.

If you need all the actions on the imported... table export for example/test table, and then go further.

Tags: Database

Similar Questions

  • SSL mutual authentication using the Oracle stored procedure

    Hello

    DB version:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    Is possible to perform mutual authentication SSL uses the Oracle stored procedure?
    I read articles and forums saying that it is not a good approach to call the Web service using the Oracle procedure (and I don't know if it's even possible authentication using procs). But I would like to know if it's possible and how.

    In other is words there a way to incorporate the client certificate information into a procedure that calls a Web service.

    I read the articles to do it in JAVA or .net. But please advice how we can achieve using Oracle procedures.

    Thank you.

    934451 wrote:

    Is possible to perform mutual authentication SSL uses the Oracle stored procedure?

    To learn more. SSL what for?

    Oracle PL/SQL only supports client standard TCP sockets. However, interface for HTTP, Oracle PL/SQL also supports HTTPS - which requires the certificates of authentication of the server to be stored in a portfolio of Oracle web and used during the transmission via HTTPS. See the code example {message identifier: = 1925297} for more details.

    I read articles and forums saying that it is not a good approach to call the Web service using the Oracle procedure (and I don't know if it's even possible authentication using procs).

    Forums and articles written by idiots. For idiots.

    And no, I'm not to embellish my response to this pitch that you met. It is false. It is written by ignorant people who don't know ANYTHING about the use of Oracle and PL/SQL. And feel free to forward my response to these idiots. They find me here if they want to argue...

    As an example of how to call a web service, see {message identifier: = 10158148} and {message: id = 10448611}.

  • Mutex in the oracle stored procedure... How to get there?

    Hello

    I have the series of insert/update statements in an oracle stored procedure. The stored procedure is called composite Oracle SOA.

    The procedure works like this:

    a. download a request and checks to see if the file is already in the database. If she's here, we update, elsewhere insert.

    b. that I check for 10 tables and make the necessary inserts/updations.

    But sometimes, when I get the huge volume of transactions in the stored procedure, I see this violation of unique constraint violated due to lack of appropriate controls to ensure that no other parallel forum is trying to update the same record.

    How to do this so that no two execution of stored procedure doesn't work on the same record in the same table?

    Thank you!!

    Hello

    you might consider something like this

    create table t1(
      id number primary key,
      action varchar2(10),
      who varchar2(10)
    )
    ;
    
    declare
      p_id number           := 1;
      p_action varchar2(10) := 'Insert';
      p_who varchar2(9)     := 'Session 1';
      --
      procedure update_t1(p_id number, p_action varchar2, p_who varchar2) is
      begin
        update t1 set action = p_action, who = p_who where id = p_id;
      end;
    begin
      -- try to insert or update row for PK p_id
      merge into t1 d using (
        select
          p_id     id,
          p_action action,
          p_who    who
        from dual
      ) s on (d.id = s.id)
      when matched then
        update set d.action = 'Update', d.who = s.who
      when not matched then
        insert values (s.id, s.action, s.who)
      ;
    exception when dup_val_on_index then
      -- insert is no option, update when lock is released
      update_t1(p_id, 'Update', p_who);
    end;
    /
    
    drop table t1 purge
    ;
    

    Scenario (two sessions trying to insert/updated updated for id 1):

    session 1 inserts ("1" "insert" "Session 1") and the data is not visible to the session 2

    session 2 inserts same id but crashes because of the locking session 1

    validation of the session 1

    session 2 insert fails but who manages updating instead

    session 2 commits, values for the id 1 is now ('1' 'Update' "Session 2")

  • Pass an array of bytes to the oracle stored procedure

    I have a problem with moving from byte array in Oracle stored procedure as an input parameter by using odp.net.

    Here is the signature of the stored procedure:

    SOMEPROCEDURE(session IN NUMBER, data IN RAW)

    Here is c# code, which calls the procedure:

    var cmd = new OracleCommand("SOME_PROCEDURE", _connection);

    cmd.CommandType = CommandType.StoredProcedure;

    var bt = new byte[]{1,68,0,83,128,1};

    OracleParameter sessionId = new OracleParameter("dbSessionId", OracleDbType.Decimal, new OracleDecimal(_dbSessionId), ParameterDirection.Input);

    OracleParameter data = new OracleParameter("statusData", OracleDbType.Raw, new OracleBinary(bt), ParameterDirection.Input);

    cmd.Parameters.Add(sessionId);

    cmd.Parameters.Add(data);

    cmd.ExecuteNonQuery();

    This code does not (stored procedure throws exception, which cannot receive), because in byte array hadou number 128!, if I display 128 on another number, minus 128, it works great!

    What should I do?

    After some tests I found the solution. Initially, you cannot switch to the array of bytes via the odp.net stored procedure, if the table contains 127 large values.

    Yes, solution: 1. create the wrapper procedure

    procedure SOME_PROCEDURE_WRAPPER (p_session_id in number, p_data  in varchar2)
     is v_data raw(1024);
     rawdata raw(1024); 
     rawlen number;
     hex varchar2(32760);
     i number;
     begin
      rawlen := length(p_data);
      i := 1;
      while i <= rawlen-1
      loop 
     hex := substrb(p_data,i,2); 
         rawdata := rawdata || HEXTORAW(hex); 
         i := i + 2; end loop; 
         SOME_PROCEDURE(p_session_id , rawdata); 
     end;
    

    2 then need to modify the code c# in this way:

     var cmd = new OracleCommand("SOME_PROCEDURE_WRAPPER", _connection);
     cmd.CommandType = CommandType.StoredProcedure;
     string @string = statusData.ToHexString();
     OracleParameter sessionId = new OracleParameter("dbSessionId", OracleDbType.Decimal, new OracleDecimal(_dbSessionId), ParameterDirection.Input);
     OracleParameter data = new OracleParameter("statusData", OracleDbType.Varchar2,@string.Length, new OracleString(@string), ParameterDirection.Input);
     cmd.Parameters.Add(sessionId);
     cmd.Parameters.Add(data);
     cmd.ExecuteNonQuery();
    

    where

    public static string ToHexString(this byte[] bytes)
     { 
         if(bytes == null || bytes.Length == null)
               return string.Empty;
          StringBuilder hexStringBuilder = new StringBuilder();
          foreach (byte @byte in bytes)
          { 
              hexStringBuilder.Append(@byte.ToString("X2")); 
          } 
          return hexStringBuilder.ToString();
     }
    
  • Run the oracle stored procedure in CF8

    I'm running a procedure like this.

    < cfstoredproc procedure = "GetAction" datasource = "test_DSN" >
    < cfsqltype cfprocparam dbvarname "actionId" = "CF_SQL_INTEGER" = type = "en" value = "1" >
    < name cfprocresult = resultset 'actions' = '1' >
    < / cfstoredproc >

    and my stored procedure in oracle.

    create or replace function GetAction (actionId IN ACTION.ID%TYPE)

    OPERATION RETURN % ROWTYPE

    IS
    actions

    ACTION % ROWTYPE;

    Start

    Select *.

    IN actions

    Action WHERE ID = actionId.

    RETURN operations;

    GetAction end;

    then I get the error message like:
    ORA-01008: not all variables

    Please help me on this.

    Thanx

    If you want to return a result set (result of a query) of your PL/SQL, you will have to do what Daverms suggested and your function to convert a procedure and a cursor reference to return your result set. Your procedure should be contained in a package so that you can declare a ref cursor "globally" to make it accessible by CF.

    Oh, and don't forget to change your parameter for cfstoredproc procedure to add the name of the package for the proc name.

    Phil

  • Help the Oracle stored procedure

    I call result4 front end and itranno now, I want to call from back end that wt i hv 2 do.
    I want to find the Maximum iTranno of this profilebasicdetail

    Create or replace procedure Insert_profilebasicdetail(result1 in NUMBER,result in NUMBER,*result4* in)

    NUMBER)
    As
    v_IncKeyID NUMBER;
    v_tempkeyId NUMBER;

    CURSOR TempInsert IS
    SELECT ikeyid, iprofileid, iquestionid, vquestionans, cstatusindi, dmodifyon, imodifyby, iyear, isubprofileid
    OF profilebasicdetail
    WHERE isubprofileid = result and itranno = * result4 *;

    BEGIN

    SELECT MAX (NVL(iKeyID,0))
    IN v_IncKeyID
    OF profilebasicdetail;

    FOR r in TempInsert LOOP
    v_IncKeyID: = v_IncKeyID + 1;
    Insert into profilebasicdetail
    (ikeyid, iprofileid, iquestionid, vquestionans, cstatusindi, dmodifyon, imodifyby, itranno, iyear, isubprofileid)
    Select v_IncKeyID, r.iprofileid, r.iquestionid, r.vquestionans,
    r.cstatusindi, r.dmodifyon, r.imodifyby, 1.
    r.iYear, result1
    of profilebasicdetail
    where ikeyId = r.ikeyId;
    END LOOP;

    EXCEPTION
    WHILE others THEN
    lift;
    End;

    Hello

    Create or replace procedure Insert_profilebasicdetail(result1 in NUMBER,result in NUMBER,result4 in)

    NUMBER)
    As
    v_IncKeyID NUMBER;
    v_tempkeyId NUMBER;

    CURSOR TempInsert IS
    SELECT ikeyid, iprofileid, iquestionid, vquestionans, cstatusindi, dmodifyon, imodifyby, iyear, isubprofileid
    OF profilebasicdetail
    WHERE isubprofileid = result and itranno = (select max (itranno)
    of profilebasicdetail);

    BEGIN

    SELECT MAX (NVL(iKeyID,0))
    IN v_IncKeyID
    OF profilebasicdetail;

    FOR r in TempInsert LOOP
    v_IncKeyID: = v_IncKeyID + 1;
    Insert into profilebasicdetail
    (ikeyid, iprofileid, iquestionid, vquestionans, cstatusindi, dmodifyon, imodifyby, itranno, iyear, isubprofileid)
    Select v_IncKeyID, r.iprofileid, r.iquestionid, r.vquestionans,
    r.cstatusindi, r.dmodifyon, r.imodifyby, 1.
    r.iYear, result1
    of profilebasicdetail
    where ikeyId = r.ikeyId;
    END LOOP;

    -Maximum Tranno
    Select max (itranno)
    in result4
    of profilebasicdetail;

    EXCEPTION
    WHILE others THEN
    lift;
    End;

    -Pavan Kumar N

  • creation of report editor BI by oracle stored procedure

    Hello
    can someone provide me steps to create BI publisher report using the oracle stored procedure.

    Thank you
    Sri

    The sql in pipeline table function to return the dataset returned by the procedure in the form of a table.

    Take a look at the following:

    http://bipublisher.blogspot.com/2007/10/bi-Publisher-taking-it-to-next-level.html
    http://winrichman.blogspot.com/search/label/pipelined
    BI publisher to use the stored procedure

    Thank you
    BIPuser

  • Oracle stored procedure in the reports

    Hello

    How can I call oracle stored procedure in Oracle reports. The procedure takes a variable of type object and as a parameter out.

    Thank you
    Groult

    Create a package in your report and set a variable of this type of object in the package body.
    Write a procedure in your package that checks if your variable is empty, and if this is the case, call your db-procedure to fill the variable.
    For each value that you want to display in your report, create a functioncolumn that calls the formlery procedure written in your package and then returns the requested of your object type value. In the available build ontop the columns function created fields.

  • How to migrate from MySQL to Oracle stored procedure

    Hi all

    I've migrated mysql 5.1.42 - enterprise-gpl-advanced DB for oracle sqldeveloper 3.1.07 tool.

    DB objects migrate successfully except stored procedures.

    I checked .sql and files... Capture process not captured SQL stored procedures.

    Could you please suggest where I can check correct error or how to fix this.

    Thanks in advance.

    Hello

    SQL * Developer version you use is an old and you must use the latest version available from this link.

    Oracle SQL Developer

    However, even the v4 version does not support the migration of procedures stored as stated in this link - MySQL

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/supportedmigplatforms-086703.html

    You will need to manually convert the MySQL in Oracle format, stored procedures since even the "Scratch Editor" under "tools - migration '-doesn't have an option for MySQL conversion.

    The documentation includes details of the difference between MySQL and Oracle stored procedures-

    Oracle SQL Developer information for the migration of MySQL®

    in chapter Triggers and procedures stored

    Kind regards

    Mike

  • Re: "insufficient privileges" error when you run the Java stored procedure in another schema

    I get an "insufficient privileges" error when you run the Java stored procedure in another schema, see details below.  I don't know what are missing privileges (I already granted the EXECUTE privilege), suggestions?  -Thank you.

    Define a simple java class and deploy it as a Java stored procedure to test:


    Schema: User1

    test of the package;

    public class HelloWorld {}

    public HelloWorld() {

    Super();

    }

    public static String Hello () {}

    Return "HELLO";

    }

    }

    CREATE or REPLACE FUNCTION HELLO RETURN VARCHAR2 AUTHID CURRENT_USER AS LANGUAGE JAVA NAME ' test. HelloWorld.hello () return java.lang.String';

    Grant execute on USER2 HELLO

    Test the Java stored procedure through the PL/SQL function call (in the same schema):


    Schema: User1

    SET SERVEROUTPUT ON

    DECLARE

    v_Return VARCHAR2 (200);

    BEGIN

    v_Return: = User1. HELLO;

    DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);

    END;

    anonymous block filled

    v_Return = HELLO

    Test the Java stored procedure through the PL/SQL function call in a different pattern:


    Schema: USER2

    SET SERVEROUTPUT ON

    DECLARE

    v_Return VARCHAR2 (200);

    BEGIN

    v_Return: = User1. HELLO;

    DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);

    END;

    Error report-

    ORA-01031: insufficient privileges

    ORA-06512: at "User1." HELLO', line 1

    ORA-06512: at line 4 level

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to change the user name or password

    without the privilege appropriate. This error also occurs if

    trying to install a database without the need for employment

    access privileges.

    When Trusted Oracle is configure in DBMS MAC, this error may occur

    If the user has been granted the privilege necessary for a higher label

    that the connection is active.

    * Action: Ask the database to perform the operation or grant administrator

    the required privileges.

    For users Trusted Oracle get this error, well that granted the

    the privilege that is suitable for the top label, ask the database

    administrator to grant the privilege to the appropriate label.

    You have created the function with AUTHID CURRENT_USER, which means that the function is executed with the rights of the applicant (but not with the rights of the author). This means that the applicant must have grants (directly or through roles) on all used/accessible objects in the service. In your case the user USER2 has not granted with EXECUTE on the class/source Java test. Class HelloWorld, causing the ORA-01031 exception. You create service without AUTHID CURRENT_USER (i.e. with AUTHID DEFINE, which is by default, if you do not have a specific reason to use AUTHID CURRENT_USER) or grant EXECUTE on JAVA test SOURCE. Class HelloWorld to User2.

    Dimitar

  • Apex. Submit-&gt; process to run one of the two stored procedures on page

    version: 4.2.5

    page one region: form on the stored procedure

    region of page two: form on the stored procedure

    The region button 'submit' for the region page 2:

    ACTION: Redirect URL

    Run Validations: YES

    Target URL: javascript:apex.submit ('CALL_MY_PROC');

    'Treatments' execute the stored procedure

    Point process: submit now - after calculations and Validations

    Enforcement process: once a Page visit (by default)

    ...

    Conditions

    When you press the button:-no Condition button

    Condition type: request = Expression 1

    Expression 1: REQUEST = CALL_MY_PROC

    The expected behavior is to call the stored procedure in the region on two page without invoking the other stored procedure.  Separation of concerns is desired, this button sends the form this proc, this button argues that form to this proc.  Nor should call each other, so to speak.

    The stored procedure is not called when I click 'Submit' (button from region to region page two).  How can I solve this?

    Thanks in advance for any guidance.

    -abe

    Solution: the status... are not REQUEST =

    -abe

  • After changing the orainventory place im unable to connect using the oracle user

    Hello

    IM using oracle 12 c on rhel 6 after correctly installing the software, I changed the location of oravinventory in/data/houses

    / u01/app/Oracle

    After making these changes im is no longer able to connect using the oracle user...

    also I back return changes I had made to the orainventory folder still unable to connect using the oracle user...

    any help on this would be greatly appreciated

    Sadia. wrote:

    Hello

    IM using oracle 12 c on rhel 6 after correctly installing the software, I changed the location of oravinventory in/data/houses

    / u01/app/Oracle

    After making these changes im is no longer able to connect using the oracle user...

    also I back return changes I had made to the orainventory folder still unable to connect using the oracle user...

    any help on this would be greatly appreciated

    Newer versions of oracle have implemented a great new technology to help solve problems, called "error messages."  Unfortunately, I can't find any reference to an error message named 'is no longer able to connect.

    And why you are moving your site from inventory?  When you have installed oracle, he put the inventory where he wanted.  There is no reason to try to change or replace.

  • Application is not able to connect using the Oracle SCAN chain

    Dear Oracle gurus

    We have 11g r2 11.2.0.3.0 2 cluster nodes

    We have configured the scanning using scan-vip single using/etc/hosts file resolution

    Our app to work correctly using the string of double local Vip (10g method)

    Scan works very well in the database server when we check using sqlplus

    Works very well in the database server Oracle SCAN

    Sqlplus DB - 1 test bench / testbed@my-db-scan:1521 / orcl

    When we use it below URL JDBC in Tomcat Version-6 then "doesn't allow not to connect even if there will connect a while but connectivity isn't stable when we reboot the tomcat"

    Hibernate.Connection.URL=jdbc:Oracle:Thin:@My-DB-Scan:1521/ORCL

    Application is not able to connect using the Oracle SCAN chain

    [May 13, 2013 12:48:24] [INFO] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: init() Called.
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: adding the data manager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 1: com.cmp.mysm.hibernate.core.system.staff.HStaffDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 2: com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 3: com.cmp.mysm.hibernate.core.system.profilemanagement.HProfileDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 4: com.cmp.mysm.hibernate.core.system.accessgroup.HAccessGroupDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 5: com.cmp.mysm.hibernate.systemaudit.HSystemAuditDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 6: com.cmp.mysm.hibernate.datasource.database.HDatabaseDSDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 7: com.cmp.mysm.hibernate.datasource.ldap.HLDAPDatasourceDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 8: com.cmp.mysm.hibernate.sessionmanager.HSessionManagerDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 9: com.cmp.mysm.hibernate.sessionmanager.HASMDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 10: com.cmp.mysm.hibernate.digestconf.HDigestConfDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 11: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 12: com.cmp.mysm.hibernate.externalsystem.HExternalSystemInterfaceDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 13: com.cmp.mysm.hibernate.servermgr.drivers.HDriverDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 14: com.cmp.mysm.hibernate.servermgr.drivers.subscriberprofile.database.HDatabaseSubscriberProfileDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 15: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 16: com.cmp.mysm.hibernate.servicepolicy.auth.HAuthServicePoilcyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 17: com.cmp.mysm.hibernate.servicepolicy.acct.HAcctServicePoilcyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 18: com.cmp.mysm.hibernate.servicepolicy.dynauth.HDynAuthServicePoilcyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 19: com.cmp.mysm.hibernate.servermgr.server.HServerDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 20: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 21: com.cmp.mysm.hibernate.servermgr.plugin.HPluginDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 22: com.cmp.mysm.hibernate.rm.ippool.HIPPoolDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 23: com.cmp.mysm.hibernate.servermgr.eap.HEAPConfigDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 24: com.cmp.mysm.hibernate.servermgr.alert.HAlertListenerDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 25: com.cmp.mysm.hibernate.servermgr.gracepolicy.HGracePolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 26: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 27: com.cmp.mysm.hibernate.radius.dictionary.HDictionaryDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 28: com.cmp.mysm.hibernate.radius.policies.accesspolicy.HAccessPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 29: com.cmp.mysm.hibernate.radius.policies.radiuspolicy.HRadiusPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 30: com.cmp.mysm.hibernate.radius.radtest.HRadiusTestDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 31: com.cmp.mysm.hibernate.radius.bwlist.HBWListBLManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 32: com.cmp.mysm.hibernate.rm.concurrentloginpolicy.HConcurrentLoginPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 33: com.cmp.mysm.hibernate.wsconfig.HWebServiceConfigDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 34: com.cmp.mysm.hibernate.diameter.dictionary.HDictionaryDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 35: com.cmp.mysm.hibernate.servicepolicy.diameter.naspolicy.HDiameterNASPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 36: com.cmp.mysm.hibernate.servicepolicy.diameter.creditcontrolpolicy.HCreditControlPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 37: com.cmp.mysm.hibernate.servicepolicy.diameter.eappolicy.HEAPPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 38: com.cmp.mysm.hibernate.servermgr.drivers.HDiameterDriverDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 39: com.cmp.mysm.hibernate.servermgr.transmapconf.HTranslationMappingConfDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 40: com.cmp.mysm.hibernate.diameter.diameterpolicy.HDiameterPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 41: com.cmp.mysm.hibernate.servicepolicy.rm.cgpolicy.HCGPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 42: com.cmp.mysm.hibernate.reports.userstat.HUserStatisticsDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 43: com.cmp.mysm.hibernate.diameter.routingconf.HDiameterRoutingConfDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 44: com.cmp.mysm.hibernate.diameter.diameterpeerprofile.HDiameterPeerProfileDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 45: com.cmp.mysm.hibernate.diameter.diameterpeer.HDiameterPeerDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 46: com.cmp.mysm.hibernate.core.base.HGenericDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
    [May 13, 2013 12:48:24] [INFO] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: Data Manager was initialized successfully.
    [May 13, 2013 12:48:29] [ERROR] [0.0.0.0] - unknown [CONFIG MANAGER]: error during the Configuration Manager operation, reason: failed to open the connection
    [May 13, 2013 12:48:29] [TRACE] [0.0.0.0] - unknown [CONFIG MANAGER] com.cmp.mysm.datamanager.DataManagerException: failed to open the connection
    at com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager.getList (HSystemParameterDataManager.java:45)
    at com.cmp.mysm.blmanager.core.system.systemparameter.SystemParameterBLManager.getList (SystemParameterBLManager.java:71)
    at com.cmp.mysm.web.core.system.cache.ConfigManager.init (ConfigManager.java:47)
    at com.cmp.mysm.web.core.system.servlet.myServlet.init (myServlet.java:27)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:414)
    Caused by: org.hibernate.exception.GenericJDBCException: failed to open the connection
    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
    at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1596)
    at org.hibernate.loader.Loader.doQuery(Loader.java:717)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
    at org.hibernate.loader.Loader.doList(Loader.java:2294)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172)
    at org.hibernate.loader.Loader.list(Loader.java:2167)
    at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
    at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1706)
    at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
    at com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager.getList (HSystemParameterDataManager.java:43)
    ... 21 more
    Caused by: java.sql.SQLException: an attempt by a client to fund a connection has expired.
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:527)
    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
    at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    ... more than 33
    Caused by: com.mchange.v2.resourcepool.TimeoutException: a client has expired while waiting to acquire a resource of com.mchange.v2.resourcepool.BasicResourcePool@47503458--timeout to awaitAvailable()
    at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1317)
    at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
    at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
    ... 36 more

    May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDescriptor
    NEWS: Deployment descriptor configuration host - manager .xml
    May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDescriptor
    NEWS: Deployment configuration descriptor manager.xml
    May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
    NEWS: Deployment of the directory docs web application
    May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Examples of Directory deployment web application
    May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploy the web application ROOT directory
    May 13, 2013 org.apache.coyote.http11.Http11Protocol start 12:48:29 AM
    INFO: From Coyote HTTP/1.1 on http-8080
    May 13, 2013 12:48:30 AM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    May 13, 2013 12:48:30 hours departure from org.apache.jk.server.JkMain
    INFO: Jk running ID = time 0 = 0/15 config = null
    May 13, 2013 12:48:30 hours departure from org.apache.catalina.startup.Catalina
    INFO: Starting the server in 16222 ms

    Some time Tomcat to connect to the database*.
    [May 13, 2013 10:02:29] [INFO] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: init() Called.
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: adding the data manager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 1: com.cmp.mysm.hibernate.core.system.staff.HStaffDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 2: com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 3: com.cmp.mysm.hibernate.core.system.profilemanagement.HProfileDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 4: com.cmp.mysm.hibernate.core.system.accessgroup.HAccessGroupDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 5: com.cmp.mysm.hibernate.systemaudit.HSystemAuditDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 6: com.cmp.mysm.hibernate.datasource.database.HDatabaseDSDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 7: com.cmp.mysm.hibernate.datasource.ldap.HLDAPDatasourceDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 8: com.cmp.mysm.hibernate.sessionmanager.HSessionManagerDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 9: com.cmp.mysm.hibernate.sessionmanager.HASMDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 10: com.cmp.mysm.hibernate.digestconf.HDigestConfDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 11: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 12: com.cmp.mysm.hibernate.externalsystem.HExternalSystemInterfaceDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 13: com.cmp.mysm.hibernate.servermgr.drivers.HDriverDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 14: com.cmp.mysm.hibernate.servermgr.drivers.subscriberprofile.database.HDatabaseSubscriberProfileDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 15: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 16: com.cmp.mysm.hibernate.servicepolicy.auth.HAuthServicePoilcyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 17: com.cmp.mysm.hibernate.servicepolicy.acct.HAcctServicePoilcyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 18: com.cmp.mysm.hibernate.servicepolicy.dynauth.HDynAuthServicePoilcyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 19: com.cmp.mysm.hibernate.servermgr.server.HServerDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 20: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 21: com.cmp.mysm.hibernate.servermgr.plugin.HPluginDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 22: com.cmp.mysm.hibernate.rm.ippool.HIPPoolDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 23: com.cmp.mysm.hibernate.servermgr.eap.HEAPConfigDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 24: com.cmp.mysm.hibernate.servermgr.alert.HAlertListenerDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 25: com.cmp.mysm.hibernate.servermgr.gracepolicy.HGracePolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 26: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 27: com.cmp.mysm.hibernate.radius.dictionary.HDictionaryDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 28: com.cmp.mysm.hibernate.radius.policies.accesspolicy.HAccessPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 29: com.cmp.mysm.hibernate.radius.policies.radiuspolicy.HRadiusPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 30: com.cmp.mysm.hibernate.radius.radtest.HRadiusTestDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 31: com.cmp.mysm.hibernate.radius.bwlist.HBWListBLManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 32: com.cmp.mysm.hibernate.rm.concurrentloginpolicy.HConcurrentLoginPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 33: com.cmp.mysm.hibernate.wsconfig.HWebServiceConfigDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 34: com.cmp.mysm.hibernate.diameter.dictionary.HDictionaryDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 35: com.cmp.mysm.hibernate.servicepolicy.diameter.naspolicy.HDiameterNASPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 36: com.cmp.mysm.hibernate.servicepolicy.diameter.creditcontrolpolicy.HCreditControlPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 37: com.cmp.mysm.hibernate.servicepolicy.diameter.eappolicy.HEAPPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 38: com.cmp.mysm.hibernate.servermgr.drivers.HDiameterDriverDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 39: com.cmp.mysm.hibernate.servermgr.transmapconf.HTranslationMappingConfDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 40: com.cmp.mysm.hibernate.diameter.diameterpolicy.HDiameterPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 41: com.cmp.mysm.hibernate.servicepolicy.rm.cgpolicy.HCGPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 42: com.cmp.mysm.hibernate.reports.userstat.HUserStatisticsDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 43: com.cmp.mysm.hibernate.diameter.routingconf.HDiameterRoutingConfDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 44: com.cmp.mysm.hibernate.diameter.diameterpeerprofile.HDiameterPeerProfileDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 45: com.cmp.mysm.hibernate.diameter.diameterpeer.HDiameterPeerDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 46: com.cmp.mysm.hibernate.core.base.HGenericDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
    [May 13, 2013 10:02:29] [INFO] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: Data Manager was initialized successfully.
    In data manager: 1
    In data manager: 2
    In data manager: 19
    In data manager: 20
    In data manager: 21
    In data manager: 22
    In data manager: 23
    In data manager: 24
    In data manager: 3
    In data manager: 4
    May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDescriptor
    NEWS: Deployment configuration descriptor manager.xml
    May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDescriptor
    NEWS: Deployment descriptor configuration host - manager .xml
    May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDirectory
    NEWS: Deployment of the directory docs web application
    May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploy the web application ROOT directory
    May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Examples of Directory deployment web application
    10:02:30 org.apache.coyote.http11.Http11Protocol start may 13, 2013
    INFO: From Coyote HTTP/1.1 on http-8080
    May 13, 2013 10:02:30 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Org.apache.jk.server.JkMain 10:02:30 starting May 13, 2013
    INFO: Jk running ID = time 0 = 0/14 config = null
    Org.apache.catalina.startup.Catalina 10:02:30 starting May 13, 2013
    INFO: 6176 SP server startup


    But even once, when we try to stop and start then same problem occurred that we are not able to connect to the database

    Thanks in advanace

    We had solved the problem of our self
    to disable the setting of listener_network

    We also increase the connection timeout on the demand side

  • How to start to use the Oracle client to access the database?

    People,

    Hello. I just installed Oracle Client (Instant Client) in the directory/home/myOracle/Oracle_Client.
    But I don't know how to start and configure the client to access Oracle database.

    Can all folk tell me how to start to use the Oracle client to access the database?

    user8860348 wrote:
    People,

    Hello. I've successfully used Oracle SQL Developer. But I want to know how to use the Instant Client.

    Can any folk tell me how to use the Client then just install it?

    I guess you're hurting understand the definition of Client instant, there isn't a tool or application or tool GUI as a sql developer or another that you can start using. It's just client installed with the minimum characteristics
    If you want to use the right application tool install sql developer in your instant client or simply running sqlplus

    See you soon

  • Send an e-mail using the Oracle database

    Hello!
    I installed Oracle 10 g (10.2.0.4) and I need to send an email using this database. In some notes said to run the following script, but in my case Oracle I don't have the owner "MailSender" or the AptMail function.

    Start
    dbms_output.put_line (mailsender. AptMail ('p_from', 'p_to', null, null, 'p_subject', null, 'p_smtp_host', null, null, null));
    END;

    Can someone explain if it is the right method to send an email using the Oracle database? If so how can I install it?

    Thank you
    Augusto

    Oracle 10.2 comes with UTL_MAIL package.

    Give it a read through the documentation. It's pretty simple to use.

Maybe you are looking for