Using transaction activation policy together with TOPLINK Java object/relational mapping "commit and resume" transaction?

Has any one has experience using WLE transaction context together with TOPLINK Java
version of "commit and resume" context?

Has any one has experience using WLE transaction context together with TOPLINK Java
version of "commit and resume" context?

Similar Messages

  • 2 TopLink Java Object from Table to be used in single selectOneChoice

    Hello everyone, can I ask for help on how to solve my problem....
    Here's my scenario, I have 2 tables namely tblCollege and tblCourse, they are related through tblCourse.CollegeCode = tblCollege.Code.
    I use the jdeveloper wizard using TopLink -> Java Object from Table to add these table to my project. I created an EJB Data Control so that I can use them to my Userinterface using ADF Faces.
    What I really want to do is that I need to have selectOneChoice component displaying:
    tblCollege.Name + tblCourse.Name, and it should have a value of tblCollege.Code + tblCourse.Code,
    so for example in my
    tblCollege:
    Code---------Name
    1---------------Science
    2---------------Music
    tblCourse
    Code-------Name-----------CollegeCode
    1-------------Biology----------1
    2-------------Computer-------1
    3-------------Guitar------------2
    what I want in my selectOneChoice is like this:
    value----------display
    1-1--------------Science-Biology
    1-2--------------Science-Computer
    2-3--------------Music-Guitar
    I'm a little stuck on how I'm going to that. Thanks.

    Bawasi,
    I see a couple of angles of attack, but this really depends on the technologies involved. If you are using ADF Bindings in combination with ADF Faces then you need to shape the data at the entity level. If ADF Bindings are no the in equation, you can take a less aggressive approach and shape the data in a managed bean. What is not clear to me is the end-to-end use-case. I see the read-only (i.e. how to get data to the drop box), but I am
    not certain what attribute on an entity you are attempting to set. Are you trying to set the course for the current user or for a master schedule? Finally, notice that the final shape of your data set shows a unique combinations, you could increase the performance of your use-case and ease of development simply by denormalizing your schema.
    --RiC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Which is better ? Toplink Java objects or Toplink Entities ?

    Hi
    We are planing to use Toplink JPA that comes with JDeveloper 11g preview release
    I have a question here!
    I would like to get clarified which is better to use :
    1. Toplink Java Objects from Tables ,
    2.Toplink Entities from Tables
    Could you suggest the best approach, and pros and cons of both the approaches?
    Thanking you ,
    Samba

    Samba,
    Ultimately both are using the same TopLink runtime. In the case of Entities you are using JPA and Java Objects you are using TopLink native API and metadata.
    Going forward I would recommend JPA with TopLink extensions as required.
    Doug

  • Hi i have an ipad mini and i have not used it for 2 month or more. Today i have tried to use it i came across with a problem. my Ipad is blocked and it asks me to wait 23,401,418 :) what should i do need your help. thanks

    hi i have an ipad mini and i have not used it for 2 month or more. Today i have tried to use it i came across with a problem. my Ipad is blocked and it asks me to wait 23,401,418 what should i do need your help. thanks 

    Have you charged ipad Try a Reboot press & hold power button & menu button hold both down until you see Apple Logo You may need to do this more than once. Bsydd uk

  • Using the Image Processor together with an action - original files won't get closed

    Hi,
    I just made an action to position my website's name at the bottom left of my photos and to use it then together with the  Image Processor.
    When I tried it out, I realized, that my whole pc slowed extremely down. Then I saw that the original files didn't get closed during the image processing process ...
    Then I made some tests and the result was, that the Image Processor doesn't close the original files if the action in use has more than 26 steps.
    Could someone please check out if its the same with his/her Photoshop? I use Photoshop CS6 on Windows 7.
    Thanks a lot!

    Hi,
    The problem is caused by your project not 'knowing' about the
    picture. Robohelp will automatically include all images that are
    embedded in HTML docs, but if they are only displayed via a link,
    they do not form part of the files list that is created in the
    resulting .HHP file.
    A remedy: to resolve this in the past, I've created a 'dummy
    page' that is not indexed or included in the TOC, and contains
    embeds of all of these pictures that aren't directly set in the
    HTML. Make sure it is included with the correct conditional build
    tags and recompile, you should find that the linked image now shows
    up in the CHM okay.

  • How to use a 4K monitor together with others?

    I try to make use of a 4k monitor (ASUS 28 inch) together with two others (1920 x 1200). Either I can see almost no menus on the 4K display or the other monitors display magnified images. All windows I drag from one monitor to the other are somewhat distorted. The worst effect is on Parallels with WIN 7. All icons are minimized.
    Is there an acceptable way to use the stuff conveniently?

    I too got the same. Both monitors went portrait. Then I unchecked the 'Mirror Display' option in the Arrangment tab of iMac display and voila. Got what I wanted.

  • Using the 5g ipod together with itunes 6?

    Hi there,
    i was wondering if its possible to use the new ipod along with itunes 6? without using the video or game options? just the music..
    gr. &thx!

    Sure. You don't have to have iTunes 7 to use the 5g iPod.

  • Hi i just bought an Iphone 4s and every time i try to activate it It stops half way through and says the sim carrier is not supported please use the sim that came with this phone (which i am doing) and will not let me skip this and will not activate??/

    Hi just bought an iphone 4 today tried to activate the phone and it won't let me..I go through language ect and it says activateing iphone may take a few mins then just stops and message on screen says that the sim carrier is not supported and please use the sim which came with the phone(which i am..& have tried another sim and still not working)........It wont let me bypass have tried reseting phone and restarting it nothing helps????

    Your iPhone is locked to the original carrier who sold it
    Only they can unlock it 
    The sim the iPhone refers to is the one the iPhone is locked to
    You will have to contact them

  • ConcurrentModificationException when creating Toplink java object

    When I am adding a new java object based on a view, i get at the end of the wizard this exception and jdeveloper freezes.
    I'm using Jdeveloper 10.1.3 (latest version)
    java.util.ConcurrentModificationException
         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
         at java.util.HashMap$EntryIterator.next(HashMap.java:829)
         at java.util.HashMap$EntryIterator.next(HashMap.java:827)
         at oracle.ideimpl.controls.SwitchablePanel.getTabPageForComponent(SwitchablePanel.java:556)
         at oracle.ideimpl.controls.FlatTabbedWindow.getTabPageForComponent(FlatTabbedWindow.java:304)
         at oracle.ideimpl.log.TabbedPage.getTabPageForLogPage(TabbedPage.java:238)
         at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:100)
         at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
         at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
         at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
         at java.lang.Thread.run(Thread.java:595)
    Does anyone know what the reason might be?

    Could it be you are creating a collection that can be modified when an iterator is al ready going over this collection.
    Could you be more specific on your project, any other toplink objects that might be manipulating the same data?
    kind regards.

  • I can't remember the password I used to set up icloud nor the email I used to set it up with. I have my apple ID and email for that account.

    I recently had to do a factory restore on my iphone 4s. Upon trying to set up my phone again I am being asked to sign into my icloud account. I can't remember the password or the email I used to set it up. I know my Apple ID, password and email for that account, but that doesn't allow me to get back into my phone. I can't reset the icloud password because I can't remember the email I used. Any ideas on what I can do please ?

    Hi, Fugalltadowivu.  
    Thank you for visiting Apple Support Communities.
    This sounds like Activation Lock has been enabled on this device.  Here is some helpful information regarding this feature.
    Find My iPhone Activation Lock
    http://support.apple.com/en-us/HT201365
    If you purchased your device from a third party, this device may be locked to their Apple ID.  If this is the case you may want to check out the article below.
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    http://support.apple.com/en-us/HT201441
    Cheers,
    Jason H.

  • Invoking a AXIS Web Service with a Java object as input argument

    Hi
    I've been trying to execute a bpel process that invokes a web service deployed through axis.
    This web service takes a java object as input argument as opposed to data types that are directly mapped to java types through the SOAP engine.
    I deployed and tested the service outside of BPEL using a test client class. Everything works well.
    When I try to configure the "Assign" and "Invoke" activities so that service can be invoked, I cannot see the data structure through the variable picker and I see the following message:
    "The element {urn:ComplexTypeWebService}TimeSheetBean is not know to the schema container. Perhaps a schema file that uses it needs to include or import its definition.There mat also be an XML schema issue (non resolvable schema) which prevents {urn:ComplexTypeWebService}TimeSheetBean from being seen by the schema processor."
    Is there any example that demonstrates how to invoke an axis web service in such scenario? What am I doing wrong?
    Please, let me know.

    The passing of Java objects in and out of a web service is NOT supported. variables must be xml documents defined by a XML schema. In my opinion, missing Java object and WSDL is not a good idea. -Edwin

  • Calling Web Service Proxy with Custom java Object as parameter

    I created a web service proxy from WSDL URL using JDeveloper 11g(.5 version)
    I need to call a webservice method which takes custom Java Object( Ex: ABC.java) as Input parameter. It creates the XSD java (ABC.java) file for that.
    @XmlElementRef(name = "abc", namespace = "http://impl.service.ns.test", type = JAXBElement.class)
    protected JAXBElement<ABC> abc;
    ABC.java has a property of type java.util.Set of a custom Java Object (Set<XYZ.class>)
    It doesn't create xsd file for XYZ.java.
    @XmlElementRef(name = "XYZ", namespace = "http://model.ns.test/xsd", type = JAXBElement.class)
    protected JAXBElement<Set> xyz;
    Please help me.

    The passing of Java objects in and out of a web service is NOT supported. variables must be xml documents defined by a XML schema. In my opinion, missing Java object and WSDL is not a good idea. -Edwin

  • Help: Using Adobe Muse & Business Catalyst with Google Domains: URL not mapping

    Hi,
    I've had some issues publishing my site to the internet using Adobe Muse (version CC 2014) and publishing to Adobe Business Catalyst.
    I am currently using Google Domains to host my domain name (www.mattandsangeeta.com) and have tried on multiple occasions to get the domain name to correctly map  using Adobe's Business Catalyst nameservers.
    I've verified with Google Domains that their process is setup correctly to map to my site, so it indicates the issue is on how I've configured my Adobe Muse/Business Catalyst side of things.
    So far, every attempt at publishing the site via Adobe Muse has worked with its extension at http://mattandsangeeta.businesscatalyst.com/index.html, and I'm able to login into my Admin page from Adobe Muse immediately following publishing. However, when I try to login directly to the Adobe Business Catalyst page, it takes me to an admin link for www.mattandsangeeta.com that is broken.
    To summarize: My published domain isn't being mapped correctly and I hit a dead end every time I try to login into the Business Catalyst website.
    Thanks for your feedback and support in advance,
    Matt

    Hi
    As I checked the site loads fine with domain Matt And Sangeeta . I tried to get to site manage area using Administration Login  and I see it works fine as well. I would suggest you to please try clearing browser cache and cookies and check if that helps.

  • Object Relational Mapping - How to? - With SQLJ? - What brings the future?

    Hi there,
    we are developing applications for masterdata
    maintainance and masks with fast user interaction using a two-tier architektur and a layered java application on the client.
    Currently we are using TOPLink for the ORM stuff.
    As we need a simple and efficient way to encapsulate gui stuff from database interaction i am interessted in SQLJ for the descripted purpose.
    These are my questions:
    1. Can I use SQLJ with a Oracle database lower than 8i
    2. Is there a runtime fee for SQLJ?
    3. How does SQLJ relate to the app server
    hpye?
    4. Where can I get SQLJ?
    5. Do I need JDeveloper in combination with SQLJ or can I use any other IDE?
    Thanks for your input.
    Regards,
    Wolfgang Rothmayer.

    SQLJ is actually orthogonal to use of ORM. It is an embedded language API for (static) SQL database access in contrast to JDBC.
    If you are using SQL Object types (Oracle 8i and later) then there is the JPublisher tool to map these into Java classes.
    Oracle also provides the BC4J (Business Components for Java) product for object-relational access. This is used mostly in conjunction with JDeveloper.
    So from an ORM perspective you would not be asking for SQLJ.
    To the SQLJ-specific questions:
    1. Yes. SQLJ relies on Oracle JDBC for database access. Oracle 7.2 and later can be accessed.
    2. No.
    3. SQLJ can be used in any tier - just like JDBC can.
    4. In the OTN download area. It is also part of all Oracle database releases since 8.1.5.
    5. SQLJ comes with a command line interface (similar to Javac). It is also directly supported in the Oracle server-side JavaVM, which has an integrated Java compiler and SQLJ translator.
    IBM VisualAge for Java has added support for SQLJ. For other IDEs you would be on your own, though I have heard that JBuilder users have been able to integrate SQLJ in their IDE (if somebody sends us a recipe for using SQLJ in their favorite IDE, we'll be happy to include that in future distributions). SQLJ could be integrated either through the commandline, or -for tighter support- through its IDE interface package in sqlj.framework.ide.

  • Object-Relational Mapping with BC4J

    Hi Guys,
    I am having trouble creating BC4J components for the object model below. Can BC4J take an object model with many-to-many relationship between them and create tables from it?
    Here are my classes:
    class A {
    private String id;
    private Collection bObjects; //Contains a collection of B objects (0..n)
    class B {
    private String id;
    private Collection aObjects; //Contains a collection of A objects (0..n)
    I would like to feed this object model to JDeveloper and create BC4J components and DDL from it. Is it possible?

    Bc4J does not 'map' java classes to database table but the reverse. To map a java class, you'd have to create the entity objects that mirrors your java class and then create appropriate associations including the many-to-many and then forward-generate database objects from the entity objects.
    You may be able to use Bc4j modeler to define all the above graphically!

Maybe you are looking for