Private-owned deletes and batch writing test case

Has someone dealt with the following scenario ?
I have an order containing order items a a private owned one-to-many relation ship.
When i delete many order lines toplink generates the delete commands for order items and orders. When using batch writing the delete commands are generated in a way that the batch writing is useless (each delete command is generated on its own batch command as the following:
[TopLink Finer]: 2008.03.03 05:57:10.343--ClientSession(22130853)--Connection(27081530)--Thread(Thread[main,5,main])--Begin batch statements
[TopLink Fine]: 2008.03.03 05:57:10.343--ClientSession(22130853)--Connection(27081530)--Thread(Thread[main,5,main])--DELETE FROM TL_ORDER_ITEM WHERE (ORDER_ID = ?)
[TopLink Fine]: 2008.03.03 05:57:10.343--ClientSession(22130853)--Connection(27081530)--Thread(Thread[main,5,main])--     bind => [1]
[TopLink Finer]: 2008.03.03 05:57:10.343--ClientSession(22130853)--Connection(27081530)--Thread(Thread[main,5,main])--End Batch Statements
[TopLink Finest]: 2008.03.03 05:57:10.359--UnitOfWork(8066625)--Thread(Thread[main,5,main])--Execute query DeleteObjectQuery( Customer Order #26 Date Ordered: java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Europe/Paris",offset=3600000,dstSavings=3600000,useDaylight=true,transitions=184,lastRule=java.util.SimpleTimeZone[id=Europe/Paris,offset=3600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2004,MONTH=9,WEEK_OF_YEAR=43,WEEK_OF_MONTH=4,DAY_OF_MONTH=22,DAY_OF_YEAR=296,DAY_OF_WEEK=6,DAY_OF_WEEK_IN_MONTH=4,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OFFSET=3600000,DST_OFFSET=3600000] Order Total: 2550.0)
[TopLink Finest]: 2008.03.03 05:57:10.359--UnitOfWork(8066625)--Thread(Thread[main,5,main])--Register the existing object Order Item: #5 Quantity: 1
[TopLink Finer]: 2008.03.03 05:57:10.359--ClientSession(22130853)--Connection(27081530)--Thread(Thread[main,5,main])--Begin batch statements
[TopLink Fine]: 2008.03.03 05:57:10.359--ClientSession(22130853)--Connection(27081530)--Thread(Thread[main,5,main])--DELETE FROM TL_CUSTOMER_ORDER WHERE (ORDER_ID = ?)
[TopLink Fine]: 2008.03.03 05:57:10.359--ClientSession(22130853)--Connection(27081530)--Thread(Thread[main,5,main])--     bind => [1]
[TopLink Finer]: 2008.03.03 05:57:10.359--ClientSession(22130853)--Connection(27081530)--Thread(Thread[main,5,main])--End Batch Statements
If the test case does not define a private owned relation and all the deletes are done in the toplink application (first order items and the orders then the bach writing contains all the deletes.
Any hint to have batch writing and private-owned deletes behaving on the same batch chunk on Toplink 10.1.3.3 ?

Ok ill try to make a incompete code with the example of the problem in comments.
class studenttest;
//this is the messed up part all the way at the bottom of the class
            case 6:
                ts.write(NodeList);
                break;\\\\\\\\\\\\\\
public class TStream{
private StudentNodeList NodeList = new StudentNodeList();
//calls this method
//had it as public void write (StudentNodeList NodeList)
    public void write(Student NodeList)
        try
            output = new PrintWriter("database.txt");
            for(int i = 0; i < 5; i++)
// had it as output.print(NodeList.equals(LastName) + "\t");
                output.print(NodeList.getFirstname() + "\t");
                output.print(NodeList.getLastname() + "\t");
                output.print(NodeList.getID() + "\t");
                output.print(NodeList.getyear() + "\t"); 
                output.print(NodeList.getgpa() + "\t");   
                output.println();
          }

Similar Messages

  • Is it possible to activate LR5 on a second (privately owned) computer and where do I have to enter the license key?

    is it possible to activate LR5 on a second (privately owned) computer and where do I have to enter the license key?

    Lightroom doesn't use activation. The EULA allows you to install Lightroom on two computers, one a desktop the other a laptop. To apply the serial number you go to the Help menu then choose Lightroom Registration.

  • Private owned delete not working

    Hi
    I am stumped by a problem trying to delete a child object from a parent's collection.
    I have set Private Owned on for the 1-many mapping, but when I remove the privately owned child from the parent and commit, no DELETE SQL is produced. The only difference from classes that I can delete by removing from the parent is that my child class does not specify direct-mapped primary keys, but rather references to the parent objects:
    public class ServiceAsset extends ServiceAssetValue implements Ownable {
         private Service service;
         private AssetType assetType;
    Here are the steps I use to remove the child:
    public void delete(AssetType assetTypeProto, Service serviceProto) throws PersistenceException {
         Service service = (Service)TopLinkSession.getServerSessionInstance().acquireClientSession().readObject(serviceProto);
         AssetType assetType = (AssetType)TopLinkSession.getServerSessionInstance().acquireClientSession().readObject(assetTypeProto);
         this.getWriteSession().logMessages();
         ServiceAsset serviceAsset = new ServiceAsset();
         serviceAsset.setService(service);
         serviceAsset.setAssetType(assetType);
         serviceAsset = (ServiceAsset)TopLinkSession.getServerSessionInstance().acquireClientSession().readObject(serviceAsset);
         ServiceAsset workingCopyServiceAsset = (ServiceAsset)getUnitOfWork().registerExistingObject(serviceAsset);
         Service workingCopyService = (Service)getUnitOfWork().registerExistingObject(service);
         workingCopyService.getServiceAssets().remove(workingCopyServiceAsset);
         this.getUnitOfWork().printRegisteredObjects();
         commit();
    Here is the mapping specification in the parent descriptor:
    <database-mapping>
    <attribute-name>serviceAssets</attribute-name>
    <read-only>false</read-only>
    <reference-class>com.xxxx.ServiceAsset</reference-class>
    <is-private-owned>true</is-private-owned>
    <uses-batch-reading>false</uses-batch-reading>
    <indirection-policy>
    <mapping-indirection-policy>
    <type>oracle.toplink.internal.indirection.TransparentIndirectionPolicy</type>
    </mapping-indirection-policy>
    </indirection-policy>
    <container-policy>
    <mapping-container-policy>
    <container-class>oracle.toplink.indirection.IndirectList</container-class>
    <type>oracle.toplink.internal.queryframework.ListContainerPolicy</type>
    </mapping-container-policy>
    </container-policy>
    <source-key-fields>
    <field>SERVICES.SERVICEID</field>
    </source-key-fields>
    <target-foreign-key-fields>
    <field>SERVICEASSETS.SERVICEID</field>
    </target-foreign-key-fields>
    <type>oracle.toplink.mappings.OneToManyMapping</type>
    </database-mapping>
    Is there an obvious mistake I am making?
    James
    p.s. The debug output from Toplink is
    ServerSession(9727266)--client acquired
    ClientSession(26675936)--Execute query ReadObjectQuery(com.xxx.ServiceAsset)
    ClientSession(23126121)--acquire unit of work: 21690871
    UnitOfWork(21690871)--Register the existing object com.xxx.ServiceAsset@12d26d2
    UnitOfWork(21690871)--Register the existing object com.xxx.AssetType@43487e
    UnitOfWork(21690871)--Register the existing object com.xxx.Service@4a96a
    UnitOfWork(21690871)--Register the existing object com.xxx.ServiceProvider@974600
    UnitOfWork(21690871)--Register the existing object com.xxx.Application@c3e967
    UnitOfWork(21690871)--Register the existing object com.xxx.Domain@1b963c4
    UnitOfWork(21690871)--Register the existing object com.xxx.Service@4a96a
    UnitOfWork(21690871)--Register the existing object com.xxx.DomainUrl@1ef3ccd
    UnitOfWork(21690871)--Register the existing object com.xxx.Domain@1b963c4
    UnitOfWork(21690871)--Register the existing object com.xxx.StatusType@166aab6
    UnitOfWork(21690871)--Register the existing object com.xxx.Service@4a96a
    UnitOfWork(21690871)--Register the existing object com.xxx.ServiceAsset@12d26d2
    UnitOfWork(21690871)--Register the existing object com.xxx.ServiceAsset@f77511
    UnitOfWork(21690871)--Register the existing object com.xxx.AssetType@2eef15
    UnitOfWork(21690871)--Register the existing object com.xxx.Service@4a96a
    UnitOfWork(21690871)--Register the existing object com.xxx.ServiceAsset@a974c7
    UnitOfWork(21690871)--Register the existing object com.xxx.AssetType@3526cf
    UnitOfWork(21690871)--Register the existing object com.xxx.Service@4a96a
    UnitOfWork(21690871)--Register the existing object com.xxx.ServiceAsset@150f0a7
    UnitOfWork identity hashcode: 21690871
    Deleted Objects:
    All Registered Clones:
    Key: [111] Identity Hash Code:4521906 Object: com.xxx.Domain@44ffb2
    Key: [2] Identity Hash Code:22185277 Object: com.xxx.AssetType@152853d
    Key: [1] Identity Hash Code:24431393 Object: com.xxx.ServiceProvider@174cb21
    Key: [1 11] Identity Hash Code:22007194 Object: com.xxx.ServiceAsset@14fcd9a
    Key: [653] Identity Hash Code:25228613 Object: com.xxx.DomainUrl@180f545
    Key: [1] Identity Hash Code:21789336 Object: com.xxx.AssetType@14c7a98
    Key: [0] Identity Hash Code:1079807 Object: com.xxx.Application@1079ff
    Key: [R] Identity Hash Code:22129680 Object: com.xxx.StatusType@151ac10
    Key: [11] Identity Hash Code:954895 Object: com.xxx.Service@e920f
    Key: [2 11] Identity Hash Code:2547660 Object: com.xxx.ServiceAsset@26dfcc
    Key: [5] Identity Hash Code:25619834 Object: com.xxx.AssetType@186ed7a
    Key: [5 11] Identity Hash Code:20050612 Object: com.xxx.ServiceAsset@131f2b4
    New Objects:
    UnitOfWork(21690871)--begin unit of work commit
    ServerSession(9727266)--Connection(9256290)--TopLink, version: OracleAS TopLink
    - 10g (9.0.4.2) (Build 040311)
    ServerSession(9727266)--Connection(9256290)--connecting session: Default
    ServerSession(9727266)--Connection(9256290)--connecting(DatabaseLogin(
    platform=>Oracle9Platform
    user name=> "xxx"
    datasource URL=> "jdbc:oracle:thin:@kfir.xxx.com:1521:ORTD"
    ClientSession(30940873)--client released
    ClientSession(30227927)--client released
    ClientSession(26675936)--client released
    ServerSession(9727266)--Connection(9256290)--Connected: jdbc:oracle:thin:@kfir.xxxxx.com:1521:ORTD
    User: xxxxxx
    Database: Oracle Version: Oracle9i Release 9.2.0.1.0 - Production
    JServer Release 9.2.0.1.0 - Production
    Driver: Oracle JDBC driver Version: 9.2.0.1.0
    ClientSession(23126121)--Connection(9256290)--begin transaction
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.Application@1079ff)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.AssetType@152853d)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.AssetType@14c7a98)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.AssetType@186ed7a)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.ServiceProvider@174cb21)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.StatusType@151ac10)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.Service@e920f)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.DomainUrl@180f545)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.Domain@44ffb2)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.ServiceAsset@131f2b4)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.ServiceAsset@26dfcc)
    UnitOfWork(21690871)--Execute query WriteObjectQuery(com.xxx.ServiceAsset@14fcd9a)
    ClientSession(23126121)--Connection(9256290)--commit transaction
    ServerSession(9727266)--Connection(9256290)--disconnect
    UnitOfWork(21690871)--end unit of work commit
    UnitOfWork(21690871)--release unit of work

    James
    I have revised the code to show that the ServiceAsset is included in the cache Service object's collection, the Service working copy's collection acquired through the UOW before the remove() call, and still exists after the remove() call. I also show that at all times the ServiceAsset's service is never set to null, by accessing the Service's collection via the ServiceAsset.
    What is the remove() method actually doing, if Service specifies serviceAssets as java.util.Collection, serviceAssets get instantiated as new java.util.ArrayList, and MW specifies IndirectList for indirection?
    The wierd thing is that the cached Service object's serviceAsset collection actually grows after the remove() is called on the working copy.
    Thanks if you can offer any further ideas.
    James
    public void delete(AssetType assetTypeProto, Service serviceProto) throws PersistenceException {
         ServerSession ss = (ServerSession)SessionManager.getManager().getSession("Default");
         ClientSession cs = ss.acquireClientSession();
         UnitOfWork uow = cs.acquireUnitOfWork();
         Service service = (Service)cs.readObject(serviceProto);
         for (Iterator it =service.getServiceAssets().iterator(); it.hasNext(); ) {
              ServiceAsset sa = (ServiceAsset)it.next();
              System.out.println(sa.getService().getServiceId() + " | " + sa.getAssetType().getAssetTypeId());
         AssetType assetType = (AssetType)cs.readObject(assetTypeProto);
         uow.logMessages();
         ServiceAsset serviceAsset = new ServiceAsset();
         serviceAsset.setService(service);
         serviceAsset.setAssetType(assetType);
         serviceAsset = (ServiceAsset)cs.readObject(serviceAsset);
         System.out.println("ServiceAsset to delete: serviceId: " + serviceAsset.getService().getServiceId() + " and assetTypeId: " + serviceAsset.getAssetType().getAssetTypeId());
         System.out.println("Does ServiceAsset to delete exist in Service collection? " + serviceAsset.getService().getServiceAssets().contains(serviceAsset));
         System.out.println("Does ServiceAsset to delete exist in Service collection again? " + service.getServiceAssets().contains(serviceAsset));
         ServiceAsset workingCopyServiceAsset = (ServiceAsset)uow.registerExistingObject(serviceAsset);
         Service workingCopyService = (Service)uow.registerExistingObject(service);
         System.out.println("ServiceAsset Working Copy to delete: serviceId: " + workingCopyServiceAsset.getService().getServiceId() + " and assetTypeId: " + workingCopyServiceAsset.getAssetType().getAssetTypeId());
         System.out.println("Does ServiceAsset Working Copy to delete exist in Service Working Copy collection? " + workingCopyServiceAsset.getService().getServiceAssets().contains(workingCopyServiceAsset));
         System.out.println("Does ServiceAsset Working Copy to delete exist in Service Working Copy collection again? " + workingCopyService.getServiceAssets().contains(workingCopyServiceAsset));
         workingCopyService.getServiceAssets().remove(workingCopyServiceAsset);
         System.out.println("Does ServiceAsset Working Copy to delete exist in Service Working Copy collection? " + workingCopyServiceAsset.getService().getServiceAssets().contains(workingCopyServiceAsset));
         System.out.println("Does ServiceAsset Working Copy to delete exist in Service Working Copy collection again? " + workingCopyService.getServiceAssets().contains(workingCopyServiceAsset));
         uow.commit();
         service = (Service)cs.readObject(serviceProto);
         for (Iterator it =service.getServiceAssets().iterator(); it.hasNext(); ) {
              ServiceAsset sa = (ServiceAsset)it.next();
              System.out.println(sa.getService().getServiceId() + " | " + sa.getAssetType().getAssetTypeId());
    ServerSession(9089012)--client acquired
    ClientSession(11633812)--acquire unit of work: 22482780
    ClientSession(11633812)--Execute query ReadObjectQuery(com.xxx.ce
    ntral.Service)
    11 | 1
    11 | 2
    11 | 5
    ClientSession(11633812)--Execute query ReadObjectQuery(com.xxx.ce
    ntral.AssetType)
    ClientSession(11633812)--Execute query ReadObjectQuery(com.xxx.ce
    ntral.ServiceAsset)
    ServiceAsset to delete: serviceId: 11 and assetTypeId: 5
    Does ServiceAsset to delete exist in Service collection? true
    Does ServiceAsset to delete exist in Service collection again? true
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.ServiceAsset@773d03
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.AssetType@da5bc0
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.Service@6f19d5
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.ServiceProvider@4a0ac5
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.Application@12cd8d4
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.Domain@15da7d
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.Service@6f19d5
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.DomainUrl@34f445
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.Domain@15da7d
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.StatusType@d8c3ee
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.Service@6f19d5
    ServiceAsset Working Copy to delete: serviceId: 11 and assetTypeId: 5
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.ServiceAsset@c707c1
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.AssetType@19ccb73
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.Service@6f19d5
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.ServiceAsset@15b6aad
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.AssetType@12e7cb6
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.Service@6f19d5
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.ServiceAsset@773d03
    UnitOfWork(22482780)--Register the existing object com.xxx.centra
    l.ServiceAsset@1f1e666
    Does ServiceAsset Working Copy to delete exist in Service Working Copy collectio
    n? true
    Does ServiceAsset Working Copy to delete exist in Service Working Copy collectio
    n again? true
    Does ServiceAsset Working Copy to delete exist in Service Working Copy collectio
    n? true
    Does ServiceAsset Working Copy to delete exist in Service Working Copy collectio
    n again? true
    UnitOfWork(22482780)--begin unit of work commit
    ServerSession(9089012)--Connection(12832866)--TopLink, version: OracleAS TopLink
    - 10g (9.0.4.2) (Build 040311)
    ServerSession(9089012)--Connection(12832866)--connecting session: Default
    ServerSession(9089012)--Connection(12832866)--connecting(DatabaseLogin(
    platform=>Oracle9Platform
    user name=> "skynetdev"
    datasource URL=> "jdbc:oracle:thin:@kfir.xxx.com:1521:ORTD"
    ServerSession(9089012)--Connection(12832866)--Connected: jdbc:oracle:thin:@kfir.
    surfkitchen.com:1521:ORTD
    User: SKYNETDEV
    Database: Oracle Version: Oracle9i Release 9.2.0.1.0 - Production
    JServer Release 9.2.0.1.0 - Production
    Driver: Oracle JDBC driver Version: 9.2.0.1.0
    ClientSession(11633812)--Connection(12832866)--begin transaction
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.Application@14f5021)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.AssetType@fd9b97)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.AssetType@f12b72)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.AssetType@1bdbf9d)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.ServiceProvider@1092447)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.StatusType@1277a30)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.Service@91520)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.DomainUrl@90ed81)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.Domain@bb6255)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.ServiceAsset@b890dc)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.ServiceAsset@46a09b)
    UnitOfWork(22482780)--Execute query WriteObjectQuery(com.xxx.cent
    ral.ServiceAsset@ce3b62)
    ClientSession(11633812)--Connection(12832866)--commit transaction
    ServerSession(9089012)--Connection(12832866)--disconnect
    UnitOfWork(22482780)--end unit of work commit
    UnitOfWork(22482780)--release unit of work
    ClientSession(11633812)--Execute query ReadObjectQuery(com.xxx.ce
    ntral.Service)
    11 | 1
    11 | 2
    11 | 5
    11 | 5
    ServerSession(9089012)--client acquired
    ClientSession(4496124)--Execute query ReadObjectQuery(com.xxx.cen
    tral.Service)
    10-Jun-2004 14:59:17 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnN
    ull=true
    ClientSession(11633812)--client released
    ClientSession(4496124)--client released

  • Need help in writing test cases while upgradin oracle from 10g to 11g

    hi all
    I want to write test cases for ugrading oracle 10g to 11g i have some idea but want your input.and at the same time some people taking upgrade testing as to ensure that everything works after the upgrade - stremas, jobs, procedures.but i think as 11g is backward compatible all the things should work properly.If not then how can we write a test cases for that,your help is most welcome.
    Thanks in advance

    Hi;
    Please see below notes which could give you some idea to create your test case. By the way if your components are certified wiht 11g so there should be any bad issue for your upgrade
    Minimizing Downtime During Production Upgrade [ID 478308.1]
    Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
    Different Upgrade Methods For Upgrading Your Database [ID 419550.1]
    Please check my blog
    http://heliosguneserol.wordpress.com/2010/06/17/move-to-oracle-database-11g-release-2-wiht-mike-dietrich/
    In this pdf you can see patch of to upgrade db from x to n wiht many senerios wiht all related metalinks notes which is created by Oracle worker Mike Dietrich
    Regard
    Helios

  • Writing test case for One-way messaging returns fault

    Hi All,
         We are using latest 11.1.1.7 version of SOA Suite. There is a SOA composite which gets data feed from external party using the one-way message exchange pattern to store the feed into the database.
    i.e. from (Web Service component ----> Mediator ----> DBAdapter). The composite uses one way returns fault pattern. This basically returns only the faults when they occur and seems to work as expected. I can see any runtime errors (like database not available returned to the Mediator and the caller of the web service). However, I am unable to write a test case for the fault returned in case of database adapter unable to connect to database as the 'Emulates' tab is disabled.
    Happy to provide more details if required.
    Thanks

    Hi,
    By looking at the error what you have got it indicates that you are not catching the specific fault which is thrown by bpel1 in bpel2.
    Regards,
    Santosh Hemashekar

  • Problem in writing test cases in BI

    Hello Sir,.
    How to write a test cases in BI? and we are doing function upgrade as we are migratiing 3.x to 7.x BI.
    we have a data flow as show below at the moment after the migration has done.
    Data source->Transformation->DSO->Transformation->Info Cube.each target has individual DTP`s.
    Finally data is lieing all over the data targets.I have no routine between Data source and DSO , but we have a start routine between DSO and Info Cube.
    So i am trying to write a test cases because we want to know how the code was working in 3.x and aafter migrating the to 7.x bi how the code is working and then loaded data to targets.How do i write functional test cases? and how to proceed to write test cases here in this scenario.please reply me asap.
    Thanks much!

    No,
    I try to explain better:
    In my real application (not this simple example) I compose an image by the union of many little gifs. Then I have to save the result in a unique image. It's for this that I've overridden paintComponent(), so , after having painted all gifs, I save composite image to a png one.
    This function is activated from a main application, and I don't want to show too much to user, so I try to make this by using a popup frame that disappear quickly.
    I hope to having been as clear as possible.
    I hope to have chosen the best solution too
    Bye and thanks
    Edited by: giuseppe_italiano on Nov 21, 2007 3:35 AM

  • AirPlay certification: Unable to execute test cases 3.2.1.3 and 3.2.1.5

    Hi everyone,
    I'm following the test cases specified in the AirPlay Product Compliance Test R6 Document for AirPlay. I'm unable to execute the below test cases when I'm testing for airPlay certification. There is no option in the latest Airport Utility on Macbook for executing these test cases,
    Is it mandatory to execute and pass these test cases? How do I do it?
    3.2.1.3 Link Layer Connection 10 Mbps/Full Duplex
    3.2.1.5 Link Layer Connection 100 Mbps/Full Duplex
    Thanks in advance for your help.
    Sripad

    Diane,
    Thank you very much for the response.
    I will email you the screen shots since I can not attach them to this post.
    You will see in the screen shots that I don't see either a green or red light after I have clicked on the record topic icon from UPK Developer. Even after I put focus on the title bar of the app I am recording and press the printscreen button, there is no green or red light.
    But now, when I do press the printscreen button, UPK does actual record something. That is further than I have gotten before.
    Before I posted the forum, I was not able to record anything after several attempts and also several re-installations. But I was told that if I don't see the green or red light, I won't be able to record anything.
    I am now wondering if the use of Hypersnap 6 could be impacting UPK? I use Hypersnap a lot and when I pressed the printscreen button, Hypersnap also takes a screenshot.
    My question now is whether the lack of green and red lights will impact my use of UPK?
    Thanks
    Chris
    Edited by: user455985 on Dec 22, 2010 2:04 PM

  • Determining where a test case is being used

    I have a test case in TFS 2013.  I need to know what test plans/suites use this test case.  How can I determine that? I want to know if I can delete that test case but I can't figure out how to tell where it is used. If I add the test case to a
    test suite, then I can see in the TFS 2013 Update4 Browser UI the Associated test suites.  
    I want this capability without having to add the test case to a test suite.
    Give a test case, tell me all of the associated test suites so that I can remove unused test cases.
    Bruce

    Hi Bruce, 
    Thanks for your post.
    As far as I know there’s no such a link relationship displayed in test case work item to show test case belong to which test plan/test suite in current TFS version, You should open the Test Plan/Test Suite in team project Web Access or MTM, then view and
    check all test cases under it.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to write test case for ViewController project using JUnit ?

    Hi All,
    JDev ver : 11.1.1.5
    JUnit : 1.9 jar added.
    I am writing test cases for my ViewController project. View project contains beans and other business logic files.
    So, for that I want to write test cases.
    In lot of codes I have FacesContext instance, there I am getting null pointer error.
    ex:
    public static String getFromHeader(String key) {
    FacesContext ctx = getFacesContext();
    ExternalContext ectx = ctx.getExternalContext();
    return ectx.getRequestHeaderMap().get(key);
    How to write cases for this scenario ?
    I came to know to use mockito, But I dont know how to mock the FacesContext.
    Anyone please help.
    Thanks,
    Gopinath

    Gopinath,
    Although I've not used it and cannot therefore say anything about whether it's useful or not - have you looked at JSFUnit?
    John

  • What is the excel emplate which we need to use to upload test cases in to Microsoft Test Manager 2013?

    Hi,
    Currently we are writing test cases in a excel spread sheet and wnted to upload exel in the Microsoft test Manager 2013.
    I understand that there is a tool 'TestCaseMigrationPlus' which we can upload to MTM but could you please let me know the template which i need to follow for eg: column names which i need to define to upload the excel using 'TestCaseMigrationPlus'

    Thanks for Senthilraj's help.
    Hi Nallapati,
    >>could you please let me know the template which i need to follow for eg: column names which i need to define to upload the excel using 'TestCaseMigrationPlus'
    As far as I know that the test case template in the MTM like the following screen shot:
    So when you define and upload the excel using TestCaseMigrationPlus into the Microsoft test Manager 2013. I suggest you need to define the test steps for test case like the above screen shot include the Action column and Expected column.
    If you still have any issues, I suggest you can also post this issue directly to the TestCaseMigrationPlus :
    https://tcmimport.codeplex.com/discussions
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Iam searching for test cases specific to iPhone apps

    Please help me out on writing Test cases specific to iPhone apps
    Thankyou

    I think I had the same problem. iTunes was reporting (in the side bar and at the bottom of the applications view) that there were X application updates but when I clicked it, it showed either none or only a couple of them.
    The problem was that iTunes checks if there are any updates to the applications you have installed (in your iTunes or iPhone) but when you go to see the updates, it logs in your iTunes account and displays the updates that are purchased with this specific account. Of course when you use for some reason two different accounts (e.g. just got a MobileMe account and want to use this instead of your previous), you will get different updates available to each account but the total number of updates will be displayed in various locations (sidebar, apps pane, iPhone app store icon badge).
    The only work-around I found was to logout from one account, login with the other, do the updates and log back in to the one I currently use.

  • Entity remove triggering select stmts on private owned relationships

    Hi All,
    When ever we do an entityManager.remove on an entity and commit, the eclipse link is doing a realAllQuery.execute (Select stmt) on each of the privateOwned entities of the given entity(irrespective of whether they are present or not) before actually deleting them .
    This is very much redundant especially if there are large number of entities to delete/cascade delete and each has multiple number of private owned rels - Lots of SELECT SQls , and time taken for these select sqls is very much higher than actual delete stmts. Is there a way to remove the private owned rels without selecting them.
    We are using the ecliselink 2.3.1 version.
    BTW
    This readAllQuery.execute on private owned entitites is triggered during CollectionMapping.recordPrivateOwnedRemovals method of eclipse link during commit.
    Any Input or suggestion greatly appreciated.
    Thanks,
    Sriram

    EclipseLink needs to load an object's private owned relationship to delete the objects, otherwise it does not know which objects to delete.
    The private owned objects can have their own private owned objects and dependent relationships that need to be deleted as well.
    EclipseLink does perform a delete-all optimization for a privately owned OneToMany where the target does not have any dependent relationships (or inheritance/multiple tables/ locking).
    This will occur for a simple OneToMany but most have relationships of their own that prevents the optimization.
    This optimization can also be configured using the @DeleteAll annotation.
    EclipseLink also supports delete cascading on the database, if you have created your foreign key constraint to cascade on delete, or are using EclipseLink to create your schema.
    If you use @CascadeOnDelete, then the related objects should not be loaded.
    If you still think you have more SQL than you think is correct, please include your object model code, and the SQL log for the delete.

  • Putaway and picking in ERP-WM with SU and batches with mixed stock

    Hello all,
    I configured a WM warehouse with SU management, and batch management. We have bulk storage for example of 20 pallets. each pallet may have its own SU and batch numbers. As a result we may have in the bulk storage 20 SUs with 20 different batches.
    I have 2 problems:
    1. in Putaway strategy B (Bulk) - although the storage type is configured to allow mixed storage - automatically the system chooses the next empty bin. How can I force the system to add to existing stock instead?
    2. in Outbound Delivery (when the batch number is not entered in the delivery), when I create the TO (through LT03), the system proposes a FIFO batch number (again, we are talking about Bulk storage). How do I tell the system not to determine the batch number - but instead take it from the chosen SU on confirmation?
    Thanks,
    Isaac

    Hi,
    1. in Putaway strategy B (Bulk) - although the storage type is configured to allow mixed storage - automatically the system chooses the next empty bin. How can I force the system to add to existing stock instead?
    In Bulk system would only one SU type perBin. If the next SU is of diferent SU type then it would propose the next Bin.
    2. in Outbound Delivery (when the batch number is not entered in the delivery), when I create the TO (through LT03), the system proposes a FIFO batch number (again, we are talking about Bulk storage). How do I tell the system not to determine the batch number - but instead take it from the chosen SU on confirmation?
    In this case you do not setup batch determination at delivery or WM level.
    Since this is Bulk, system will allow for SU number to be entered during picking.
    However the Batch number population in TO upon SU selection is doubtful.
    Hope this helps.

  • Sequences - Test Organzer:  How to move more than 1 test case at a time

    Hello,
    I would like to be able to move multiple test cases within a sequence but I do not know how.  If I highlight multiple rows and select Move Test Case only 1 of the rows will move.  This is fine if your test package only has a few transactions but if you have many it becomes very time consuming.
    Does anyone know how to move more than one test case at a time within a sequence?
    Regards,
    Corinne Taylor

    Hi Corinne,
    Actually I do not have any solution for that either. I am also only able to move the test cases one by one, which indeed can become very time consuming. There I have a small question to you: when I am in the web-based application to change the sequence of the test cases, everything goes really slow. Selecting the test package in the browser, going to change mode, selecting the test cases, creating a test sequence...it all takes time before I can continue. Is it the same with you? Else I will need to look at what is going wrong on our side.
    Thanks and best regards,
    Kristof

  • Configuration steps for Quality and Batch Management.

    Hi Friends,
    We are implementing QM along with Batch Management for testing the material like purity,pathology tests.
    I am new to Quality and Batch Management.
    Could any one guide me, how to configure material master for QM and Batch to test the material?.
    Thanks

    1) Maintain Material with Classification and Quality Management view
    2) Tick the Check box Quality key Active in QM View->QM view->Inspection Set up and activate the inspection type for which the inspection lot.(e.g insp. type 01 - GR against PO)
    3) Create Quality Info Record(QI01)
    4) In PO the stock automatically goes to Quality stock.
    5) Check MMBE stock
    6) Do Result Recording and Usage Decision(QA32)
    7) Check stock (MMBE).
    There are few steps where the PP/QM Consultant need to help you in QI01,QA32 and in Creating characteristics and class according to  Requirement(purity...etc).
    Regards,
    eswarmanu...
    Edited by: eswarmanu on Oct 21, 2008 7:09 PM

Maybe you are looking for

  • New to Java. Want to write a simple applet for a mobile phone.

    Hello, I want to write a simple java applet for a mobile phone. currently I am in the stage of thinking about whether this is possible in a timeframe of about a month. I have very little java experience from a while back so I'm pretty much starting f

  • Cannot install Flash Builder 4.6 for PHP

    I have FB4.5 premium installed, and have bought an upgrade license to the "for PHP" version. I downloaded the 2 files from the adobe web site (only V4.6 seems to be downloadable now) - that's FlashBuilderPHP_4_6_LS1.7z and FlashBuilderPHP_4_6_LS1.exe

  • How should I merge constituencies?

    I want to merge provincial assemblies constituencies which are available at Provincial Assembly Constituencies Maps You can see that at this page, there are PDF files with heading Khyber Pakhtunkhawa, Punjab, Sindh & Balochistan. What is easiest way

  • URL IView with parameters having no parameter identifier

    I have created a url iview but the first parameter has no Parameter Identifier after the ?. Is there a way to code for this in the URL Parameters section of the iview. Here is par to of the URL: .../Pages/ReportViewer.aspx?%2fExpress ... if it said s

  • Book ??

    Hi all, Would like to know a good quality book(s) on Oracle 9i R2 Performance tuning and monitoring. Regards SL