Properies of database transaction object?

db.transaction(function(tx) {
    tx.executeSql("SELECT stuff FROM table1", [], dbSuccess, dbError);
});

function dbSuccess(tx, r) {
    // what can I do with tx here?
}

The SQL Transaction object, as passed to callbacks, success and executeSQL error seems to have no properties or methods other than executeSQL.  How can retrieve the SQL command was performed (for example) - for example something like:

function dbSuccess(tx, r) {
    alert(tx.sqlStatement + " completed OK! - rows affected: " + r.rowsAffected);
}

The r.rowsAffected bit works fine.  But the argument tx seems to be useless.

If something in the sense of the above is not possible, what is the point of the first argument of the callback?

The argument tx allows to chain together statements in a transaction unique, is extremely useful, although in many cases you will probably not need that.

However, because it is javascript, coud you add properties as you go. You can add a "lastSQL" property and set it to your SQL when you call the executeSQL example member function.

Tags: BlackBerry Developers

Similar Questions

  • problem with Database.transaction)

    Hello

    The code contained in the appeal. transaction() in my method. writeDatabase() is not executed. He reached the alert call (dbChecklistInstance.db.version), but nothing else happens. It fails my call alert('1') and it does not generate an exception to the (e) alert call either. I get no error message popping up. Any ideas on where is my bug maybe?

    Thank you

    dbChecklist = function()
    {
        var dbChecklistInstance = {}
    
        function onDBCreate(dbCreated)
        {
            dbChecklistInstance.db = dbCreated;
        }; // end onDBCreate
    
        this.readDatabase = function(arrChecklists)
        {
            if (window.openDatabase)
            {
                try
                {
                    dbChecklistInstance.db = window.openDatabase('dbChecklist', '1.0', 'Bashbored Tasks database', 1*1024*1024, onDBCreate);
                }
                catch(e)
                {
                    alert(e);
                }
            }
            else
            {
                alert('This device does not have HTML5 Database support.');
            } // end if
    
            try
            {
            dbChecklistInstance.db.readTransaction(function (t)
            {
                t.executeSql('SELECT * FROM dbChecklist.tabChecklists', [], function (t, r)
                {
                    alert('b');
                    for (var i = 0; i < r.length; i++)
                    {
                        arrChecklists.push(r.item(i));
                    } // end for
                }, // end function(t, r)
                function(t, e)
                {
                    alert(e.message);
                } // end function(t, e);
                ); // end .executeSql
                alert('c');
            }, errorTrans, successTrans); // end .readTransaction
            }
            catch (e)
            {
                alert(e);
            }
        }; // end this.readDatabase
    
        this.writeDatabase = function(arrChecklists)
        {
            alert(dbChecklistInstance.db.version);
    
            try
            {
            dbChecklistInstance.db.transaction(function (t)
            {
                alert('1');
                t.executeSql('DROP TABLE IF EXISTS dbChecklist.tabChecklists', [], function(t,r){}, errorTrans);
                alert('2');
                t.executeSql('CREATE TABLE dbChecklist.tabChecklists (sDecription TEXT)', [], function(t,r){}, errorTrans);
                alert('3');
                for (var i = 0; i < arrChecklists.length; i++)
                {
                    t.executeSql('INSERT INTO dbChecklist.tabChecklists VALUES (?)', [arrChecklists.sDescription], function(t,r){}, errorTrans);
                    alert(i);
                } // end for
            },errorTrans,successTrans); // end .transaction
            }
            catch (e)
            {
                alert(e);
            }
        }; // end this.writeDatabase
    
        function errorTrans(err)
        {
            alert(err.code + " " + err.message);
        } // end errorTrans
    
        function successTrans()
        {
            alert("successful transaction");
        }
    }
    

    There was a lot wrong with this code. So much worse now.

  • Oracle ADF: Could not validate database transactions

    Hi all

    I'm trying to update the oracle database using Oracle ADF command line. The following is an extract from my code

    final String amName1 = "taxreturn.AM_Taxreturn";
    final String connStr = "JDBC: thin: o9ias / [email protected]:1521:t1fdbo;
    Hashtable env = new Hashtable (2);
    env.put (Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    env.put (JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);

    ApplicationModule appMod1 = null;
    try {}
    javax.naming.Context ic = new InitialContext (env);
    Home1 ApplicationModuleHome = (ApplicationModuleHome) ic.lookup (amName1);
    appMod1 = home1.create ();
    appMod1.getTransaction () .connect (connStr);
    } catch (Exception e) {}
    e.printStackTrace ();
    }

    ViewObject t1xvVO = appMod1.createViewObject ("t1xvVO", "taxreturn. T1XrefVView");
    t1xvVO.setWhereClause ("T1X_T1FU_USERID =" "+" testlin2 "+" ' and T1X_T1_TAXYEAR ='"+" 2012"+"' T1X_INVOICE_T1_150 is null and T1X_DELETED is null "");
    t1xvVO.executeQuery ();

    Line rowT1xv = null;
    int count = 0;
    While (t1xvVO.hasNext ()) {}
    Count ++;
    rowT1xv = t1xvVO.next ();
    }
    System.out.println ("number of discs:" + count);

    t1xvVO.executeQuery ();
    If (t1xvVO.hasNext ()) {}
    rowT1xv = t1xvVO.last ();
    System.out.println ("name:" + rowT1xv.getAttribute ("T1FirstName"));
    System.out.println ("T1xInvoiceT1150: front:" + rowT1xv.getAttribute ("T1xInvoiceT1150"));

    rowT1xv.setAttribute ("T1xInvoiceT1150", "250");
    appMod1.getTransaction () .postChanges ();
    System.out.println ("T1xInvoiceT1150: after:" + rowT1xv.getAttribute ("T1xInvoiceT1150"));
    }

    System.out.println ("Dirty is:" + t1xvVO.getApplicationModule () .getTransaction () .isDirty ());
    try {}
    appMod1.getTransaction () .commit ();
    System.out.println ("Commit succeeded.");
    } catch (oracle.jbo.JboException e) {}
    System.out.println ("Validation failed." + e);
    }

    I can see ago total 3 records retrieved. I run the query object view again, and then replace the last record. But after the statement commit, the database is not updated. What's not here? Thanks in advance

    Sheet



    For LeafWoods I think the key is to know that you need a British Colombia ADF entity to perform database updates because there is no doDML on the display objects

    Frank

  • For the 'VIM_VCDB' database transaction log is full

    We live the error, as shown in the subject.

    The problem is that we continue the expansion of the log file.

    We have 3 servers esx 4.1 and about 25 of the virtual machines running on these servers.

    The statistics are at:

    5 minutes - 1 day - level 1

    30 minutes - week 1 - level 1

    2 hours - 1 month - level 1

    1 day - 1 year - 1 level.

    Database size check indicates that it should be about 0.5 GB with our configuration.

    We have already extended 4 times since our migration to vcenter 4.1 decembre2010 to half way and now it's 4.3 GB.

    Reduce the log with the unused space do not clean anything.

    Anyone experienced this and has another tip, instead of extending once again?

    Don't worry, with the recovery model not set to 'Simple', no transaction log is written.

    If you wish, you can compare the settings and the size of the log of your vCenter database, because it is probably set to 'Simple' too.

    André

  • How to restore a database transaction using bpel?

    Hello

    Can someone guide me how to cancel a transaction database using BPEL?

    I have four dbadapters that inserts values in four different tables... If any defective of a transaction, then all of the above it must be cancelled.

    Can any provide the solution for it?

    Concerning

    Surya

    Hi Surya,

    It is documented in 10.1.3.3 best practices Guide.
    Therefore, please see:
    Oracle SOA Suite®
    Best practices guide
    10g Release 3 (10.1.3.3.0)
    E10971-01

    Concerning
    A

  • User disconnects not properly causing the locked objects?

    I often see a warning of the locked object. Is it possible that users who screens and do not close the logoff may leave the locked object? For example, closure of Regional service with a contour open instead of closing the outline, then using file-> exit to Regional service.

    Thank you

    FA

    You are right.  I find items left in a locked state caused by several actions.

    (1) EAS closing although an item open/locked

    (2) "timing" EAS outside on a user, even if an object is opened/locked

    (3) automation that locks an object (say a build rule dim), but ends, leaving the locked object.

    To help relieve this

    (1) tell users to 'See' objects instead of "Edit" them if the user does not change.

    2) users learn the importance of good objects immediately close once they are made edition.

    3) users learn the importance of the economy and the closing of work in progress when they switch to another task in the middle of editing the objects...

  • Work Dbma_scheduler execution of procedure which loops through all the customer drawings in the rear rollers database transaction in case of exception

    Hello

    Need your contributions on the approach to implement a work using dbms_scheduler.

    We have about 2000 drawings. Each schema has a package with 2 procedures.

    The requirement is to create a single job in SYS that loop over each schema and run the procedures specific to a time (once a day) and send a notification by e-mail on success or failure.

    Working script:

    BEGIN

    dbms_scheduler.create_job (job_name = > 'LOAD_EACH_SCHEMA_AUDIT_DATA',)

    job_type = > 'PLSQL_BLOCK ',.

    job_action = > ' BEGIN sys.p_loadaudit;

    END;',

    start_date = > systimestamp,

    repeat_interval = > ' FREQ = MINUTELY; RANGE = 1',

    number_of_arguments = > 0,

    enabled = > true,

    Comments = > "Use repeat interval is every five minutes");

    END;

    /

    Note: to test the end I put him repeat interval to carefully.

    Use of procedure must be running:

    Procedure sys.p_loadaudit:

    CREATE OR REPLACE

    PROCEDURE p_loadaudit

    AS

    v_count NUMBER: = 0;

    lv_error_message VARCHAR2 (4000);

    vstmt VARCHAR2 (4000);

    BEGIN

    I'm IN

    (SELECT username FROM dba_users WHERE username LIKE '% ABCFIRM')

    )

    LOOP

    vstmt: = "begin" | i.UserName | '. pkg_audit_info.p_load_coa; end;';

    EXECUTE immediate vstmt;

    vstmt: = "begin" | i.UserName | '. pkg_audit_info.p_load_am; end;';

    EXECUTE immediate vstmt;

    END LOOP;

    EXCEPTION

    WHILE OTHERS THEN

    lv_error_message: = ' error in procedure p_loadaudit: ' | SQLCODE. "- ERROR -" | SUBSTR)

    SQLERRM, 1, 300). '*' || dbms_utility.format_error_backtrace;

    raise_application_error(-20002,lv_error_message);

    END p_loadaudit;

    /

    Example of a scheme: SCHEMA_01

    create or replace

    PACKAGE pkg_audit_info

    AS

    CursorType type

    IS

    REF

    CURSOR;

    PROCEDURE p_load_COA;

    PROCEDURE p_load_AM;

    END pkg_audit_info;

    /

    create or replace

    Pkg_audit_info body PACKAGE

    AS

    PROCEDURE p_load_COA

    AS

    BEGIN

    INSERT INTO TABLE1();

    EXCEPTION

    WHILE OTHERS THEN

    lv_error_message: = ' error in procedure pkg_audit_info.p_load_COA: ' | SQLCODE

    || "- ERROR -" | SUBSTR (SQLERRM, 1, 300). '*' || dbms_utility.format_error_backtrace;

    RAISE_application_error(-20002,lv_error_message);

    END p_load_COA;

    PROCEDURE p_load_AM

    AS

    BEGIN

    INSERT INTO TABLE2();

    EXCEPTION

    WHILE OTHERS THEN

    lv_error_message: = ' error in procedure pkg_audit_info.p_load_AM: ' | SQLCODE.

    "- ERROR -" | SUBSTR (SQLERRM, 1, 300). '*' || dbms_utility.format_error_backtrace;

    RAISE_application_error(-20002,lv_error_message);

    END p_load_AM;

    END pkg_audit_info;

    /

    Table1 and table1 exist in schema_01.

    All 2000 patterns have same package.procedures.

    For security reasons, I removed the actual code.

    I was able to complete the task successfully. However, when a scheme procedure (SCHEMA_01.pkg_audit_info.p_load_COA) throws an exception, the job fails, and any transaction is rolled back.

    Is it possible to loop through each schema and run the corresponding procedures. Even if the exception occurs, it must restore only for this scheme and continue other patterns in the loop?

    Please let me know if there is a better way to do this. Is the way I'm handling exceptions in the work or the correct procedure?

    Thank you

    Hello

    RAISE_APPLICATION_ERROR will cause the program to exit to the appellant, even if you put it inside a block in the loop, so the statement RAISE or RAISE_APPLICATION_ERROR must be placed in your procedures 'pkg_audit_info.p_load_AM' and 'pkg_audit_info.p_load_coa '. In this way, you can use a block inside the loop and the error in the log.

    I'm IN

    (SELECT username FROM dba_users WHERE username LIKE '% ABCFIRM')

    )

    LOOP

    BEGIN

    vstmt: = "begin" | i.UserName | '. pkg_audit_info.p_load_coa; end;';

    EXECUTE immediate vstmt;

    vstmt: = "begin" | i.UserName | '. pkg_audit_info.p_load_am; end;';

    EXECUTE immediate vstmt;

    EXCEPTION

    WHILE OTHERS THEN

    --> Set the error in a table of otherwise custom event log you won't know what happened for this scheme: don't forget the user name

    END;

    END LOOP;

  • Database query object | audit

    Hi guys,.

    I would like to know how interrogate what machine changed a databae object, for example:

    User
    Computer1

    Object_name
    Object1

    Object_type
    procedure

    last_ddl_time
    2010-02-11 14:11:59


    some like this, questioning or USER_OBJECTS only gives me information, but I want to be more specific for audit and trace the change to my patterns

    IvanBalVe wrote:
    That's right, but the DDL change before you enable auditing, it is possible to query?

    You can always ask, but if the details are not available.

    If you are desperate to find out who did it, you can use the DBMS LOGMNR

  • Connection.setAutoCommit (false); She creates a transaction next to the database?

    I'm curious to know what the transaction is started next to the database? I use oracle as database and ojdbc6 driver to connect to the db jar.

    I'm also curious to know what exactly is a connection? There I can relate to a database session? taken do allow to install a java application on the database server?

    Thank you!

    I'm curious to know what the transaction is started next to the database? I use oracle as database and ojdbc6 driver to connect to the db jar.

    I'm also curious to know what exactly is a connection? There I can relate to a database session? taken do allow to install a java application on the database server?

    Thank you!

    Non - autocommit affecting false does NOT create a transaction.

    You can EASILY search the Web for definitions of terms such as the transaction, logon session.

    The Java tutorials has a track for "aid Operations."

    https://docs.Oracle.com/javase/tutorial/JDBC/basics/transactions.html

    Turn off autocommit Mode

    When a connection is created, it is in autocommit mode. This means that each SQL statement is treated as a transaction and is automatically committed right after his execution. (To be more precise, the default is for a SQL statement to be engaged when it is finished, not when it is executed. A statement is completed when all its result sets and update counts were recovered. In almost all cases, however, a statement is completed and therefore committed, just after his execution.)

    How to allow two or more instructions which lie in a transaction is to disable auto-commit mode. This is illustrated in the following code, where con is an active connection:

    on.setAutoCommit(false);
    

    The Java API tells you what a 'link'

    Connection (Java SE 7 platform)

    A connection (session), with a specific database. The SQL statements are executed and results are returned as part of a connection.

    See where it says "connection (session)?

    And the Oracle documentation can discuss those from the point of view of DB

    https://docs.Oracle.com/database/121/CNCPT/Transact.htm#CNCPT117

    Introduction to Transactions

    A transaction is a logical, Atomic work unit that contains one or more SQL statements. A transaction includes the SQL statements so that they are all committed, which means they are applied to the database, or all canceled, which means that they are cancelled from the database. Oracle database assigns to each transaction a unique identifier called transaction ID.

    Oracle transactions obey the basic properties of a database transaction, known as ACID properties. ACID is an acronym for the following:

    . . .

    After the end of a transaction, the next executable SQL statement automatically starts the following transaction.

    . . .

    The Oracle documentation also discuss when a transaction begins - which may be different from another database

    http://docs.Oracle.com/database/121/SQLRF/statements_10005.htm#SQLRF01705

    Use of the SET TRANSACTION statement to establish the current transaction in read-only or read-write, to establish its isolation level, assign it to a specified rollback segment or type a name for the transaction.

    A transaction is implicitly starts with any operation that requires a TX lock:

    • When a statement that changes data are issued
    • When a SELECT ... FOR UPDATE instruction is emitted
    • When a transaction is explicitly started with one SET TRANSACTION statement or the DBMS_TRANSACTION package
  • Process flow of objects in a database diagram

    Hello

    I want to find a database schema, objects created by the Oracle Workflow. Is this possible?
    For example, when I create and deploy a mapping in OWB, a package is created in the target schema. I can manage by using SQL only.
    When I create a package, module, and process flows in OWB, is it possible to visualize in a database schema (for example, owf_mgr)?

    Thank you.

    Hello

    When you deploy a process flow, it is transformed into an Oracle Workflow and stored in the workflow diagram. There is a client of design (Workflow Manager) and monitor tool (Workflow Monitor) for design/editing workflows and their follow-up during execution as it is seen to display the workflow created.

    What do you do with the workflow deployed? Do you want just a few views SQL to see being deployed or you want to run the object 'natively' (such as the HAND of the generated package PLSQL?).

    See you soon
    David

  • Cftransactions works with MS Access databases?

    The project I'm working on that accesses its data from a MS Access database. When you create a new person in the database there are several tables where the data is to be inserted and updated.

    I had the problem, that when the second, third... insertion fails, one is already done. Then I wanted to wrap the insertions in a cftransaction, so when a call fails the other ones get restored.

    But now no insertion takes place, even when there is no error. I have not found a reliable information it is possible to use with MS Access dbs cftransactions. Is it a definitive statement if it works with MS Access at all or it will work with what version?

    Hope you can help out me.

    I doubt that cftransaction will do you good with MS Access.  The main objective of the cftransaction tag is to use the functionality of the underlying database transactions.  In general, link operations several query statements together as an atomic unit such as if one of the statements fails, the entire transaction is rolled back and the database is left intact.  Access does not have a transaction log, so there is no way so he could process transactions (and thus to perform restorations).  If you find yourself with incremental updates that you see.

    This is another reason you will see recommendations of other ColdFusion developers DON'T use MS Access in ColdFusion applications.

    -Carl V.

  • database design patterns

    I would like to learn more on "database design patterns ', on the internet, I can't find good web page for this.
    It should describe what data models are performed all list and describe when to use them.

    CharlesRoos wrote:
    Design patterns traditional relational database transactional table is what I'm looking for.

    There is not really such a beast - or at least no I ran into when dealing with RDBMS designs. The approach that is usually used is a "high level data model" (often called an entity-relationship diagram). This DR. would then become the plan of action for the implementation of the physical database model.

    Also such patterns exist in the database. Simpler is so-called ' header and lines plan tables "which should explain to create 2 tables and link/join with next path and it can become such performance or other problems with this model and so on.

    This isn't really a model - is standardization and what is expected of relations in 3NF.

    Also, it is wrong to assume that a "+ header - and - line-tables +" exist purely for performance problems. In fact, it can actually be slower done as 2 separate table (using 3NF) more simple using only one table (2NF).

    I remember a design methodology called Tetrach (not sure of spelling) I have done a few courses in, in the 1980s. It deals with the prediction of the performance of the relational data models. Simply put - if you have an invoice that usually consists of a single header line and 20 lines of line, processing invoices will require an average of 21 St / s (logical or physical) by Bill. 2NF, it will take a single e/s - however, the data model and then imposes a limit of 20 lines per invoice (never forget the story on such a structure coding problems).

    However, if the system is I/O forcing then? You decide on a single i/o per invoice (by limiting the flexibility of the data model) or 21 St / s per invoice (and face the real possibility that the system may be impossible to successfully treat all invoices received in time for shipment orders)?

    Well, this isn't really that relevant more with modern equipment of today and storage systems - but it still illustrates to the point that performance alone is not the primary consideration for database designs.

    When to use patter 'create 2 separate identical tables to separate the same kind of business objects, for exmple GoodTeachersTable and BadTeachersTable' and explain why and when creating this model. And so on. There are 30 such techniques of model I guess than that. University teaches only that we have "one-to-many" - thing in the world, that I'm not interested.

    I think you're confusing models of object oriented with relational data modeling design. There is no "+ patterns +" in the data model relationship - with the exception of different normal is a get - with the fundamental objective of correctly normalizing the data model to 3NF as part of a proven recipe of a robust, functional and scalable data model design.

  • Multiple source databases

    Hello
    I need to load data into the dimensions and the cube from multiple source databases. We have databases separate transaction for each country, but the data should be loaded in common target schema. For the moment, we have created maps that loads data from a source database.

    What is the best way to fill, for example clients clients tables (located in multiple source databases) transaction dimension if the distinctive signs of company may overlap?

    I would break into two pieces: the burden of source in the area of transit systems, then the charge of staging in the table target, you are talking about is a dimension.

    There is no reason you would have to use views or synonyms if you do not want. You could raise the issue with a GAME operator, in this case, a union, which brought together all sources in the staging table. However, I would create probably several mappings for each source system. I would create a mapping for each table you want to extract data from and then create a separate process flow that controls all of the tables being drawn from a particular source database. This allows you to program the extractions from the source systems independently of each other in the cases where they need to run at different times. The end result of all this will be a series of staging tables that are loaded from the tables of the source of all different locations. For each of the mappings of the singular, I create a constant that defines the data for this mapping source and load a constant in a column called SOURCE_SYSTEM, or perhaps, as you mentioned. Then, this column SOURCE_SYSTEM/COUNTRY + SOURCE_SYSTEM_ID would be the natural touch.

    You can choose to keep these tables (as an ODS of sorts) or not... it's to you and your needs.

    Finally, I would create a simple mapping that loads the table of the final objective of the intermediate table unique.

    Let me know if this is not sensible.

    Kind regards

    Stewart Bryson

  • Question about the type of database, we create.

    Dear gurus,

    We create an application where Back-end is the Oracle 10 g 2 database and UI is Java.

    Let me explain what we intend to do on the side of the DB. (Say that the name of our DB is NPS)

    1. we intend to have a single database, and it contains 2 diagrams. There is a scheme and any other scheme of Transaction.

    The schema of the transaction contains tables and these data tables is filled on a daily basis and this is achieved from a different database (Say NP).
    If the database transaction will get data from the NP. That is to say NP-> NPS (Transaction).

    Note: The data can be loaded into our tables in the schema of the Transaction once in the day.

    2. we need to show these data to users. This user interface is created using Java.
    Now, we got a lot of users (waiting 600) hitting the daily application, at any time in a day.

    So, we plan to go for Reporting scheme. For the schema of the transaction will be just be fetch data from the database.

    The Reporting schema contains a few warehouse tables that are there in the scheme of the transaction.

    Our notification dashboards should get the data from our data of Transaction so it has to be updated periodically since the schema of the Transaction for any new data that we get from the other database.

    Can someone explain to me what is the best way to do it.
    Is there a better approach than what I explained.

    Thank you
    Maddy.

    Based on what you have posted, I can make the following observations and recommendations.

    1. 600 users not there. Amazon.com has 300 000. 15 + years I had an Oracle 7.3.4 database with more than 10,000.
    2. nothing you wrote never justifies the second schema that contains duplicate data... there just need to SELECT on the schema of the first privileges.
    3. 10 gr 2 penetrates support mode in just a few months. Why build something today that will be obsolete this summer? Go to 11 GR 2.
    4. learn... materialized views they might have some value according to works of your load.
    5. Java is not a reporting tool. Why not get a writer true Crystal, Business Objects, Oracle BI Publisher, discoverer or Siebel Analytics report?

  • Call stored procedures in the object module and application of entity

    Hello

    I've implemented a helper methods that contains the EntiyImpl base class to call stored procedures.

    Now, I need to call procedures stored from the module of the application.

    Apart from the creation of a module base class asks and the programme of assistance of duplication of code in the method is possible
    to share methods of assistance for calling stored procedures between the entity impl and application module impl?


    Concerning
    Paul

    Support code depends on characteristics of an object instance given entity beyond its database transaction?

    If so, I'm not sure I see how it could be used with a class of application module.

    Otherwise, here's what you do:

    Step 1:

    Set up the database transaction - you can even choose to. So instead of

    {myHelperMethod (Object someParam) protected
    DBTransaction trans = getDBTransaction();
    ...
    }

    This is for change

    protected myHelperMethod (DBTransaction trans, someParam Object) {}
    ...
    }

    Step 2: make the method public and static - once you set DBTransaction, you should be able to do.

    public static myHelperMethod (DBTransaction trans, someParam Object) {}
    ...
    }

    Step 3: Remove your EntityImpl base class method in a utility class:

    Public MustInherit class PlSqlUtils {}
    private PlSqlUtils() {}

    public static myHelperMethod (DBTransaction trans, someParam Object) {}
    ...
    }
    }

    When you call the method of application module, object entity or class of same view object, call

    PlSqlUtils.myHelperMethod (getDBTransaction (), paramValue);

    Unlike Transaction.executeCommand (), allows you to provide features like the setting procedure of parameter values, recovery of the values of the parameters, etc.

    Hope this helps,
    Avrom

Maybe you are looking for

  • Pavilion DV7-1245DX: Max RAM for laptop

    Hi, I have a Pavilion DV7-1245DX, P/N NB231UA, w / an AMD processor. I would like to know what the MAX RAM I can put in this laptop. Thank you for your help, Chris Santor

  • Problem checking e-mail and text messaging addresses

    I use these two applications Apple Mail and iMessaging - when I start typing a name, I get a circle of rainbow-colored that delays which bears the name of the person I am trying to contact.  Is this a virus?

  • HP 15-r000na

    My laptop has 4g of memory that I want to move to 8 GB. Crucial scan shows 1 slot is under the keyboard on my Hp 15-r000na. It's not below.

  • HP 3050 printer prints not clearly even after replacing the color and black cartridges...

    I have a problem on a HP 3050 printer all-in-one that is just a year old.  The printer is not used for several months and it was working properly before.  I tried to print a page and had missing horizontal print, I tried to clean the print heads and

  • Trackball in java application

    Hello II I was wondering if I can show the arrow trackball navigation... just like I see in the browser... in a java application, it will save the user to scroll pain Thank you...