Method persist() don't persist the data.

Hello Experts
I have a problem whem i persist a entity.
Often the instance of entity don't persist when i call method persist().
I don't know what happen. The method don't cause any error, but don't have any registry in the database after passing the persist() method.
Att.
Marcos

Hi Adrian
Thanks for your quickly reply.
i don't use the method flush. But in other entity, i do the same process and the data is commit in database. i've compared these two entity, and they are equals. the only diference is the quantity of attributes in both.
I try to use the method flush in both entity. In the first is OK, the data is commited. In the second cause one error.
When i don't use the method flush, the same happend, the first commit, the second don't commit, but don't cause error.
Waiting for anwser.
Thanks.
Marcos.

Similar Messages

  • Why is it like if i don't sync the data in my pad to the itunes of my system ,the data in my ipad is getting cleared when i copy any thing to my ipad.This is not comfortable rite?why is this so.?or there is any other way?

    Why is it like if i don't sync the data in my pad to the itunes of my system ,the data in my ipad is getting cleared when i copy any thing to my ipad.This is not comfortable rite?why is this so.?or there is any other way?

    i noticed this as a bug in iTunes. make sure the correct file is selected in the preferences menus. It does not have to be the default location directiory as Vazandrew stated. your iTunes music library can be anywhere you want it. i have mine on an external cuz i'm a dj and have over 80,000 songs.
    once you select/verify the location of your music library, simply drag the folder into the left panel in iTunes from a finder window. iTunes does not automatically add the items like it use to for some reason.

  • Don't send the data to nikeplus

    I still use my iPod nano 4th generation... But don't send the data of the podometer to Nike plus, so i have to buy the chip, or buy a new iPod?
    All this after some updates....
    Thanks!

    Hi,
    In SOAP communciation channel, you have the parameter as Target URL, just below that you will fine some checkbox as Configure Proxy.
    Select this option and it will ask for HOST and PORT, these details will be available with the contact person of receiver Web Application, just fill up and this is HTTPS so may required related User ID and Password also to be specify. for this select the chek box Configure Proxy User Authetication.
    Hope this will help.
    thanks
    Swarup

  • Sold my MacBook,left with iPhone,what's the way that I don't loose the data

    I have sold my PC (Macbook), where all my synchronization was done.
    How can I get out the data off my iPhone on my new Dell computer? I didn't create any kind of backup from MacBook, if this is needed with dealing with the problem.
    I'm ready to use even SSH if that can help me, on which directory on iPhone is stored music directory and video directory, what's the path for these directories?

    Would have been much better to back up the MacBook prior to selling it. YOu'll need 3rd party software to reverse the normal sync direction, try TouchCopy (google it).

  • My games data on game centre is there but i don't have the data on the apps, why is this?

    I had my ipod 4g replaced as it had a few bugs on it a while ago. I signed into game centre on my new ipod and all the data of the apps I had before were there. But I cant understand why the data on game centre isn't transfering the the apps on the Ipod.

    can it not transfer them as it is a different ipod?

  • LiveOffice don't refreshes the data

    Hello,
    I have several reports (crystal and xcelsius) which use LiveOffice connections to import the data from the crystal reports. That works fine at first..
    For instance my crystal report has 3 optional parameters -> plant, date and cw.
    The User can input the plant and the date in  the first report and in the second report he can input  plant and cw.
    When I first create the report I add the crystal report with live office and map the input parameter to excel cells, the data imported properly. Then I set up the LiveOffice Connection in the Data Manager and fill out the needed parameters.
    Now I start the report in preview and it works great, uploading it to Enterprise and run it over a Dashboard works even great...
    BUT
    Now I need a second xcelsius report in which the user can select the calendar week! I took my old report and change the live office parameter to use my cell with the CW and deleted the date (because its optional for the crystal report).
    The Data regeneration starts and every looks fine, I can change the week and the data updates to the right values.. but if I now start in preview I have the false data! I get data from the old selected day.. and not the given week and if I save and close and reload the report the cell reference for my parameter cw is deleted (in live office object properties).
    I can set up what I want, I can delete the report, reimport and take the right settings.. nothing helps at all! I must open a complete new Xcelsius Report and import my crystal reports and connections from the beginning and need to redo my design over and over for every live office change!
    I've tried so many options but nothing helps, it seems to be a Xcelsius bug and I'm not alone with this, in other forums there a several topics about this problem.
    I use BO 2008 SP3 and Xcelsius with HotFix 3, (I also tested without a hotfix) and
    business objects live office XI 3.1
    All other Reports work perfect and I never had this problem before but I'm very scared to change connections of one of the working reports. My current report is rebuild in 30min because itu2019s very simple, but there are some reports that will take hours or days to rebuild! 
    It would be nice if someone has a workaround for this or can confirm this bug.

    If you are using BO XI 3.1 SP3 on the server side you should make sure that you are using LiveOffice XI 3.1 WITH SP3 also on your client (ie. the machine your XCelsius designer runs on).
    In the case that additional patches (eg. Fix Pack 3.2) are installed on the server, make also sure to update your client.
    SAP recommends to have the same patch level on the server and on your client. My experience is that LiveOffice's behaviour  can be affected even from slight differences in the patch level.
    Regards,
    Stratos

  • I don't want the date to print on photos

    Please, does anyone know how to keep the date from showing up when I print photos?

    Hi Mary Beth
    That does make sense ... older cameras (and some modern cameras) have that feature ... all new digital cameras save the date invisibly in metadata in the image, so iPhoto knows exactly when it was taken (provided the camera date is set correctly...) and there's no longer any need to "burn in" the timestamp.
    iPhoto's image editing functions are fairly rudimentary - other applications have clone tools which might do a better job at removing unwanted parts of the image. You could also look at InPaint (a demo is available before you purchase) which claims to do that.
    good luck!
    Matt

  • How do I get the old photo gallery version back in my photos, don't like the date thing currently there

    DDon't like new version of photos by date, want old photo gallery version is that possibke

    You can revert to the previous Search Bar scheme like this.
    Open up '''about:config''' ''(typed in the Location Bar)''
    Right-click and toggle this preference to '''''false'''''
    '''browser.search.showOneOffButtons'''
    Then restart Firefox.

  • After syncing Pc-Ipad my Photo's are out of order. In the folders they don't follow the Date-order. I use Itunes 10.6.1.7 and Ipad 5.1. The Problem is the same with XP and Windows 7.

    After syncing PC-Ipad my Photo's on Ipad2 are out of order. In the Folders/Albums the Photo's are no longer in the order of (EXIF) dates. I have updated Itunes to 10.6.1.7 and IPad2 to 5.1. I have reset the IPad2. I cleaned the Photo-cache and removed Itunes and Installed again. I tried it with Windows 7 (64) and XP, makes no difference. I tried it with one Album, Photo's also out of order. It doesn't seem to happen with my Ipad1 older software version. I there a bug in the newest software? Thanks for Help!
    Rudy from the Netherlands.

    problem solved after updating itunes to 10.6.3

  • Problem while displaying the data when double clicked on JTable element

    Hi All,
    i have one List box( JList ) and one table (JTable). Both JTable and JList are positioned on the same Frame. I am able to drag the elements from JList to JTable and also i have added the mouse click action on both List box and JTable.
    if i double click on JList element, that will popup one dialog box.
    if i double click on JTable cell element that was dragged from JList, that will popup same dialog box which was opened earlier for JList action.
    But my problem here is:
    Suppose if i drag the four elements one by one from JList to JTable and (after four elements dragged) double clicked the first element which was dragged first that displayed the popup dialog box structure correctly but the data displayed in that was not correct. It is showing the data of recent dragged element( i.e, fourth element).
    But if i double click on JList element that is showing the correct data according to the double clicked element.
    What might be the problem here, why it was not displaying the correct data when double clicked on JTable element.
    Please help me here.
    Many thanks in advance.
    The following code is used in mouse clicked event method of JList
    private void listMouseClicked(java.awt.event.MouseEvent evt) {                                              
             if(evt.getClickCount()==2){
             AssigningResourcesUI assignResource=new AssigningResourcesUI(this,true);
             assignResource.show();
    }                AND The following code is used in mouse click enevet method of JTable.
    private void tableMouseClicked(java.awt.event.MouseEvent evt) {                                          
            if(evt.getClickCount()==2){
             int row=table.rowAtPoint(new Point(evt.getX(), evt.getY()));
             int col=table.columnAtPoint(new Point(evt.getX(), evt.getY()));
             if(row==-1||col==-1){
                 return;
              Object obj=table.getModel().getValueAt(row, col);
             if(obj==null||(obj.equals(""))){
               }else{
             AssigningResourcesUI assignResource=new AssigningResourcesUI(this,true);
             assignResource.show();
         }            Thanks & Regards,
    Maadhav....
    Edited by: maadhav on Jul 1, 2009 7:22 AM

    I doubt it is related to your problem but:
    int row=table.rowAtPoint(new Point(evt.getX(), evt.getY()));Why are you creating a new Point? Just use evt.getPoint().
    Object obj=table.getModel().getValueAt(row, col);Don't get the data through the model method, get the data through the table method:
    Object obj = table.getValueAt(...)
    This way it will work even if the table happens to be sorted.
    Instead of creating a AssigningResourcesUI object, just disply the value retrieved from the model. That way you know whether the problem is with the mouse event code or your UI class. Like Walter suggested above I"m guess the problem is with your UI class.

  • Error while activating the data source.

    Dear all,
    We are using the BI version 7.00 - i have a problem i.e., while creating the infopackage for the data source
    0PM_OM_OPA_2 the following error is displayed.
    "No active transfer rule for DS 0PM_OM_OPA_2 and ....source system CLNTDEV400; create first..."
    Moreover the data source is found to be in version "M" - while activating the same when in click on the display/change icon , the following error is popped up.
    "You can only edit 3.x DataSources using transfer rule
    maintenance Do you want to create the transfer rules now?"
    What could be the reason for this error. What are the things that are to be done to replicate the data and pull data?
    Valid experts comment is expected in this regard.
    Regards,
    M.M

    Hi Magesh,
    Replicate your data source in BW and then right click onit and choose Assign Info source, it may take you to BC wherein you may need to install the Transfer Rules and related info objects etc.... Once you maintain this data source in the source system then you can create an info pack withput any extra effort.
    Hope it helps..

  • "unable to connect to the data access service" installing report server

    Trying to do a 2 server SCOM 2012 R2 install on Server 2012 w/SQL 2012.  Management server and operations console on one, and SQL, web console, and reporting server on the other.  When I get to the web console and reporting server install, and
    the "Specify Management Server" screen, I input the 1st management server name and it gives me a red X with the message:
    "Unable to connect to the Data Access service for this management server. Ensure the Data Access service is running and that the service, the management group, and setup are all the same version."  
    Here is the setup log error:  
    "Info: :Could not connect to Management Server: scom-app with exception: Threw Exception.Type: System.ArgumentException, Exception Error Code: 0x80070057, Exception.Message: Version string portion was too short or
    too long."
    I don't see the "Data Access" service in services on either server.  I followed all of the setup prereqs in SCOM 2012 unleashed book, and also referenced this article for setup advice:
    http://blogs.technet.com/b/kevinholman/archive/2013/01/16/opsmgr-2012-sp1-quickstart-deployment-guide.aspx
    Everything seems to be working until I get to this point. 
    Thank you for any help you can provide,
    Dan

    Hi Tom,
    1. Did the setup complete successfully on the MS and Console server?
    >>>Yes, without issue
    2. You do not see the service "System Center Data Access Service"
    >>>I do indeed see it on the MS and Console server, it is set to Auto and running.  (I also tried rebooting this server and retried, no help)
    3. Is the Windows Firewall enabled?
    >>>It has symantec endpoint protection.  I disabled symantec completely on both servers and retried, no help.
    Thx,
    Dan

  • How to birng the data in data sources for the first time

    Dear Gurus,
    For the Personnel Development (0PAPD) i installed the datasoures  0HR_PA_PD_1, 0HR_PA_PD_2 from ECC and  checked in RSA3 I found 0 records.
    My question is any configuration should be done to bring the data into datasources. But in ECC there module is implemented and gone live long back ago, they are telling data is there in tables also.
    Regards,
    Kiran

    Hi Kiran,
    Please check with your HR functional consultant, whether the HR records are created with BW relevant infotype selected. For records to available in BW they have to maintain some infotype.
    Regards,
    Kams

  • Display event without showing the date in calendar?

    I'm not exactly a "power user", so the answer to this may be obvious... but it drives me crazy that when I enter a new event in iCal, it displays on the calendar with the date and time, then the name of the event. Sometimes if I don't have the calendar window maximized, I can't even see the name of the event.
    I don't understand why if an event is in the calendar box for, say, February 5th, it would display the event as "Tuesday, February 5th, 2:45pm, Event Name". Obviously, if it's in the box for that date, I don't need the date spelled out for me! "Event Name, 2:45pm" would be so much better.
    But I can't find any Preference that allows me to specify how an event is displayed on the calendar... if anyone knows how to do this, it would greatly improve my experience of iCal...
    TIA!

    now that is a puzzler, as I have never seen that behavior?!
    does this happen in any of the views, as in day/week?
    does this happen in any calendar you have created? can you create a new test calendar and see if you still get the date in a new event? finally can you log in as another user, create a test user if need be, and then launch ical, create a new event, and see if you get the same issue then.
    I would suggest you delete the com.apple.ical.plsit file located in homefolder/library/preferences, and see if that helps any.
    let me know

  • PL/SQL I need to find the data for practice

    Please don't laugh at my question, since it is sort of nieve question. I had bought a call Oracle database 10g pl/sql programming so that I can practice on my laptop by installing the express edition.
    I installed oracle express edition and hard coded as per book, but I don't have the data file where the sql or pl/sql command will pull as per its commands.
    I looked the book here and there and the publisher's website. What I find they have codes in the website whic I can download or copy from the book or write on my own,
    Can anyone will help me or show the rope how I can get the data and continue my practice with enjoyment, Thank you in anticipation

    Hi!
    What data r u taking about? Is it data from Employees,Department ... tables or data from any other table? If it is the first one - and if u installed Oracle in your labtop. Then u may find there is another scheama called HR which is generally locked. U have to unlock that account and then u can proceed with ur query which will give the exact data that u r looking for. Hope that will help.
    Regards.
    Satyaki De.

Maybe you are looking for