Control multiple updates and queries within one transaction in JPA

Hi,
I have a question regarding control multiple updates and queries within one transaction. We are using EclipseLink 2.3.1. With below code, will I be able to:
- have all insert, update, select queries committed in one transaction;
- queryGetBalance will return the latest OrgBalance after update;
- if one fails, everything rolls back.
Thanks!
Jeffrey
PS: I realized that I cannot use em.getTransaction().begin() and em.getTransaction().commit(), since I am using JTA.
=============
@PersistenceContext(unitName="Test")
EntityManager em;
em.setFlushMode(FlushModeType.COMMIT);
newTransaction.setAmount(1000);
newTransaction.setType("check");
em.persist(newTransaction);
orgAudit.setUpdateUser("Joe")
orgAudit.setupUpdateTime(time);
em.merge(orgAudit);
Query queryUpdateBalance = em.createQuery("update OrgBalance o set o.balance = o.balance + :amount where orgId = :myOrgId");
queryUpdateBalance.setParameter("amount", 1000);
queryUpdateBalance.setParameter("myOrgId", 1234);
Query queryGetBalance = em.createQuery("select OrgBalance o where o.orgId = :myOrgId");
queryGetBalance.setHint("javax.persistence.cache.storeMode", CacheStoreMode.REFRESH);
queryGetBalance.setHint("javax.persistence.cache.retrieveMode", CacheRetrieveMode.BYPASS);
queryGetBalance.getResultList();
em.flush();
Edited by: JeffreyW on Dec 12, 2011 10:34 AM

Yes, the operation will be in a single transaction, assuming you are using a JTA managed SessionBean and the code is part of a SessionBean method.

