Problem in multiple inserting

Hello!
I'm trying to code a multiple inserting to the object.
I'm building a master-detail page, where Master table is the Order, and the Detail page is the Nomenclature + number of nomenclature position in appropriate order.
It's very comfortable to add to the order's specification many nomenclature at once. To code this action, I created another page, where a Tree-table element contained all Nomenclature data whith tableSelectMany element. I also created a button which must perform the multiple inserting to OrderDetail table and bind to this one such a code:
public String saveButton_action() {
BindingContainer bindings = getBindings();
Set rowSet = tableInfraction.getSelectionState().getKeySet();
Iterator rowSetIter = rowSet.iterator();
DCIteratorBinding nomen =
(DCIteratorBinding)bindings.get("NomenclatureView1Iterator");
while (rowSetIter.hasNext()) {
Key key = (Key)rowSetIter.next();
nomen.setCurrentRowWithKey(key.toStringFormat(true));
Long NomenToCreate = (Long)shRow.getAttribute("rn");
OperationBinding operationBinding =
bindings.getOperationBinding("createOrderDetail");
Map params = operationBinding.getParamsMap();
params.put("nNomen", NomenToCreate);
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty()) {
return null;
rowSet.clear();
return "back";
I supposed to call Nomenclature page from an Orders page, select there necessary nomenclature positions and clicking the button perform action to create a multiple OrderDetail rows.
But clicking the button returns the next error:
javax.faces.FacesException: #backing_acts_CreateAudOrderDet.saveButton_action}: javax.faces.el.EvaluationException: java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)     at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)     at oracle.adf.view.faces.component.UIXCollection.broadcast(UIXCollection.java:94)     at oracle.adf.view.faces.component.UIXTree.broadcast(UIXTree.java:181)     at oracle.adf.view.faces.component.UIXTreeTable.broadcast(UIXTreeTable.java:322)     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)Caused by: javax.faces.el.EvaluationException: java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)     ... 30 moreCaused by: java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList     at oracle.revision.userinterface.backing.acts.CreateOrderDet.saveButton_action(CreateAudOrderDet.java:248)     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:585)     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126).
This error doesn't take place when I use not Tree-table, but a simple table to select nomenclature positions, which I need in.
Please, give me an advice to solve this problem.

Hi,
First of all , dont write database update statements inside LOOP
SELECT MANDT BUKRS GJAHR HKONT SHKZG PSWBT
       FROM BSEG
       INTO TABLE itab1
  WHERE BUKRS IN PBUKRS AND GJAHR IN PGJAHR AND VALUT IN PVALUT.
SORT ITAB1 BY HKONT.
LOOP AT ITAB1.
INSERT INTO ZTAB21 VALUES itab1.   " should be before loop
WRITE:/ ITAB1-HKONT,ITAB1-SHKZG,ITAB1-TAMT.
ENDLOOP.
For using same itab for direct insert, Custom table ZTAB21 should have field names same as BSEG.
Else, you have to write as below:
LOOP AT ITAB1.
wa_ztab21-tfield1 = itab1-bukrs.
append wa_ztab21 to i_ztab21.
WRITE:/ ITAB1-HKONT,ITAB1-SHKZG,ITAB1-TAMT.
ENDLOOP.
MODIFY ZTAB21 FROM TABLE i_ztab21.
Regards,
Nisha Vengal.

Similar Messages

  • CLR trigger - handling multiple inserts at the same time

    Hi
    I've developed a CLR trigger which operates on inserts performed on a staging table. The trigger implements some business logic and then inserts or updates a record in a target table. Whether an insert or update is performed depends on whether
    a record with the same ID already exists in the target (i.e. a select * from target where ID = 123).
    This works fine in most scenarios, but occasionally I am getting duplicates in the target table and have noticed that this seems to occur when inserts on the staging table happen at exactly the same time (i.e. multiple inserts for the same ID at
    the same time). In this situation duplicates are created in the target table because at the time of the inserts, no record with that ID exists in the target table (i.e. the select returns no records), therefore a new record is created for each.
    Is there a known way to deal with this scenario? For example, would locking the target table on insert result in the subsequent selects against the target table waiting until the target table had been updated, therefore the select would return a record
    for the given ID.
    I didn't really want to lock the whole target table on insert, because there are potentially other users reading that table (selects) and these would also have to wait for the insert to complete.
    I'd appreciate any thoughts on how to deal with this and avoid duplicates in the target table. I'm unable to change the way the data is coming in to the staging table, so my trigger code must deal with the above scenario.
    Thanks in advance.
    John

    First if you do not want any duplicate values in a column (or combination of columns) you should add a constraint to ensure this is never possible. A
    unique index
    like this should do this trick.
    CREATE UNIQUE NONCLUSTERED INDEX [IX_yourIndexName] ON [dbo].[YourTableName]
    [yourColumn1] ASC,
    -- add more columns that make the unique combination that you don't want repeated
    You can then add a try/catch block in your trigger code, if you get an exception based on this index then the record was created by another executing instance of this trigger and in that case you should do an update (or not, not sure what the rest of your
    logic is) in your catch block. This is the easiest solution and does not involve table locks. The only drawback is the first one to commit the insert will win and you have no guarantee which process or data set that will be. Also i have no idea how big the
    table is, how frequently changes are made, and what the data type is so you should
    keep this in mind when creating your index so you don't run into unexpected high index fragmentation which can lead to performance problems when executing updates and inserts.
    You could also create a
    named transaction with scope serializable around your insert/update block and execute your reads using a
    NOLOCK hint
    which should allow them to retrieve uncommitted writes and not create a long wait. The downside is is that the data might not be 100% accurate depending on if a transaction fails or not if there happens to be an update at the same time as a select but maybe
    this is not a big deal to the calling code.
    -Igor

  • Multiple insert row.

    Hi all,
    I have a table "Test" with the following column "X", "X2" and "X3". In apex a form on a table is created and I want
    to do a multiple insert on that table. Can anyone help me with this problem???

    I think you are thinking of a Tabular Form?..
    Just try to create one of those (using the wizard) on your "test" table.
    Or should every insert be duplicated? (Why??). You can do that by just creating another DML process in your Form.

  • How to optimize multiple inserts at runtime?

    Hello, guys,
    I have problem of optimizing multiple inserts at runtime using pro* C. The execution has the following form:
    for(int i = 0; i < 100000; i++)
    EXEC SQL EXECUTE IMMEDIATE :QUERY [ i ];
    EXEC SQL COMMIT WOK;
    The QUERY strings are only to be known at runtime, and all of them are to insert into the same table with different VALUES clauses, e.g.
    "INSERT INTO NSMALL (AN,DU,DE,AD,F1,F2,F3,F4,CAL,TYP,TS,TC,TSL,TCE,PC,RDU,ASD,AF,NETIDENT,ES,EF,LS,LF) VALUES('1',1,0,'','','','','','','',NULL,NULL,NULL,NULL,0,0,NULL,NULL,'',TO_DATE('19760101','YYYYMMDD'),TO_DATE('19760101','YYYYMMDD'),TO_DATE('19760101','YYYYMMDD'),TO_DATE('19760101','YYYYMMDD')) "
    I have tried to concategate the queries with ';', enclose them with "begin ... end", and execute them as a single SQL, but got less than 10% improvement(100 inserts/batch)
    Host array and FORALL clause could not been used in this usecase since the table is not known until runtime.
    So I have no idea about this problem, could any one tell me how to optimize?
    Thank you very much!

    You are sending 100,000 insert statements to the database.
    If you want better performance, then send only 1 statement that inserts 100,000 rows.
    So get rid of the for-loop and issue this one instead:
    insert into nsmall
    ( an
    , du
    , de
    , ad
    , f1
    , f2
    , f3
    , f4
    , cal
    , typ
    , ts
    , tc
    , tsl
    , tce
    , pc
    , rdu
    , asd
    , af
    , netident
    , es
    , ef
    , ls
    , lf
    select '1'
          , 1
          , 0
          , null
          , null
          , null
          , null
          , null
          , null
          , null
          , null
          , null
          , null
          , null
          , 0
          , 0
          , null
          , null
          , null
          , to_date('19760101','yyyymmdd')
          , to_date('19760101','yyyymmdd')
          , to_date('19760101','yyyymmdd')
          , to_date('19760101','yyyymmdd')
       from dual
    connect by level <= 100000Regards,
    Rob.

  • Multiple delete linked to multiple insert

    Hello folks!
    I'm developing a CMS and using ADDT to build most of the database operations. I'm registering user's activities in a db table. After each insert, update or delete, I link the requested transaction to an insert transaction to register it in my "changes" table. I'm having a little problem with linking multiple transactions. When I link a multiple delete, for example, to a multiple insert transaction in my detail page, they end without registering values in my tables. No errors are shown. I thought maybe an ADDT hero around could give me a hand and also this scenario could bring good ideas to others.
    The dynamic list sends the url variables correctly (detail.php?id=1&id_1=2.. etc). The delete transaction are trigged by the "KT_delete1" form variable. I presume it is been passed as the transaction finish and I'm redirected as I should (the url gets the "transaction=deleteTxt" variable). Here's my code:
    //start Trigger_LinkTransactions trigger
    function Trigger_LinkTransactions_del(&$tNG) {
    global $ins_alteracoesDelete;
    $linkObj = new tNG_LinkedTrans($tNG, $ins_alteracoesDelete);
    $linkObj->setLink("altFKey");
    return $linkObj->Execute();
    //end Trigger_LinkTransactions trigger
    // Make an instance of the transaction object
    $del_textos = new tNG_multipleDelete($conn_equylybraCMS);
    $tNGs->addTransaction($del_textos);
    // Register triggers
    $del_textos->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Delete1");
    $del_textos->registerTrigger("AFTER", "Trigger_LinkTransactions_del", 98);
    $del_textos->registerTrigger("ERROR", "Trigger_LinkTransactions_del", 98);
    $del_textos->registerTrigger("END", "Trigger_Default_Redirect", 99, "listar.php?modulo=Textos&categoria={GET.categoria}&transaction=deleteTxt");
    // Add columns
    $del_textos->setTable("inscricoes_pagamentos");
    $del_textos->setPrimaryKey("pgtNumInscricao", "NUMERIC_TYPE", "GET", "txtID");
    // Make an insert transaction instance
    $ins_alteracoesDelete = new tNG_multipleInsert($conn_equylybraCMS);
    $tNGs->addTransaction($ins_alteracoesDelete);
    // Register triggers
    $ins_alteracoesDelete->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "");
    // Add columns
    $ins_alteracoesDelete->setTable("alteracoes");
    $ins_alteracoesDelete->addColumn("altUsuario", "NUMERIC_TYPE", "POST", "altUsuario");
    $ins_alteracoesDelete->addColumn("altTipo", "NUMERIC_TYPE", "VALUE", "3");
    $ins_alteracoesDelete->addColumn("altDescricao", "STRING_TYPE", "VALUE", "Excluiu texto - {POST.txtTituloDelete}");
    $ins_alteracoesDelete->addColumn("altFKey", "NUMERIC_TYPE", "VALUE", "");
    $ins_alteracoesDelete->setPrimaryKey("altID", "NUMERIC_TYPE");
    * To makes it easier: "alteracoes" means "changes" and "textos" means "text" in my language (portuguese)

    There are a few ways:
    Google Disjointed rollovers
    Set Text of Layer
    Swap Image in the Behaviors Panel
    Hope this helps
    Jo
    "serestibi" <[email protected]> wrote in
    message
    news:fpgc4m$9tj$[email protected]..
    > Hi, i am a beginner, so go eazy on me,
    > I am trying to link multiple images (thumbnails) to one
    big picture frame.
    > So if you click the thumbnails, each will blow up in the
    same frame.
    > The easy solution would be to link to a table, but it
    doesn`t seem
    > linkable.
    > I tried different slide viewers but I cant personalize
    them enough.
    > Please sombody help me!
    >

  • Use Multiple Insert Statements in Prepared Statements

    Hi Friends
    i am stuck in a problem for which i need your help.i will brief you about the issue below.
    I am having Multiple Insert Statements which i need to execute to put the data in the database.i have a doubt about the use of the executeUpdate() function in the statement interface. sample code is as below.
    stmt = conn.prepareStatement("INSERT INTO Client ( clientPk, provincePk, countryPk, statusPk, branchPk, salutation, ) VALUES(PID, 2, '123123123', '123', '66', 1, 1 );");
    int n =stmt.executeUpdate();
    Now the problem is how do i insert multiple Insert statements using the conn.prepareStatement().should i do like
    stmt = conn.prepareStatement("")
    int n =stmt.executeUpdate();
    stmt = conn.prepareStatement("")
    int n =stmt.executeUpdate();
    stmt = conn.prepareStatement("")
    int n =stmt.executeUpdate(); ..................................
    should i use the same steps to execute each individual query and then use executeUpdate().
    Please let me know the correct procedure to be followed to execute these tasks.waiting for a positive reply from your side.
    Thanks & Regards
    Vikram K

    Hi
    Thanks a lot once agin for the reply.
    I think i have figured out the solution. I am using SQL statements in the Prepared statements(""). But now i have dropped the idea of using the prepared statement and decided to use the simple Statement instead.
    what i have done is as below.
    conn = ConnectionFactory.getInstance().getConnection();
    stmt = conn.createStatement();
    stmt.executeUpdate("INSERT INTO Client ( clientPk, provincePk, countryPk, statusPk, branchPk, salutation, heightMeasurementType, weightMeasurementType ) VALUES(PID, '1', '1', '0', '1', 'Mr', CONCAT('Jason ', PID), 'R', 'Mawdsley', '123', '66', 1, 1 );");
    stmt.executeUpdate("INSERT into Cp () Values ()");
    stmt.executeUpdate("INSERT into gp () Values ()");
    stmt.executeUpdate("INSERT into jk () Values ()");
    I think this makes sense to use the Statement and execute all the queries in one shot rather than using PS.
    thanks a lot for your help.
    Regards
    Vikram K

  • Problem with SQL Insert

    Hi
    I am using Flex to insert data through remoteobject and using
    SAVE method generated from CFC Wizard.
    My VO contains the following variables where id has a default
    value of 0 :
    public var id:Number = 0 ;
    public var date:String = "";
    public var accountno:String = "";
    public var debit:Number = 0;
    public var credit:Number = 0;
    id is set as the primary key in my database.
    I have previously used MySQL which automatically generates a
    new id if I either omitted the id value in my insert statement or
    use 0 as the default value.
    However, now I am using MS SQL Server and the insert
    generated this error:
    Unable to invoke CFC - Error Executing Database Query.
    Detail:
    [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot insert
    explicit value for identity column in table 'Transactions' when
    IDENTITY_INSERT is set to OFF.
    Strange thing is that I dont see this problem with another
    sample application. I compared with that application (it has the
    same VO with default value of 0 for id) and everything looks
    similar so I can't understand why I have this error in my
    application.
    This is SQL used to create the table:
    USE [Transactions]
    SET ANSI_NULLS ON
    SET QUOTED_IDENTIFIER ON
    SET ANSI_PADDING ON
    CREATE TABLE [dbo].[Transactions](
    [id] [int] IDENTITY(1,1) NOT NULL,
    [date] [datetime] NULL,
    [accountno] [varchar](100) NULL,
    [debit] [int] NULL,
    [credit] [int] NULL,
    CONSTRAINT [PK_Transactions] PRIMARY KEY CLUSTERED
    [id] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE =
    OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
    ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    Has anyone encountered this problem before with insert
    statements dealing with a unique id (with MS SQL Server)?

    Change "addRecords =
    connection.prepareStatement("
    to "addRecords =
    connection.preparedStatement("
    -BIGD

  • Problem with multiple Toplink/JPA apps in same server

    Anyone have experence of running serveral Toplink/ EJB-3 Web apps in the same server (OC4J, alas)?
    We seem to get a problem with the second app failing to initialise toplink, with an entity not found message. Each app runs OK on it's own.

    Yes, they access the same datasource and most of the tables overlap.
    We're thinking it might help to have common entity classes and put them in a shared library, but I don't know if this is relevant (setting up shared libraries complicates testing and tends to snowball, I reckon we need about 15 jars all told).
    I''ve had some funnies on OC4J before which I think may be to do with it's use of ClassLoaders, for example I initially put persistence.xml in the libary jar with the data model, but for some reason I get the entity not found error that way. It only seems to work if it's in the classes folder.
    For the moment we're getting arround the problem with multiple OC4J instances in the server.

  • Problem in multiple selections in a jList

    I have two jLists. Now I have to select some items from one jlist and have to transfer in the other one. But while trying to do it in the runtime I am getting some unexpected runtime errors including "Exception occurred during event dispatching". When I try to transfer only one item it works fine but shows problem in multiple selections. Pleast give your suggestions.

    [_First suggestion_|http://catb.org/~esr/faqs/smart-questions.html]
    [_Second suggestion_|http://mindprod.com/jgloss/sscce.html]
    db

  • Problem Using Multiple With Statements

    I'm having a problem using multiple WITH statements. Oracle seems to be expecting a SELECT statement after the first one. I need two in order to reference stuff from the second one in another query.
    Here's my code:
    <code>
    WITH calculate_terms AS (SELECT robinst_current_term_code,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '40'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '100'
    END first_term,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '100'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '160'
    END second_term
    FROM robinst
    WHERE robinst_aidy_code = :aidy)
    /*Use terms from calculate_terms to generate attendance periods*/
    WITH gen_attn_terms AS
    SELECT
    CASE
    WHEN first_term LIKE '%60' THEN 'Fall '||substr(first_term,0,4)
    WHEN first_term LIKE '%20' THEN 'Spring '||substr(first_term,0,4)
    END first_attn_period,
    CASE
    WHEN second_term LIKE '%60' THEN 'Fall '||substr(second_term,0,4)
    WHEN second_term LIKE '%20' THEN 'Spring '||substr(second_term,0,4)
    END second_attn_period
    FROM calculate_terms
    SELECT *
    FROM gen_attn_terms
    <code>
    I get ORA-00928: missing SELECT keyword error. What could be the problem?

    You can just separate them with a comma:
    WITH calculate_terms AS (SELECT robinst_current_term_code,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '40'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '100'
    END first_term,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '100'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '160'
    END second_term
    FROM robinst
    WHERE robinst_aidy_code = :aidy),
    /*Use terms from calculate_terms to generate attendance periods*/
    gen_attn_terms AS
    SELECT
    CASE
    WHEN first_term LIKE '%60' THEN 'Fall '||substr(first_term,0,4)
    WHEN first_term LIKE '%20' THEN 'Spring '||substr(first_term,0,4)
    END first_attn_period,
    CASE
    WHEN second_term LIKE '%60' THEN 'Fall '||substr(second_term,0,4)
    WHEN second_term LIKE '%20' THEN 'Spring '||substr(second_term,0,4)
    END second_attn_period
    FROM calculate_terms
    )Not tested because there are no scripts.

  • Problem using multiple contexts in same thread

    Hello,
    I am having problem using multiple contexts in the same thread. Here is the scenario:
    front-end is calling a ejb1 with a user1 and password. Ejb1 is then calling ejb2
    using user2 and password. I am getting security exception when calling ejb2 with
    the message user1 is not authorized. Looking at the documentation, context 2 should
    be pushed on stack on top of context 1 and context 2 should then be used until
    context.close() is called. It looks like this is not the case in this scenario?
    Regards,
    Jeba Bhaskaran

    I have the GTX670. So pretty much the same.
    When I go to  Edit>Preferences>Playback I see:
    When I select the monitor I am not currently using for Premiere Pro, the Program Monitor shows up full size at 1920X1080 in that monitor.
    While that may not help you, at least you know a similar card can do the job and you know that it should work.. What happens if you drop down to two monitors? Will it work then?
    Also, have you performed the hack that allows Premiere Pro to use the card since that card is not in the file? I have no idea if that is relevant at all, by the way. It is just an attempt at getting our systems to work the same way.

  • Problems printing multiple copies on 1 page in iPhoto version 9.5.1

    I'm having problems printing multiple copies of a photo in my version of iPhoto 9.5.1. I've tried looking at the answers given in Macworld forums for iPhoto '09 but I can't follow them as they refer to clicking 'preferences' - but this button isn't displayed on the 'print' page. Is my version iPhoto '09 or '11?

    iPhoto 9.5.1 is the most recent version of iPhoto '11, as part of the iLife '11 suit of applications.  The printing dialog changed between iPhoto '09 and iPhoto '11.
    The easiest way to print multiple copies of the same photo on one page is to simply duplicate your photo (from the "Photos" menu:  "Photos > Duplicate" and then to select all copies at once and use "File > Print":
    Then select a template and press the "Print" button.

  • Problem deleting multiple keywords in lightroom 5

    I am importing about 20,000 pictures from Flickr. they are all creative commons, and the end result will be the use of approximately 4000 of these in an online sign language dictionary.
    I use Bulkr to import them and this process imports the tags as well as other information such as the photographers name and url.  Many of these photos arrive with hundreds of tags, so that the total number of tags might be 20000 or more.  I need to assign my own tags and delete all the tags that the photo arrived with.  I use the lightroom batch delete to do this (the little minus sign at the top of the keyword list).  i select a keyword, hold down the shift key and scroll down.  the problem is that i cannot just scroll down to the bottom of the list.  There appear to be unpredictable keywords that cause the shift-select process not to work.  if i scroll back up and then carefully scroll part of the way back down, then there will be a point at which shift-select stops working and above that it works. 
    The end result of this is that it takes numerous shift-select-scroll down-select to delete everything so that what should take maybe 2 minutes takes 20 minutes or more. 
    The problem may be related to foreign language keywords especially chinese characters, but even what looks like a perfectly ordinary keyword can stop it.  Two recent examples: travellers cheque  and Київ. In all cases, the words can be deleted when i click directly on them.  you just cant shift-select THROUGH them.
    A separate annoyance that i will just grumble about is that i was forced to put these pictures in a separate catalog because there is always the risk that i could manage to delete my own keywords while batch-deleting everyone elses, and there is no simple way that i know of to undo this. with the separate catalog at least i wont delete all the keywords for my own pictures.

    With respect to problems deleting multiple keywords: On Windows, since at least version 3, LR has had basic bugs when you have more than about 1600 keywords showing.  (Hard to believe it isn't fixed by now.)   A simple workaround for you situation is to filter the keywords one letter at a time and then select the subset of keywords that are showing -- e.g. filter all keywords with the letter "t", then all keywords with the letter "b", etc.
    With respect to not getting the keywords into your catalog in the first place: You can define a Metadata Preset that will clear the keywords on import:

  • Multiple insert transaction for image uploads

    Hello !
    I can't figure it out how to connect multiple insert transactions on one page?
    For example - I want to upload images from page with different categories(have menu list) and insert by the one button all the images at once.
    image 1, cat 1
    image 2, cat 2
    image 3, cat 3
    button to insert
    Any Ideas? Where to start from?
    Thanks, Nick.
    Please help ! Maybe link for some tutorials?

    Hi Nick,
    What you are asking for is very possible to make with ADDT but if you are totally unfamiliar with ADDT you should probably go over the manual to go over the many functions that ADDT offers. You can find the manual two ways.
    1. After you have created your site and created one blank page you can open the page to have the Developer Toolbox Tab un-greyed out. Then you can click on the last icon (Control Panel) and press the help button.
    That will open up the manual.
    2. Go to: http://help.adobe.com/en_US/Dreamweaver/10.0_ADDT/help.html?content=MXK3_052000_MX_K3_con trol_panel.htm
    Same place the help button takes you.
    Yes, Waleed is having hosting issues that I think he is sorting out.

  • Executing multiple insert statement in oracle

    hellor every one,
    I have multiple insert statements which should be executed in a single execution and i placed the sample insert statement here. How can i execute these statement in a single execution. Please help me.
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',1,'04509','Abdomen pain');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',2,'04509','Abdominal bloating');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',3,'04509','Abdominal cramps');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',4,'04509','Abdominal pain');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',5,'04509','Abdominal sensitivity');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',6,'04509','Abnormal bleeding');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',7,'04509','Abnormal weight gain');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',8,'04509','Abnormal sensitivity to cold');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',9,'04509','Abnormal sensitivity to heat');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',10,'04509','Abnormal movements');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',11,'04509','Absence of menstrual periods');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',12,'04509','Absence of periods');\
    insert into r_symptom_master_tcs (RSM_CRT_DT,RSM_SYM_CD,RSM_CRT_UID,RSM_SYM_DESC) values('30-Sep-2005',13,'04509','Absent menstrual periods');\

    > but in what editor we should do this, either in the sql editor, or pl/sql
    Whatever editor you are comfortable with. I assume there is one.
    btw if there are a lot of INSERT statements in the script it might be worth adding the following to the top:
    ALTER SESSION SET CURSOR_SHARING = SIMILAR;

Maybe you are looking for

  • To get the User status of the Production Order

    Dear all, I have a  requiement to get the user status of the production order, This is just below the Status of the Production Order, I was able to get the Status of the Production order using the Function Module ( REL MSPT PRC ) etc Can any body ple

  • How to send mail using bsp

    Dear friends, please send me code how to send bulk mails from bsp, sincerely yours

  • Need help for a friend with setting up their bb email

    I have a bb bold and never had any trouble setting up my email. But, my friend is having trouble with her's.  She is on Verizon and was able to set up the email so that she could receive emails but, she's not able to send out going messages to everyo

  • Exporting in Premiere CC

    I have a 14 min sequence filed with various formats, stills, effects, etc.  Everything renders and plays fine on the timeline, but when I go to Export, the export gets stuck whenever it hits a title (just a regular title made in premiere) or a random

  • How to search over compositional data

    Hi folks! How can we filter compositional data in the ERP? I mean, I'd like to retrieve all the purchase documents that contain material A, B AND C simultaneously. Do the range filters allow such a search? Thanks in advance!!!