How to overload two different procedure with just one name in to package

i have created two procedure avg1 and avg2.avg1 calculate average of total salary based on e_id and avg2 calculate average based on j_id.now i want to create a package with specification and body where i want to use just one name -avg- for two different procedure.

You can overload the same name for procedure as long as their formal parameters differ in number, order, or datatype family.
Read more about overloading in documentation

Similar Messages

  • How to implement two different websites with one section that has the same content?

    I have two sister websites, each for a separate but related department in a hospital. On each of these websites, I have a main tab called library, which has about 30 pages within it for related healthcare issues. The library is the exact same content on each site, but the main navigation and header for the site is obviously different. I have been upkeeping this identical content on both sites (if something is changed, then I have to do it twice). This isn't efficient and I would like to find a way to combine them somehow. I don't have a ton of experience but I catch on pretty quickly and I basically need ideas for the best way to handle this. I have considered creating a third site, and the library tab on each of the other sites would take you to this new site. I have also wondered if there is a way to embed duplicate content into two separate pages (maybe with an iframe). That way I would update the original file and it would be updated on both sites.
    The sites also have different body sizes. One is 960 pixels wide and the other is 690 because it has a sidebar that makes it smaller. How would you all recommend I handle this? I use Dreamweaver CS6 and my pages are all HTML

    I looked into Server Side Includes and I think I would like to try it, but I can't seem to get it working. The problem is both of my sites are under a separate domain but hosted the same way I believe. For instance, I have two dreamweaver sites, but when I use my FTP, I have one large folder for the main site, then the sister site is in a folder within the main site folder. Although you can get to the main site using www.ukneurology.com, you can also get to the site using kyneurosurgery.com/neurology/index.html. I think this is what is messing me up because I can't seem to get it to work right.

  • How to update two different tables by ony one sql query???

    Hi All,
    i need to update two different talbes in a single sql query..
    i m using the following query
    UPDATE FT_User_Alert SET Subscription = 'W' where product_key=1 and measure_key = 12
    AND
    UPDATE LU_Monthly_Alert_Budget_Sheet SET Min_Red_Range ='16.0' AND Max_Green_Range ='24.0'AND Max_Red_Range ='27.0'AND Min_Green_Range ='16.0' where product_key='1' and measure_key = 12
    i m getting the following error:
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43093] An error occurred while processing the EXECUTE PHYSICAL statement. [nQSError: 17001] Oracle Error code: 936, message: ORA-00936: missing expression at OCI call OCIStmtExecute: UPDATE FT_User_Alert SET Subscription = 'W' where product_key=1 and measure_key = 12 AND UPDATE LU_Monthly_Alert_Budget_Sheet SET Min_Red_Range ='16.0' AND Max_Green_Range ='24.0'AND Max_Red_Range ='27.0'AND Min_Green_Range ='16.0' where product_key='1' and measure_key = 12 . [nQSError: 17011] SQL statement execution failed. (HY000)
    SQL Issued: EXECUTE PHYSICAL CONNECTION POOL writeback UPDATE FT_User_Alert SET Subscription = 'W' where product_key=1 and measure_key = 12 AND UPDATE LU_Monthly_Alert_Budget_Sheet SET Min_Red_Range ='16.0' AND Max_Green_Range ='24.0'AND Max_Red_Range ='27.0'AND Min_Green_Range ='16.0' where product_key='1' and measure_key = 12
    but when i m ushin the same query in Microsoft SQL Server it executes properly:
    please help me out...

    There's no valid syntax for this, but there are some tricks you could do to achieve it.
    i) You could place an update trigger on TABLE1 to update TABLE2 automatically.
    ii) You could define a view across both tables and add an INSTEAD OF UPDATE trigger to it to maintain them.
    If I had to do this I'd choose option2, but frankly I'd just be running two updates if it really was me.

  • How can I play different videos with only one MediaPlayer?

    I want to play two videos with only one MediaPlayer:
    private static MediaPlayerBuilder mpB;
    private static Media mLogo;
    private static Media mSaludo;
    private static MediaPlayer mpLogo;
    private static MediaView mvLogo;
    private static Group gLogo;
    public void start(final Stage stage) {
    mLogo = MediaBuilder.create().source(myGetResource(VIDEOLOGO_PATH)).build();
    mSaludo = MediaBuilder.create().source(myGetResource(VIDEOSALUDO_PATH)).build();
    mpB = MediaPlayerBuilder.create();
    mpLogo = mpB.media(mLogo).build();
    mvLogo = MediaViewBuilder.create().mediaPlayer(mpLogo).build();
    gLogo.getChildren().add(mvLogo);
    sActual = new Scene(gPozos, WIDTH, HEIGHT, Color.BLACK);
    stage.setScene(sActual);
    stage.show();When I want to play mLogo:
    sActual.setRoot(gLogo);
    mpLogo.play();Then, when I want to play mSaludo I do this:
    mpLogo = mpB.media(mSaludo).build();
    sActual.setRoot(gLogo);
    mpLogo.play();or this:
    mpB.media(mSaludo).applyTo(mpLogo);
    sActual.setRoot(gLogo);
    mpLogo.play();or this:
    mpB.media(mSaludo);
    sActual.setRoot(gLogo);
    mpLogo.play();But is impossible to change the Media. It doesn't work. Sometimes I play mLogo video and sometimes (depends on the code) the video mLogo doesn't start and I see an image of the first keyframe and nothing else. I have no exceptions, no errors, nothing.
    I want to play mLogo and then mSaludo. How can I do this?
    Thanks
    Noelia

    Ok, I understand, if I have 100 videos I have to build 100 MediaPlayers but only one MediaView.
    Here I post my code with only two videos, I included all the asynchronous errors.
    package pruebafx;
    import java.util.logging.FileHandler;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.media.Media;
    import javafx.scene.media.MediaErrorEvent;
    import javafx.scene.media.MediaPlayer;
    import javafx.scene.media.MediaView;
    import javafx.stage.Stage;
    * @author Solange
    public class PruebaFX extends Application {
        private static final Logger logger = Logger.getLogger("pruebafx.pruebafx");
        private static final String MEDIA_PATH = "/images/";
        private static final String VIDEOLOGO_PATH = MEDIA_PATH + "logo.flv";
        private static final String VIDEOSALUDO_PATH = MEDIA_PATH + "saludo.flv";
        private static Group root;
        private static Scene scene;
        private static MediaPlayer mpLogo;
        private static MediaPlayer mpSaludo;
        private static Media mLogo;
        private static Media mSaludo;
        private static MediaView mediaView;
         * @param args the command line arguments
        public static void main(String[] args) {
            Application.launch(args);
        @Override
        public void start(Stage primaryStage) {
            try {
                FileHandler fh = new FileHandler("DisplayManagerlog-%u-%g.txt", 100000, 100, true);
                // Send logger output to our FileHandler.
                logger.addHandler(fh);
                // Request that every detail gets logged.
                logger.setLevel(Level.ALL);
                // Log a simple INFO message.
                logger.info("Starting PruebaFX");
            } catch (Exception e) {
                System.out.println(e.getMessage());
            primaryStage.setTitle("Change Videos");
            root = new Group();
            mLogo = new Media(myGetResource(VIDEOLOGO_PATH));
            mSaludo = new Media(myGetResource(VIDEOSALUDO_PATH));
            mpLogo = new MediaPlayer(mLogo);
            mpSaludo = new MediaPlayer(mSaludo);
            mediaView = new MediaView(mpLogo);
            mpLogo.setOnEndOfMedia(new Runnable() {
                public void run() {
                    mpLogo.stop();
                    mediaView.setMediaPlayer(mpSaludo);
                    mpSaludo.play();
            mpSaludo.setOnEndOfMedia(new Runnable() {
                public void run() {
                    mpSaludo.stop();
                    mediaView.setMediaPlayer(mpLogo);
                    mpLogo.play();
            mLogo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en Media mLogo");
            mSaludo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en Media mSaludo");
            mpLogo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en MediaPlayer mpLogo");
            mpSaludo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en MediaPlayer mpSaludo");
            mediaView.setOnError(new EventHandler<MediaErrorEvent>() {
                public void handle(MediaErrorEvent t) {
                    logger.severe("Error en MediaView mediaView");
                    logger.severe(t.getMediaError().getMessage());
            root.getChildren().addAll(mediaView);
            scene = new Scene(root, 300, 250);
            primaryStage.setScene(scene);
            primaryStage.show();
            mpLogo.play();
        public String myGetResource(String path) {
            return (this.getClass().getResource(path).toString());
    }My video saludo.flv hangs up.
    Here is the content of the log file:
    <?xml version="1.0" encoding="windows-1252" standalone="no"?>
    <!DOCTYPE log SYSTEM "logger.dtd">
    <log>
    <record>
    <date>2011-12-12T12:03:53</date>
    <millis>1323702233578</millis>
    <sequence>0</sequence>
    <logger>pruebafx.pruebafx</logger>
    <level>INFO</level>
    <class>pruebafx.PruebaFX</class>
    <method>start</method>
    <thread>12</thread>
    *<message>Starting PruebaFX</message>*
    </record>
    <record>
    <date>2011-12-12T12:04:06</date>
    <millis>1323702246109</millis>
    <sequence>1</sequence>
    <logger>pruebafx.pruebafx</logger>
    <level>SEVERE</level>
    <class>pruebafx.PruebaFX$6</class>
    <method>run</method>
    <thread>12</thread>
    *<message>Error en MediaPlayer mpSaludo</message>*
    </record>
    <record>
    <date>2011-12-12T12:04:06</date>
    <millis>1323702246109</millis>
    <sequence>2</sequence>
    <logger>pruebafx.pruebafx</logger>
    <level>SEVERE</level>
    <class>pruebafx.PruebaFX$4</class>
    <method>run</method>
    <thread>12</thread>
    *<message>Error en Media mSaludo</message>*
    </record>
    </log>
    Do you know when will be available the 2.0.2 version???
    I have to finish my application!!!
    Thanks.
    Noelia

  • Creating Keyboard shortcut for two different actions with same menu name..

    Am using soundforge pro .. I have to process nearly 1000 audio files, and want to create shortcuts for "Smooth"
    The problem is there are two Menu names named "Smooth"
    Fade In > Smooth
    Fade Out > Smooth
    I want to assign different shortcuts for each one.. Is it possible ?
    Any help is appreciated

    Hi,
    I would use IP Address range boundaries instead which I normally do anyway instead for the AD site.
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • How to control two different processes with one DAQ output board

    Hi! I posted this in the Signal Generators forum, but I'm reposting here in case someone on this board has suggestions for a way to get around my problem programmatically (ie. within LabVIEW). Thank you for any help you can provide.
    Patrick
    I have a PXI-6722 8-channel, 13-bit analog output board, and with this I want to independently control both the temperature (thermometer excitation/heater control) and magnetic field in my experiment. Unfortunately, it appears that I cannot do both simultaneously, which is totally unacceptable for my application.
    Currently I'm using separate VI's for field and temperature control. This is the start of the problem, because in DAQmx you can't have 2 output tasks on the same card at the same time. In order to remedy this situation, I used MAX to create a global task containing all 8 13-bit analog outputs. However, it now appears that each time I do a write operation on this task (from whichever VI) I must write to all of the task channels, rather than just the channels I want to change. This would be fine for the temperature controls as they are of the type "set an output voltage value and hold it until told differently," so I could re-write the currently held values for channels that are not being changed. Magnetic field control will not work in this way, because we need to do very smooth field sweeps which require an analog waveform to be sent and sampled at a high rate (so that the steps are as small as possible). So if, for example, a thermometer's excitation voltage or a heater's power need to be changed during a field sweep (as is often necessary to maintain a constant temperature, via PID), then the sweep will be disrupted, potentially causing a dangerous magnet quench.
    Does anyone have any ideas on how I could make this work? It seems very wasteful to buy a second output board when I still have lots of free channels on the first.
    Thanks,
    Patrick

    I'd probably create a third process that just updates all output values on the card whenever necessary.
    One way is to send messages via queues from the temperature and magnetic field control routines to the third process. The third process doesn't do anything unless it gets a message from one of the two other processes. The message should contain the channel task ID to change along with the new value. Use the LabVIEW queue VI's, using a type definition to specify the message type either when you create the queue or use the variant VI's. Once it gets a message, it updates the changed channels, not modifying the others (use a shift register to store an array with the current set of output values).
    Hope this helps.
    Jason

  • How to synch two different devices with two different Apple ID's without merging them?

    I have an iPhone 5 and iPad linked to my Apple id. My son just got his first iPod touch with his own Apple id. We use the same PC to backup and synch our devices.
    The problem I have is since he got his iPod touch, all his downloads get installed on my devices, and we don't want that. Can someone help me by explaining to me how we can use the same iTunes and the same computer to backup and synch our devices, without having his apps install on my devices?
    Thanks in advance!
    Pablo

    How to use multiple iPhone, iPad, or iPod devices with one computer

  • How to show two different plots with current system time and date on waveform chart

    I am using  one waveform chart to display the more than one value continiously. The data  are comming properly but i am not getting my system (pc) time and date on x axis. It is showing default date and time (i.e.01/01/1904 5:30:45). Please  give me suggestions to display the real time and date on x axis of waveform chart. 

    How does your data look like? Do you graph waveform data types, dynamic data, or plain arrays/clustes? In the case of plain arrays, you need to set x0 to the absolute start time of your data, e.g. with a property node.
    I you would attach your code (or an image) we could offer more specific advice. There are too many possibilities.
    LabVIEW Champion . Do more with less code and in less time .

  • How to manage two different sites with two different domains

    i made two separate websites in iweb and i accidently loaded the second website to the old one and now every time I try to publish my site or try to visit with one click it brings me to a default page can you please help to understand what i did wrong

    Use the .Mac URL to visit each site.....
    http://web.mac.com/username/WebsiteName/PageName.html

  • Jdcap, two different libraries with the same name?

    I am looking for a network packet capturer and I have found two libraries, both called "Jdcap":
    1) [http://netresearch.ics.uci.edu/kfujii/jpcap/doc/index.html]
    2) [http://jpcap.sourceforge.net/]
    What are the differences between them? Why do the have the same name? Their APIs are totally different. Which one should I use?

    Roxxor wrote:
    I am looking for a network packet capturer and I have found two libraries, both called "Jdcap":
    1) [http://netresearch.ics.uci.edu/kfujii/jpcap/doc/index.html]
    2) [http://jpcap.sourceforge.net/]
    What are the differences between them? Read the docs for one. Then read the docs for the other. The stuff that's not the same will be the differences.
    Why do the have the same name? Probably because that's an obvious name for a Java library that does packet capture.
    Which one should I use?The one that best suits your needs, which you can determine by having well-defined requirements, reading the docs for both, and writing some proof-of-concept code with both.

  • How to use two different database Drivers in one application ????

    I want to select datas in a result set of a query on a ms access database table and insert these into a mysql table of a mysql database in one application.
    Now my problem is that only on database driver is acceptet in the same application even it`s instanciatet in a completely different class !!!
    Here's the structure of my program:
    class one:
    String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
    database += filename.trim() + ";DriverID=22;READONLY=false}";
    java.sql.Driver driver0=new sun.jdbc.odbc.JdbcOdbcDriver();
    DriverManager.registerDriver(driver0);
    DriverManager.getDriver(database);
    con2=DriverManager.getConnection(database,"","");
    DatabaseMetaData dmd2;
    dmd2=con2.getMetaData();
    stmt2=con2.createStatement();
    rs2=("SELECT (.........
    until here all values can be selected correctly from ms access
    class2.get_gas_id(fla_gas);
    Now I want to insert these values into mysql.
    By despair i created a second class with another jdbc-method:
    class2:
    public class gas_select{
    public static int fla_gas_id;
    public static void get_gas_id(String fla_gas)
    java.sql.Statement stmt3;
    java.sql.Connection con3;
    java.sql.ResultSet rs3;
    FileWriter fout1;
    try
    java.sql.Driver driver1=new org.gjt.mm.mysql.Driver();
    DriverManager.registerDriver(driver1);
    DriverManager.getDriver(config.db_rge_stoffe); ==>
    config.rge_stoffe="jdbc:mysql://192.168.10.101:3306/rge_stoffe?user=<user>";
    con3=DriverManager.getConnection(config.db_rge_stoffe);
    java.sql.DatabaseMetaData dmd3;
    dmd3=con3.getMetaData();
    stmt3=con3.createStatement();
    rs3=stmt3.executeQuery("SELECT (Nr) from tblgaseliste where Gasart like "+"\'"+fla_gas+"\'");
    while(rs3.next())
    fla_gas_id=rs3.getInt("Nr");
    fout1.write(fla_gas_id);
    stmt3.close();
    con3.close();
    fout1.close();
    There's no result and no error message. Idon't know what to do !
    Has anyone an idea ???
    Edited by: goberger on Mar 27, 2008 3:35 PM

    Hi!
    If I understand your problem correctly, you can create connections to as many databases as you want in one class. In one of my programs I have connection to 3 separate databases, but here is an example:
    Connection mysql_con = DriverManager.getConnection("jdbc:mysql://localhost:3306/dbmysql", "root", "12345");
    Connection pg_con    = DriverManager.getConnection("jdbc:postgresql://127.0.0.1:5433/dbpgsql", "postgres", "12345");Then from mysql_con and pg_con create PreparedStatement or Statement then load selections into ResultSet and then use getString() to get a basic String type result that you want and so update table from each database.
    HTH
    Victor.
    BTW Here I use port 5433 for PostgreSQL connection because I SSH tunnel it from 5432 to 5433
    Edited by: vic_sk on Mar 27, 2008 4:23 PM

  • Where statement on two different tables with same column name

    Hello,
    I have 2 financial tables:
    tblincome, tblexpenses
    in each table I have column name "monthPayed" (have values of all the months of the year).
    I would like to create a balance view table that will show me the financial status for the Q1 (for example).
    I have a column totalIncome and totalExpended respectively.
    I've create a view table that shows me the financial balance at the moment but I want it to be devide to Quarters of the year...
    Regards

     
    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. Temporal data should
    use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. Where is the code you already tried? Or are you so lazy, so rude or so privileged that you did not do anything for yourself? 
    In fact that silly “tbl-” prefix is so bad that it has a name! It is called Tibbling and Phil Factor even wrote a humor article on bad programmers that use it. 
    Your narrative is vague; it sounds like this is the DDL: 
    CREATE TABLE Incomes
    (payment_month CHAR(10) NOT NULL PRIMARY KEY,
     income_amt DECIMAL(12,2) NOT NULL
      CHECK (income_amt > 0.00),
    CREATE TABLE Expenses
    (payment_month CHAR(10) NOT NULL PRIMARY KEY,
     expense_amt DECIMAL(12,2) NOT NULL
      CHECK (expense_amt > 0.00),
    >> in each table I have column name "monthPayed" (have values of all the months of the year). <<
    I hope not! 2014 has not gotten to September, November or December yet! And the ISO-11179 data element name should be “payment_month”; but it is still wrong! An expense is not a payment! An income is not a payment! 
    >> I would like to create a balance view table that will show me the financial status for the Q1 (for example). <<
    Report Period Table
    Since SQL is a database language, we prefer to do look ups and not calculations. They can be optimized while temporal math messes up optimization. A useful idiom is a report period calendar that everyone uses so there is no way to get disagreements in the DML.
    The report period table gives a name to a range of dates that is common to the entire enterprise. 
    CREATE TABLE Something_Report_Periods
    (something_report_name CHAR(10) NOT NULL PRIMARY KEY
       CHECK (something_report_name LIKE <pattern>),
     something_report_start_date DATE NOT NULL,
     something_report_end_date DATE NOT NULL,
      CONSTRAINT date_ordering
        CHECK (something_report_start_date <= something_report_end_date),
    etc);
    These report periods can overlap or have gaps. I like the MySQL convention of using double zeroes for months and years, That is 'yyyy-mm-00' for a month within a year and 'yyyy-00-00' for the whole year. The advantages are that it will sort with the ISO-8601
    data format required by Standard SQL and it is language independent. The pattern for validation is '[12][0-9][0-9][0-9]-00-00' and '[12][0-9][0-9][0-9]-[01][0-9]-00'
    Now figure it out for yourself, show us what effort you put into this, then we will help you. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to call a stored procedure with only one output parameter using toplink

    Can anybody help me to get out of this exception. I have tried through several ways, but could not find the solution.
    I have a following stored proc : -
    CREATE OR REPLACE PROCEDURE spt_remove_duplicates_pr (outbuffer OUT VARCHAR2)
    IS
    buff VARCHAR2(32000) := ' ';
    BEGIN
    buff := ' Hi From Stored Proc' ;
    outbuffer : = buff;
    END;
    When I am executing it using following code :-
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("spt_remove_duplicates_pr");
    call.addNamedOutputArgument("a","a",String.class);
    ValueReadQuery query = new ValueReadQuery();
    query.setCall(call);
    String buff1 = (String) session.executeQuery(query);
    I am getting the exception as : -
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3.4 (Build 432)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'SPT_REMOVE_DUPLICATES_PR'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    INTERNAL EXCEPTION: java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'SPT_REMOVE_DUPLICATES_PR'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ERROR CODE: 6550
         at oracle.toplink.exceptions.DatabaseException.sqlException(Unknown Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(Unknown Source)
         at oracle.toplink.internal.databaseaccess.DatabasePlatform.executeStoredProcedureCall(Unknown Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown Source)
         at oracle.toplink.threetier.ServerSession.executeCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelect(Unknown Source)
         at oracle.toplink.queryframework.DirectReadQuery.executeNonCursor(Unknown Source)
         at oracle.toplink.queryframework.DataReadQuery.execute(Unknown Source)
         at oracle.toplink.queryframework.ValueReadQuery.execute(Unknown Source)
         at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
         at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
         at oracle.toplink.threetier.ServerSession.internalExecuteQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at com.marshmc.eta.reuse.persistent.PersistentService$DuplicateRemovalThread.run(Unknown Source)
    INTERNAL EXCEPTION STACK:
    java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'SPT_REMOVE_DUPLICATES_PR'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2149)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2032)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2894)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:608)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(Unknown Source)
         at oracle.toplink.internal.databaseaccess.DatabasePlatform.executeStoredProcedureCall(Unknown Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown Source)
         at oracle.toplink.threetier.ServerSession.executeCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelect(Unknown Source)
         at oracle.toplink.queryframework.DirectReadQuery.executeNonCursor(Unknown Source)
         at oracle.toplink.queryframework.DataReadQuery.execute(Unknown Source)
         at oracle.toplink.queryframework.ValueReadQuery.execute(Unknown Source)
         at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
         at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
         at oracle.toplink.threetier.ServerSession.internalExecuteQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at com.marshmc.eta.reuse.persistent.PersistentService$DuplicateRemovalThread.run(Unknown Source)

    I got the partial solution. The code is working now, however I am not getting the return value from stored proc.
    The changed code is as :-
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("spt_remove_duplicates_pr");
    call.addNamedOutputArgument("outbuffer","outbuffer",StringBuffer.class);
    ValueReadQuery query = new ValueReadQuery();
    query.setCall(call);
    StringBuffer buff1 = (StringBuffer) session.executeQuery(query);
    System.err.println("Done ! Output is : " + buff1);
    The result is :-
    Done ! Output is : null
    How can I get the output ?

  • Can I have smart print eprint on two different computes with only account

    Can I have smart print eprint on two different computers with only one account???

    Are you talking about accessing an ePrint account from various computers? Or having  HP Smart Print on multiple computers?
    ePrint account information is kept at the site. You can log on it from anywhere, from any computer. Just go to the sire and click on Sign in and enter your password and email address. You can have multiple printers on one user account at ePrint Center (EPC). But printers can only be registered on ePrint Center to one user account.  If you have an ePrint cable printer you can create an account at this link here. 
    HP Smart Print does not require an account you can download to an Internet Explorere browser (versions 6-9) and use it with no registration. 
    I am a former employee of HP...
    How do I give Kudos?| How do I mark a post as Solved?

  • HT204053 i RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    I RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    Welcome to the Apple community.
    iTunes and iCloud and different accounts, you will need to delete both accounts from your device before adding the new details in their place.
    For iCloud go to settings > iCloud, scroll down and hit the delete button. You can then sign back in using your correct details. For iTunes go to settings >store, tap your account ID and then sign out, you can then sign back in using your correct Apple ID.

Maybe you are looking for

  • How do I import music files from a flash drive to my iTunes library on my laptop

    How can I import music files from a flash drive to my iTunes library? I put the flash drive into my laptop, selected " add file to library", selected the songs I wanted from the flash drive, and it looked like they were added as the names show under

  • Sub Tabs not displaying correctly

    We are having the following problem with a 10g install. A page group has been created. A custom style for the page group has been associated with the page group. The style has been edited - tab properties. Custom colors and fonts have been allocated

  • ITunes 6.02 problem ("not enough memory error")

    I attempted to update iTunes to the newest version yesterday, and for the most part everything went as planned. The application updated, everything seemed to be working afterwards. The next time I went to open iTunes I get an error of "The iTunes app

  • Rewire with Ableton Live 8 and Logic Pro 9

    Hi guys, I'm really hoping that somebody can help me with (sorry) a Rewire problem...I am close to tearing my hair out. I'm trying to Rewire Logic Pro 9 and Ableton Live 8. Before you ask I am using 32-bit Logic, and I am opening up Logic first, then

  • Cyber Monday Sale!

    BrainShare 2013 Cyber Monday Sale You know youve been digging all over online today trying to find the BEST deal on an iPhone 5, Samsung Galaxy s3 or an iPad Mini. So instead of digging for the best deal on BrainShare were just going to give it to yo