Similar Messages

  • How to handle multiple updates and creates sequentially

    Hi All,
    I have a requirement where multiple updates and creates will happen on an Order (say Purchase Order). I need to capture all these updates/creates and synchronize the other system in real time. In other words, as soon an order is updated/created in EBS, the same needs to be reflected in other system database.
    I have thought of using a JMS queue that'll store all the incoming creates/updates and a BPEL process will keep polling this queue. But in this case how do I ensure the sequence in which the new instances will be created. e.g. create order message was picked first from the queue and an instance got created. While this instance was in execution, another update happened on the same order for which another instance got created. Now before the first instance could get completed and created an order, second instance is trying to update the custom database because of which it would fail. How to restrict second instance from running before the completion of the first one?
    I have also thought of capturing Order Update/Create business events from EBS but there also the same problem. Instance created by Update event can try to do the update before the instance created by Order Create could create a new order.
    Any method to solve this.
    Any pointers/suggestions/approaches are more than welcome.
    SOA Suite 11.1.1.3
    Regards,
    Neeraj Sehgal

    maybe unit of order and unit of work can help you on that, though i haven't any experience on both topics :
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms/uow.html
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms/uoo.html
    or the mediator supports some sort of sequencer, see : http://www.xenta.nl/blog/2010/05/14/oracle-soa-suite-11g-resequence-messages-in-mediator/

  • How do i manage multiple users and devices with one apple id without everything showing up on every device?

    how do i manage multiple users and devices with one apple id without everything showing up on every device?

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

  • Deleting and or moving multiple adhoc/SAP queries in one go.

    Hi,
    I am wondering whether anyone knows of a method to deleting multiple SAP queries in a single go.  I would also like to be able to bulk move queries from one user group to another.  We are having a wholesale clear-up of queries and the thought of having to do each one individually is scary!
    Many thanks in advance

    To delete queries belonged to a user group, you can use SQ02 -  GoTo - Query Directory, then key in the desired user group and execute. From the output list of this, you can select all queries and click on 'Delete Select Queries' .

  • Tips needed for multiple iPods and users with one PC...

    We are a family of four, with four iPods and one PC. We have two (Windows) user accounts set up. My husband and son share one, and my daughter and I use the other. My husband's and son's music does not show up in my user library and visa-versa. There are some songs that my husband has purchased that I would like on my iPod, but there are songs that my daughter has that I DON'T want on my iPod. Is there a way to set up 4 separate librarys that can choose to share (or not share) songs?
      Windows XP  

    When the iPods belong to different people, there are basically two ways of using multiple iPods on a computer and these involve:
    a) Sharing a single iTunes library and or user account or
    b) Creating multiple user accounts.
    Note: When you are sharing an iTunes library, you don't have to set each iPod to update in the same manner, you can mix and match from the options below as each iPod has it's own update settings
    Sharing a Library and/or User Account
    If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish): Loading songs onto iPod automatically - Windows
    Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    Or you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod
    Loading the iPod shuffle differs slightly but it can still be used with the others, for details have a look at this page:
    Loading songs onto iPod shuffle - Windows
    It's also possible to have multiple libraries in a single account. To create or access a second (or more) library, hold down the Option key (or Shift key in Windows) when launching iTunes 7. In the resulting dialogue you will get the option to create a new library or navigate to the other Library.
    Note: You can only have one Library open at a time and iTunes will default to the last library opened if you don't use the keyboard command to choose one. This can prove tricky when using multiple iPods, if you don't use the keyboard command you can risk syncing to the wrong library:
    Using multiple iTunes libraries -Windows
    Separate User Accounts
    Another option (which you've already tried) is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists

  • Unique Key Violation While Doing Multiple Updates And Create in EJB

    Hello All,
    I am using oracle 9i and Weblogic 7.0. I have a table that has a unique key constraint on one column , say 'Col1' and i am using a CMP to read,create and update data in this table. The problem description is as follows.
    I have JTable that display the data from the above said table. The user can modify the existing data and insert new data that will be reflected in the DB using the CMP. Let us say the following are displayed
    ROW1
    Col1 : 3
    Col2 : 'ABC'
    Col3 : 1 (Primary key in the table)
    Now the user modifies the above row and inserts a new record. Now the following will be the display
    ROW1 (Modified)
    Col1 : 4
    Col2 : 'ABC'
    Col3 : 1 (Primary key in the table)
    ROW2 (New)
    Col1 : 3
    Col2 : 'DEF'
    Col3 : 2 (Primary key in the table)
    When the above data is saved i do the following in the Code
    a) Session Bean
    For (all the data in the Jtable)
    try
    home.findByPrimaryKey(Col3);
    remote.update(Col1,Col2);
    catch(FinderException fe)
    home.create(Col1,Col2,Col3);
    When the above code is run During the first loop the update runs succesfully (i.e update old value of 3 with 4 ) but during the 2nd loop the create (i.e Insert new value 3) gives me the unique key violated exception. The following is the stack trace
    <Oct 25, 2004 11:36:22 AM IST> <Info> <EJB> <010049> <EJB Exception in method: ejbPostCreate: java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
    java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
    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:579)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1892)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2130)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2013)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2869)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:608)
    at weblogic.jdbc.jts.Statement.executeUpdate(Statement.java:509)
    at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.__WL_create(TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.java:1435)
    at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.ejbPostCreate(TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.java:1353)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.manager.DBManager.create(DBManager.java:1023)
    at weblogic.ejb20.manager.DBManager.localCreate(DBManager.java:904)
    at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:180)
    at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop_LocalHomeImpl.create(TerminalPaymentsCMP_kbdoop_LocalHomeImpl.java:73)
    at de.dl.ucs.contract.helperclasses.SubsegmentMaintanence.saveTerminalPayments(SubsegmentMaintanence.java:697)
    at de.dl.ucs.contract.controller.SubsegmentSL.saveSubsegmentDetails(SubsegmentSL.java:570)
    at de.dl.ucs.contract.controller.SubsegmentSL.processFinanceSubsegmentSave(SubsegmentSL.java:1601)
    at de.dl.ucs.contract.controller.SubsegmentSL_kgzv4j_EOImpl.processFinanceSubsegmentSave(SubsegmentSL_kgzv4j_EOImpl.java:498)
    at de.dl.ucs.contract.events.FinanceSubsegmentBEH.saveSubsegmentDetails(FinanceSubsegmentBEH.java:749)
    at de.dl.ucs.contract.events.FinanceSubsegmentBEH.processEvent(FinanceSubsegmentBEH.java:232)
    at de.dl.ucs.framework.flowcontroller.ControllerBean.delegateAction(ControllerBean.java:229)
    at de.dl.ucs.framework.flowcontroller.ControllerBean_riqvk4_EOImpl.delegateAction(ControllerBean_riqvk4_EOImpl.java:46)
    at de.dl.ucs.framework.flowcontroller.ControllerBean_riqvk4_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    >
    <Oct 25, 2004 11:36:22 AM IST> <Info> <EJB> <010051> <EJB Exception during invocation from home: [email protected] threw exception: javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception is: java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
    Please help me with this, as far as i am concerned since both update and create is in the same transaction the update on the row must be visible to the create and hence there shouild not be any problem.....
    thanks in advance
    Shanki

    Hi,
    Thanks,
    There are 3 columns involved with that table . Out of whihc one is a Primary Key (string) , The other column (Number) has a unique key constraint defined on it and the last column stores a value corresponding to the 2nd column.
    The reason for me to do a create in the Finder exception is as follows.
    I Loop through the Data present in JTable. As given in the example let us assume that there are 2 rows in the JTable. Out of whihc the First row needs an updation and the second row , which is a new row needs to be created. So During the First iteration of the loop, The findermethod does not throw any exception (Because it is a modfied row) and hence the update gets fired successfully. During the second iteration , since it is a new row the findermethod will throw a finder exception and hence create will get fired.
    I understand that this is not a good coding style but then it is not 100% wrong and i need to find out as to why it is not working.
    Hope am clear in explaining my problem
    Thanks
    Shanki

  • Multiple users and shopping carts, one searchable index?

    Hi all,
    I've got an idea but I would like to know if it possible with Business Catalyst. I'll try and explain as simply as possible:
    I have multiple users (let's say 10). They all need separate shopping carts as they are all selling different products. They all need their own admin areas that keep track of their incomes, workflows, shopping carts, etc. They are essentially 10 independent users. Will the WebCommerce10 plan satisfy their needs, or will 10 separate WebCommerce single plans need to be sold?
    Taking the above into account, is there anyway to have 10 independent shopping carts, but they can all be searchable simultaneously? e.g. think eBay, lots of users with their own independent admin areas and products, but one search field returning many results from all the user's shopping carts? Is there anyway to achieve something like this with BC? Can subdomains do this? Any other ideas how to achieve this if none of the above is possible?
    My plan B is having a landing page where a link for each of the 10 users will take them to their relevant shopping carts, but this experience isn't quite as integrated as I would like, from a web surfer's point of view.
    Thanks.
    Clint,
    Komma Media

    Hi Robbie,
    Yes, this would require significant modification to the shopping cart functionality. As it is now, it's very dependent the ShoppingCart being associated with the session and therefore the user. To change that would be significant work.
    Additionally, if you had two people logging in to the same account and editing the same order around the same time, this would tend to not to work well. This is because two users would be two sessions and they would often get routed to different app server instances. Because the way orders are managed, there's no way to immediately sync up the changes between multiple instances, and if you managed to do it would likely slow things down drastically. I would not recommend trying this with ATG.
    Thanks.
    Nick Glover
    Oracle Support for ATG Products

  • How to create multiple reports and dashboards from one dataset?

    Hi there,
    I've centralized the data to an excel workbook from multiple data sources and added as a dataset to my new Power BI site. How can I build multiple reports and dashboards out of one dataset?

    Hi Kuber,
    In the Datasets section on the Navigation pane (left side of your Dashboards page), you can click "..." next to each dataset. One of the options in the contextual menu is Explore. When you explore a dataset, you can create reports and save
    them.
    You can find more about this and other topics in our Getting Started content:
    https://go.microsoft.com/fwlink/?LinkID=512054
    Thanks,
    M.

  • Multiple sites, and domains, only one log file is working

    I have a custom install of Entropy latest version for apache 1.3
    OS X 10.4.5 on an Xserve dual g5
    Everything is running fantastic save for one thing.
    The sites that I have set up for multiple domains and multiple websites only the site that is in the top of the List in Server Administration under Web and so forth... I have the top site (which is our own site) and the others under that gain no hits and stats information because everything is being logged under the top site. Does this make sense?
    I use Awstats to generate information for the various sites but only the top site generates hits and it gets the information for everything.
    I am using entropy because I needed a level of security to avoid spammers on our guestbook and contact forms and entropy has the ability to use turing test.
    Our various sites are now requesting custom stats and information but cannot get this to work. I have set different file names for each of the sites logs both hits and error log.
    What do I need to check and what information can I supply to you from my custom install that will help you help me get this working.
    Thank you everyone for your help.
    Joseph

    Add me to the "me too" list.
    Could it have anything to do with the difference between a "local host aliases" and "virtual hosting"? Or is that just related to Mail service?
    Maybe it belongs in another thread, but what are most folks using for log analysis? I've got 40 or so virtually hosted domains that I'd like to track so I can kill the sites that aren't doing my company any good...

  • Dynamic create sequence and select nextval within one transaction

    The following procedure doesn't compile if sequence SEQ_ADR does not exist before compilation. I had to create the sequence manually before being able to compile this procedure. How can I avoid this manual generation?
    PROCEDURE A_270(proc_id number) IS
    seq_cnt number;
    curr_max number;
    BEGIN
    select count(*) into seq_cnt from user_sequences where sequence_name='SEQ_ADR';
    if seq_cnt > 0 then
    execute immediate 'drop sequence SEQ_ADR';
    end if;
    select max(id)+1 into curr_max from adress;
    execute immediate 'create sequence SEQ_ADR start with '||curr_max||'';
    insert into adress(ID,
    IMPORTED_DT
    select
    SEQ_ADR.nextval ID,
    sysdate IMPORTED_DT
    from new_adress;
    END;Edited by: totalnewby on Aug 23, 2012 6:41 AM

    totalnewby wrote:
    The following procedure doesn't compile if sequence SEQ_ADR does not exist before compilation. I had to create the sequence manually before being able to compile this procedure. How can I avoid this manual generation?
    PROCEDURE A_270(proc_id number) IS
    seq_cnt number;
    curr_max number;
    BEGIN
    select count(*) into seq_cnt from user_sequences where sequence_name='SEQ_ADR';
    if seq_cnt > 0 then
    execute immediate 'drop sequence SEQ_ADR';
    end if;
    select max(id)+1 into curr_max from adress;
    execute immediate 'create sequence SEQ_ADR start with '||curr_max||'';
    insert into adress(ID,
    IMPORTED_DT
    select
    SEQ_ADR.nextval ID,
    sysdate IMPORTED_DT
    from new_adress;
    END;Edited by: totalnewby on Aug 23, 2012 6:41 AMEssentially the same question asked by 'gogol' two days ago at creating and using sequence inside a proc
    It was a bad idea then. It is a bad idea now.

  • Slow record insertion when using millions of queries in one transaction

    For test purposes, we play a table creation scenario (no indexes) under multiple conditions : we insert records in bulk mode or one by one, with or without transactions, etc.
    In general, the record insertion is ok, but not when we try to insert 1 million record one by one (sending 1 million INSERT commands) in a single transaction: in this case, the insertion is quick enough for the first 100000 records approximatively, but then, it becomes extremely slow, so that it would take several days to complete. This doe not happen whithout the transaction.
    We were not able to find the database parameters to change to gain a better performance : rollback? transactions? undo? what else?
    Does anybody have an idea of teh parameters to modify?
    Thank-you in advance.

    >
    For test purposes, we play a table creation scenario (no indexes) under multiple conditions : we insert records in bulk mode or one by one, with or without transactions, etc.
    In general, the record insertion is ok, but not when we try to insert 1 million record one by one (sending 1 million INSERT commands) in a single transaction: in this case, the insertion is quick enough for the first 100000 records approximatively, but then, it becomes extremely slow, so that it would take several days to complete. This doe not happen whithout the transaction.
    >
    Hi
    How are you inserting the one million records when you do one at a time? If it's within a loop, you are probably doing a COMMIT as well within the loop. This will cause log file sync waits as LGWR will be too busy writing the redo entries. This will slow down the insert process as well as the performance of database. This is an expected bahaviour. Commit causes checkpoint to triiger which in turn will make log writer write the redo entries in the online redo logs. This is a serial process.
    You can do the following methods to insert bulk records
    a) INSERT /*+ APPEND */ into table select * from stage;
    This will cause direct path load to happen bypassing buffer cache and reducing the redo to a great extent. However if you have foreign keys enabled in the table, it will silently ignore the direct path directive and do the conventional load.
    b) Forall....SELECT ...BULK COLLECT..... This will be a good method when you do from PL/SQL
    c) When you do within a loop
        Declare
        v_commit_cnt Number := 0;
       Begin
        For i in (select col1, col2, col3 from billion_record_table)
        Loop
         v_commit_cnt := v_commit_cnt + 1;
         Insert into target values (i.col1, i.col2, i.col3);
         If (v_commit_cnt >= 50000) Then
          commit;
          v_commit_cnt := 0;
         End If;
       End Loop;
       COMMIT;
    End;
    /4) If the target table is a staging table, you can do a CTAS (Create table as SELECT)
    and many more options if you plan well in advance.

  • Can multiple ringtones be set within one contact entry?

    I'm in the process of updating contacts on my iPhone 4, and am assigning specific ringtones to a few people. I noticed, however, that you can only list one ringtone per contact entry--even though many of my entries have multiple people with different phone numbers (ie: a husband, wife, and kid). I even had to separate my mom and dad in my address book in order to give them each their own ringtone; but I can't list their home phone number in both contact entries, or it just plays the default tone. Is there a way to get around this without having to separate all the "couples?"

    I am going to answer my own question here, I have just found out that by going into the gallery and picking a mp3 that I could "use the tone" as a contact ringtone! - Happy Days!

  • Eigrp Updates and Queries

    Hi,
    i was wondering if any one has some average statistices for the EIGRP Updates, Queries, and replies in a avarage network with a 260 routes in the routing tables.
    Below are are my statistices. I feel they are pretty much high....can any one confirm?
    10:00
    TOR-CORP-RS1#sh ip eigrp traffic
    IP-EIGRP Traffic Statistics for AS 1
    Hellos sent/received: 430374/127566
    Updates sent/received: 815/1350
    Queries sent/received: 700/821
    Replies sent/received: 821/973
    Acks sent/received: 2927/2678
    Input queue high water mark 13, 0 drops
    SIA-Queries sent/received: 0/0
    SIA-Replies sent/received: 0/0
    10:15
    TOR-CORP-RS1#sh ip eigrp traffic
    IP-EIGRP Traffic Statistics for AS 1
    Hellos sent/received: 433395/128460
    Updates sent/received: 820/1357
    Queries sent/received: 700/821
    Replies sent/received: 821/973
    Acks sent/received: 2934/2685
    Input queue high water mark 13, 0 drops
    SIA-Queries sent/received: 0/0
    SIA-Replies sent/received: 0/0
    10:30
    TOR-CORP-RS1#sh ip eigrp traffic
    IP-EIGRP Traffic Statistics for AS 1
    Hellos sent/received: 438691/130032
    Updates sent/received: 825/1364
    Queries sent/received: 705/825
    Replies sent/received: 825/980
    Acks sent/received: 2950/2701
    Input queue high water mark 13, 0 drops
    SIA-Queries sent/received: 0/0
    SIA-Replies sent/received: 0/0
    11:00
    TOR-CORP-RS1#sh ip eigrp traffic
    IP-EIGRP Traffic Statistics for AS 1
    Hellos sent/received: 451119/133714
    Updates sent/received: 860/1413
    Queries sent/received: 730/845
    Replies sent/received: 845/1015
    Acks sent/received: 3048/2797
    Input queue high water mark 13, 0 drops
    SIA-Queries sent/received: 0/0
    SIA-Replies sent/received: 0/0
    Thanks
    SAM

    There's no "normal" for these types of numbers.
    That said, it does look odd that you have almost as many queries as you have updates--it does seem like you have a lot of active states on this specific router. What I would do is take an occassional look at the EIGRP event log, and see what's there. If you see a single route going active quite a bit, then you might want to chase down why that route is active so often, and see what can be done to fix it. If you see a lot of routes going active, then passive, on a regular basis, I would chase down one route, and if nothing shows up there, try and find some common element for all the routes--a single link through which they all pass, or a single router, etc. Then see if you can figure out why that link or router might be bouncing a lot, or look for problems in that area.
    The EIGRP event log is probably the most important piece of information you have for monitoring the health of your network on a regular basis....
    HTH.
    Russ.W

  • Multiple Instances and schemas to One

    Hi,
      Good Morning to all gurus.
    Using Oracle Version 11.2.0.2
    We have a database With 4 instances and Each Instance will be having 10 to 15 schemas Based on Countries. Here in all schemas we will be having Huge data's (count may be 3 to 5 crores for some 10 tables)
    Now am keen to Know If i change the above to a single instance and Single Schema(Common for all countries) What Pros and cons Will be there (Technical).
    Any Links or Answers are highly appreciated.
    HOPE GURUS Here can help me study and understand the above scenarios.
    Regards,
    Simma....

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2246908001297
    cons: 
    o harder to manage
    o harder to upgrade
    o harder to patch
    o harder to maintain
    o causes your shared pool size to increase 1,000 times (shared sql goes down the tubes)
    o takes more space
    o queries against the dictionary will be impacted
    o latching on the shared pool goes WAY up (latching = locks = serialization device =
    slows you down)
    pros:
    o none that I can think of.
    https://forums.oracle.com/thread/1032030
    Seperate schemas have advantages with security, privacy, seperation of duties, and change control. Seperate schemas also have the advantage of logical granularity / grouping for easier management, upgrade, decommission, scalability, hardware or software migration.
    Yes, you can develop applications faster if you don't have to think about security, scalability etc, but it will come back to haunt you later.
    RobertGeier
    AND
    Separate schemas have the disadvantage of requiring additonal grants and privileges to support the reference of non-owned objects used in stored code and to support FK definitions across tables owned by different users.
    Naming standards and system codes can be used to identify and segregate objects defined under one schema.
    The use of solid naming standards with a well chosen group of owners (schemas) would likely be a good compromise. The choice really depends on how large the applicaiton is going to be object wise and how integrated the objects are going to be. The more integration the less separate owners is beneficial.
    IMHO -- Mark D Powell --

  • How to connect multiple nanos and minis to one computer and share content

    I have 3 iPod nano's and 1 iPod mini in my house and would like to make a central repository of music on one computer that can be shared across nanos where users can select all or some of the available tunes. How can I do this?
    Dell   Windows XP Pro  
    Dell   Windows XP Pro  

    You could use the update option "automatically update selected playlists only" would allow you to create a playlist specifically for each iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used by the other iPods. Make your playlist a Smart playlist and limit the size to just below the advertised capacity of your iPod ( for example, around 3700MB for a 4GB or 1800MB for a 2GB Mini or Nano). You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    To select the update option.
    iTunes 6
    Connect your iPod to your computer and when it appears in the Source list go to Edit>iTunes>Music Tab (iTunes>Preferences>Music tab on a Mac).
    Automatically update selected playlists only. With this option, iTunes automatically copies the playlists you have selected to the iPod when you connect it to the computer.
    iTunes 7
    Connect your iPod to your computer and when it appears in the Source list click on it to show the preference tabs in the main pane. Choose the following option and click "Apply".
    Sync Music - Selected playlists. With this option, iTunes automatically copies the playlists you have selected to the iPod when you connect it to the computer. You'll find this in the Music Tab.

