Enable AutoCommit for JClient App

Hello all,
who can tell me how to enable AutoCommit for a JClient Application? I read a lot in this forum about enabling AutoCommit for JSP pages. But I think this doesn't help me at all.
My JClient App should save its current record each time I move the focus from one control to an other (and of course, if there is something to save).
Thanks for your hints.
Axel

From one control to another? Wow!
I'd probably start by looking to see if I could listen for when a transaction becomes dirty. (The navigation bar does it somehow, I guess.) Or maybe I'd use my own EntityImpl class so I can see when any attributes are changed....
MWM

Similar Messages

  • How to enable logging for mail.app in Mountain Lion

    I am at my wits end trying to figure this out....
    Does anyone have a clue how to enable the logging for mail.app under Mountain Lion?
    In the past, you could open up Console and click on Console.log and see the logging of mail. Under mountain Lion, there is no more console.log. I cannot figure out how to enable it.
    I have tried to run the AppleScript of "Turn On Logging" but the script errors out under Mountain Lion.
    Does anyone know how to do this or a better way, maybe a tool or something that can help you troubleshoot mail.app issues?
    Thanks in advanced

    Hello,
    I have a similar problem. The script "Turn on Logging.scpt" runs without error, but I do not see any socket logging. I only get two messages, which I also get when I start mail without the script by just clicking the mail.app icon in the dock. The Messages are:
    1/10/13 3:43:32.618 PM Mail[11276]: Using V2 Layout
    1/10/13 3:43:36.388 PM Mail[11276]: *** -[IADomainCache init]: IA domains cache is out of date.
    Any help would be appreciated

  • BC4J Application Module Pooling for JClient App

    Helo,
    i wonder why all documentation about bc4j application module pooling available is for Web app ? (jsp) . I'm creating swing JClient app and i need some doc about how the application module pooling works in this kind of application.
    anybody know where can i get those docs ?
    Need help and Thank you,
    Ricky H.P.

    Connection pooling can be achieved when a JVM instance manages the pool, in 3tiers the Java App. Server has that task.
    If you are 2tiers that means that you are communicating with the database through JDBC.
    When a user launches your JClient app in fact he lauches his own JVM instance so I don't how he could share a pool with other users.
    In your case you have at most 2 open transactions per user.
    You can achieve that by sharing a same binding context with n forms composed of m panels.
    Let's say:
    1 main form
    connection 1: forms a,b,c
    connection 2: forms x,y,z
    In your main form your open your 2 connections and share them.
    You can achieve that by:
    1) in our main form, initialize 2 binding containers
    Example of one:
    DCBindingContainer bc1 = this.createBindingContainer("package name","model name");
    private DCBindingContainer createBindingContainer(String packageName, String panelModelName)
    StringBuffer sb = new StringBuffer(packageName);
    sb.append(ViewConstants.STRING_DOT);
    sb.append(panelModelName);
    DCBindingContainerDef bcdef = DCBindingContainerDef.findDefObject(sb.toString()); //NOTE THE NAME.
    if (bcdef == null)
    throw new JboException("System error, "+getClass().getName()+".createBindingContainer, DCBindingContainerDef: "+sb.toString()+" not found");
    DCBindingContainer bc = bcdef.createBindingContainer(panelBinding.getBindingContext());
    bc.setName(panelModelName);
    panelBinding.getBindingContext().put(panelModelName, bc);
    return bc;
    2) Before that the jbInit method gets called in the called form, set the binding context:
    form1 = new Form1(...);
    form1.setBindingContainer(bc1) ;
    Example of methods in form 1 and form 2:
    public void setBindingContainer(DCBindingContainer ctr)
    this.panelBinding = (JUPanelBinding)ctr;
    setBindingContext(ctr.getBindingContext());
    public void setBindingContext(BindingContext bindCtx)
    if (panelBinding.getPanel() == null)
    panelBinding = panelBinding.setup(bindCtx, this);
    registerProjectGlobalVariables(bindCtx);
    panelBinding.refreshControl();
    try
    System.out.println("Form setBindingContext calling jbInit");
    jbInit();
    panelBinding.refreshControl();
    // FL added
    isBindingContextSet = true;
    System.out.println("Form isBindingContextSet true");
    catch(Exception ex)
    System.out.println("Form setBindingContext exception caught");
    panelBinding.reportException(ex);
    Regards
    Fred

  • Enable Attachment for Custom APPS forms.

    Hi,
    Oracle Application R12.0.4
    Forms Version 10.1.2.3.0
    To enable the Attachment functionality do the following.
    1. Login the Application Developer.
    2. Enter details for Document Entities & Document categories.
    Create Custom Form. This is Fine.
    I want to know how the system validate wheather to enable to Attachment Icon.
    Requirement:
    Trying to show all the attachments in one form.
    Regards/Prasanth

    Prasanth,
    Developing Oracle Enterprise Business Suite (EBS) Forms follows different rules than regular Oracle Forms applications (because of the EBS Framework). Please post your question in the General EBS Discussion forum.
    Craig...

  • Is Hybrid Connection supported for API APP?

    If one is building a custom connector using API app, most likely, one would have the need to access on premise resources, web services or SQL. Hybrid connection seems like the perfect fit here to enable for API app.
    Since it's available on Azure Website and AMS, it is currently also available on web app and mobile app, why not enable it for API app?

    Hybrid connection is supported on API App since API App is hosted on Web App directly. You can navigate to the hosting Web App from Azure Portal by clicking
    API App blade -> Essentials part -> API App Host

  • HT201299 My Iphone 4s wont remember the disable cellular data for certain apps as I soon as I switch on the 3g and go back to home and come back again to Cellular the all apps are being enabled..Please help

    My Iphone 4s wont remember the disable cellular data for certain apps as I soon as I switch on the 3g and go back to home and come back again to Cellular the all apps are being enabled..Please help

    First, try a reset: hold down the home button along with the power button until you see the Apple, then let go.

  • Anyway to selectivily enable/disable bluetooth function for selected apps like papago in iphone.

    Hi,
    Anyway to selectively enable/disable bluetooth function for selected apps like papago navigator in iphone.
    I want to maintain bluetooth connectivity to car headset for handsfree driving while papago navigator on ky iphone continuously guide me on the road using the  iphone speaker. So when someone called me on the phone, it will use the car headset. is there such as apps?
    Rgds,
    Kpk

    Hi,
    In pageflow definition, "Train Stop-->Skip" property controls the enable/disable state.
    If Skip value is true (it can be controlled with EL expression) than related link and button in train components are disabled.
    They are enabled other If Skip value is false (It is default).

  • HT3630 How to creat an app-enabled accessories for iPhone? Please help me to get an answer..

    How to creat an app-enabled accessories for iPhone? Please help me to get an answer..

    To get hardware interfaces and API's via hardware you
    need to join the MFi program.  That info is here:
    https://developer.apple.com/programs/mfi/
    To get the additional software to be able to download
    and test code on any iDevice, you must join the
    iOS Developer Program.  That info is here:
    https://developer.apple.com/programs/ios/
    Both programs require fees and NDA agreements,
    especially hardware as most vendors that supply
    components development tools will not sell you any
    of their tools unless you are a member of the MFi
    program.

  • Webstart for ADF UIX JClient app - large memory fooprint

    Hi everyone,
    I am running a three-tier model jclient app with java webstart. java sdk 5.0 with jvm 5.0 - it creates a large footprint and then it says no more memory left to allocate to the app.
    i looked at if the jvm was the cause but i am using java hotspot virtual machine. now what i am wondering is where the problem is? is it the model .... etc ?
    Any help would be appreciated. Thanks!

    Thanks Frank. I posted the question here:
    Signing Java Webstart apps with Oracle Certificate Authority
    for anyone who wants to follow the progress.
    Mark

  • Error when create a project in newly Enabled features for Project Web App site collection in Project Server 2013

    I Enable the Project Web App site collection features in Project Server 2013 based on
    http://technet.microsoft.com/en-us/library/jj200305.aspx
    when i try to create a project i get error "GeneralUnhandledException"
    Yasser

    Also, after you provisioned PWA, are you able to get to the server settings? Did you do any configurations with PWA or using the defaults?
    Are you trying to add the project using the FarmAdmin account or did you add yourself as a resource with project manager role?
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • HT3576 How do you fix the problem that happens when if I open my notification for an app, it disappears on the Notification Center?

    I was updating an app on my iPad (seeds pro), and when it was fully updated, I opened it. I tried to use a feature on it, but it said I need push notifications enabled. I was looking around in the notification part of the settings app, and when I go back to the specified app, it still didn't let me use the feature. But the additional thing is that now, when I open a notification for ANY app, or at least open the app, it disappears from the Notification Center. I really need help in fixing this bug or problem or whatever it is.

    It didn't work like that before. And I know it wasn't a new feature in the iOS7 update, I've never had my notifications deleted from the Notification Center until a week ago. Before that, I kept my notifications in the Notification Center.

  • Looking for an app for a blue tooth, type I want to use on my Iphone is a "jawbone" Question is out of the many available in the store which one would be the best and most reliable?

    Looking for an app for blue tooth on my Iphone.  Out of the many in the app store which one(s) would be the best & most reliable?  Currently trying to set up for an older Jaw Bone?

    You are asking several different questions. If you need to store your photos, music, and movies on an external volume, you certainly can. Any externally connected hard disk drive will work, connected either directly to your Mac or to your Time Capsule as a shared volume.
    You should not rely upon using that as a backup device though. Although you certainly may use it for both purposes, it is a better idea to have dedicated backup devices for a variety of reasons not limited to redundancy. You would not want to simultaneously lose all your pictures as well as your backup. If they are all on the same device, that could happen. Furthermore, a backup cannot back up the volume on which it is running.
    As for adding an Extreme or Express, using its LAN port for your iMac, and then enable Internet sharing so you can effectively use the iMac as a "hotspot", you can do that too, but I am unclear on what benefit you believe this arrangement would convey for you.
    An Extreme's Guest network is separate from its Main network; that is the reason for having it.

  • "Enable Access for Assistive Devices" is missing from Yosemite and my QuicKeys program depends on this to work.  Help!

    This is my second day trying to get my QuicKeys application to work in Yosemite, but "Enable Access for Assistive Devices," which QuicKeys needs to work, is missing from Yosemite.  I have gone through the entire System Preferences panel (Security and Privacy, Accessibility, Keyboard, etc.) without success - it's just not there.  I have checked this app in the Privacy pane and dragged
    "QuicKeysUserEventHelper" out of the QuicKeys Resources folder into the Applications folder so it could "appear" in the Privacy pane, and then checked it there. Is there any way to enable access for assistive devices - a Terminal command, perhaps?
    QuicKeys is my most used program, which I have had since its inception at least 10 years ago!  Help!

    Thank you for your reply!  I did everything that Startly recommended (actually, gb2), and when I dragged the QuicKeys Helper into the Privacy box. I didn't see it, but after I quit and restarted QuicKeys, it worked!  However,I had  first  dragged the QuicKeys app to the trash, emptied it, then restarted.  Next, I redownloaded QuicKeys from Startly and THEN I went to gb2's directions.  All together, my QuicKeys now works on my MacBook Air.  BUT NOW, I keep getting the warning that says that this version and activation code are already in use by another user!  I am also getting those warnings on my Mac Pro -  which had the same problem yesterday (QuicKeys not working), until I heard back from a Technical Advisor from Startly, who told me about trashing the app and redownloading from their site.  Last night, that version of QuicKeys worked WITHOUT my having to drag the QuicKeys Helper app into the Privacy pane.  Perhaps it is there, but invisible - the helper app is not visible on either of my computers' Privacy panes.
    OK, NOW WHAT DO I DO?  Every 20 seconds or so, I'm getting those annoying warning signs (on BOTH computers) and requests to put in my activation key, and then told that it is being used by another user!!!
    AM I EVER GOING TO BE ABLE TO USE MY 2 LICENSES FOR MY 2 QUICKEYS PROGRAMS???

  • UserInteraction = NO does not appear to be working for my app

    if I do this:
    self.view.userInteractionEnabled = NO;
    [progressView startAnimating];
    BOOL status = [call a function here];
    [progressView stopAnimating];
    self.view.userInteractionEnabled = YES;
    The progressView does work as expected, but the user can continue to crash the program by interacting like nothing was set to prevent them. I even tried setting this on the navigationController. Nothing seems to be working.
    This results in the program crashing ans odd things happening on the device.
    Does anyone have any idea what I can do to eliminate user interaction and then enable it bracketing a function call?

    I must be doing something wrong. The description for the begin/end IgnoringInteractionEvents looks like it would do the trick for me. (but then I thought that setUserInteractionEnabled should work too)
    Even after bracketing the call with both of these - the User can still click the 'back' button to pop the view and thus crash the program. All while the progressView is happily spinning along. I dont set 'end' until After I stop animating and the animating is going on.
    [[UIApplication sharedApplication] beginIgnoringInteractionEvents];
    [self.view setUserInteractionEnabled:NO];
    [progressView startAnimating];
    [call a function here for uploading or downloading data using ftp];
    self.view.userInteractionEnabled = YES];
    //[UIApplication sharedApplication] endIgnoringInteractionEvents];
    [open another controller]
    [push the controller]
    [release the new controller]
    Note - I've even disabled the end statement to test this...
    What's happening is the user can still click back to pop the current controller
    and crash the program. If left alone it creates the new controller and THEN ignores interactions. I need to prevent interaction immediately. I thought perhaps the second call is being made immediately and reenabling, but this is not the case because I never call the 'end' statement in this test.
    Any ideas? Should I be looking toward a Thread solution for the function call that I need to protect?
    This is pretty bad for my app. If I cannot protect this from user interactions while this is going on the app breaks, and then as a bonus it seems to do odd things like screen shots, open Safari. So it must be taken care of or removed.
    I'm a little nervous right now because I am surprised that no level of setting beginIgnoringInteractionEvents, or setUserInteractionEnabled seems to keep the user from simply pressing the back button on the current controller while the other function is running.

  • Cellular data only for specific apps

    Is there a way by which i can enable cellular data only for specific apps? Lets suppose i want only mail and viber to run on cellular. So how do i enable cellular network only for viber and mail

    Hello all,
    I have been using the iPhone 4S for about a year and I never had problems untill a few days back. Since about a week, my 3G settings for applications installed automatically reset.
    Path >> iPhone screen >> Settings >> Mobile(Cellular) >> Use Mobile Data For >> "List of all apps installed"
    Against each application, you have an option to either enable / disable the mobile data usage:
    Eg:
    App Store          (swipe left to disable || swipe right to enable)
    Contacts          (swipe left to disable || swipe right to enable)
    Facebook          (swipe left to disable || swipe right to enable)
    Facetime          (swipe left to disable || swipe right to enable)
    Weather          (swipe left to disable || swipe right to enable)
    You Tube          (swipe left to disable || swipe right to enable)
    etc...
    Problem:
    If I don't want You Tube to use mobile data, I would normally swipe left to disable thus the application will not start / stream any music if its on 3G/4G. Since a few days, whenever I disable the option for any app... go back to the main screen and recheck the settings, I see its enabled again!
    The error I see when I start the app is:
    MOBILE DATA IS TURNED OFF FOR "YOU TUBE"
    You can turn on mobile data for this app in settings
    <Settings>     <OK>
    When I go back to settings... I see the option is enabled.
    Now I dont know what and how this happened all of a sudden. I have tried resetting the network settings for my iPhone, and it has not helped me.
    My iPhone is updated to OS 7.0.4 and all apps are updated.
    Anyone can help me on this error and how do I fix this?
    FYI... I have no problems connecting to WiFi at all!

Maybe you are looking for