Maybe you are looking for

  • Ringtone problems...

    I am running iTunes 7.4.1.2 But I see no ringtone icon in my music. I looked under view -> view options, but there is no Ringtone item to check. I went to the iTunes store and saw that "Hotel California" is a song that can be made into a ring tone. I

  • Best way to export from FCP X to iDVD?

    I believe this question must have been dealt with a number of times already but since I could not find a clear answer with a reasonable amount of searching I post my question here. I have Apple ProRes 422 footage (HD 1920 x 1080) in FCP X out of whic

  • Need help installing Adobe Reader 11

    Adobe Reader will not update. I have tried following multiple forum help suggestions. I have received errors 1302, 1310, and one other. Usually get error 1310.  I am running Windows 7 Professional. The downloader will download the files , attempt to

  • Open JPG as RAW preference missing, Photoshop CS3

    Some of my scripts are failing when the "open Jpg as Raw" preference is selected in Photoshop CS3. I found this thread that seems to solve the problem, but the relevant code is missing: http://www.adobeforums.com/webx?128@@.3be5325f Could someone ple

  • Panel-questions + panel-poll

    I would like to have custom gnome-menus in the gnome-panel (like the gnome-menubar shows applications, places,...). This is easy to do with the xfce-panel (uses xml-menufiles) but I would rather like the gnome-panel. I googeled some but couldn't find