[JPA] What is the best strategy to revert an entity after rollback?

Hi,
Let's assume we have the following scenario:
I have instantiated an entity, I have populated it with data and I have sent it to an EJB3 to be persisted. In the beginning, the entity's ID is null. So, in the EJB3 we might have something like the following code:
    @PersistenceContext(unitName="someUnit") private EntityManager em;
    @Resource private SessionContext ctx;
try {
    em.persist(theEntity);       // (L1)
    em.flush();                  // (L2)
    ... >>> call a stored procedure <<< ...
    if (resultOfTheStoredProcedureIndicatesFailure)
        ctx.setRollbackOnly();   // (L3)
} catch(Throwable t) {
    ctx.setRollbackOnly();       // (L4)
    ... >>> do whatever else is necessary <<< ...
}Ok, on line (L1) the value for the @Id column gets selected from the sequence and assigned to the appropriate entity field.
Line (L2) flushes the data to the database, so that the stored procedure will see it.
Then the stored procedure is called, it fails for some reason and on line (L3) we indicate that we wish to rollback the transaction. And it gets rolled back.
So far, so good.
But after the rollback, the entity already has an ID value assigned to its @Id field. And, if optimistic locking is used (that is, @Version), then the version will be assigned too.
So, is there a recommended way to revert the entity back to its original pristine state? Is it possible that the new "dirty" entity may cause problems along the way, if we retry the operation? I checked both with persist() and merge() on the "dirty" entity and they both seemed to work, albeit with additional DB round-trips.
Best regards,
Bisser

Hello,
For calendar and contacts, there is this:
http://supportforums.blackberry.com/t5/BlackBerry-Q10/How-To-OTA-Sync-BB10-and-non-BES-Outlook-Overv...
With that, I actually keep all of the following in sync:
Two instances of Desktop Outlook (2007 and 2010)
Z10
PlayBook
Outlook.com
And, before I decommissioned it, also an Android device. Any device that can synchronize with Outlook.com can use this solution to keep in sync for calendar and contacts. You, of course, need to not use solely local contacts and calendar but instead keep them synchronizing with Outlook.com.
For the other things you mention, I know of no solutions other than backup/restore...but I do not recall if LINK offers the selective method for those.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code

Similar Messages

  • What is the best strategy to save a file in client computer

    I want to save some information in a file in client computer. What is the best strategy to do? There are some ways I can think about. But none of them is good enough for me.
    1. I gave all-permission. So, I can actually write what I want. But, in order to make the program runs on all platform/all client computers, I can't make any assumptions on file system of client computer. So, this is not good.
    2. I can write a file into .javaws directory. But, how can I get file path for this directory? JNLP API does not give this path to us. I can't think a way to get this path for all client computer (WIndown, Mac, Unix).
    3. To write as a muffin. Seems fine. But, I often change server and path. So, once I changed server, the client will loss the file saved since muffin is associated with server and path.
    4. I can just open one file with on path. I think J2SE will treat this file platform dependently. For example, for W2K this file will be put into Desktop. This is bad.
    Any better idea?

    In the past I have used the Properties class to do things like this. Using load and store, you can read and write key=value pairs.
    I store the file in the user.home directory. You can use System.getProperty("user.home") to get this location.
    No guarantees, but I thought that this user.home property was good for any OS with a home directory concept. If that turns out not to be true, maybe the System property java.io.tmpdir would be more consistent across platforms. This, of course, would be subject to delete by the OS/administrators.
    -Dave

  • What's the best strategy to implement ads?

    Hello Everyone,
    I’ve inherited a site as the content manager and the
    owners would like to start selling ad space on certain pages.
    Mostly the ad banners will be on the either side of the web pages.
    To see the site with out signing-up this page is public:
    http://www.kidstylesource.com/industry/index.php?option=com_content&task=blogcategory&id=2 7&Itemid=91
    The site is built with Joomla and Dreamweaver. The site is
    fairly removed from the Joomla structure that Dreamweaver will be
    playing a big part here setting up ad banner areas. Joomla has
    it’s own way of running ad banners but as mentioned
    it’s very removed from the Joomla way.
    I’m just wondering what is the best strategy to
    implement the ads with placement on the page, tables and/or div
    with out doing a whole rewrite of each page? The body of the pages
    are a mix of tables and div.
    Also I’d like to think about the future using an ad
    server as I’ve never used one before and don’t know
    what code/structure the ad server is expecting on the website. At
    this time the website is just getting off the ground so I feel an
    ad server is not necessary until traffic picks-up.
    Many Thanks,
    John V.

    Hi Helen,
    Are Form1, Form2 etc five different pages? Are they based on different tables?
    Typically, a tree would be a heirarchical structure (child, parent, grandparent etc) - your structure is more like a simple list.
    Also typically, a report is used as the front-end to a form. A link on the report would move the user to a form that allows them to insert/update/delete data. If the five "forms" are based on different data, I would have five tabs in your app - one for each - and have the front-end report as the main page for each tab.
    Or, perhaps, I'm reading your requirement wrong?
    Andy

  • What is the best strategy to use both Z10 and Q10?

    Assume I have both a Z10 and Q10 and I'd like to use it on alternate days, what's the best strategy to do so?
    BBM should be fine with the same BlackBerry ID and it can just keep switching between the 2 devices.
    If I am using local contacts and calendars, is there an easy switch to keep them sync on both Z10 and Q10?
    There are also other information to sync in Password Keeper, Remember...etc.
    Is there a solution?

    Hello,
    For calendar and contacts, there is this:
    http://supportforums.blackberry.com/t5/BlackBerry-Q10/How-To-OTA-Sync-BB10-and-non-BES-Outlook-Overv...
    With that, I actually keep all of the following in sync:
    Two instances of Desktop Outlook (2007 and 2010)
    Z10
    PlayBook
    Outlook.com
    And, before I decommissioned it, also an Android device. Any device that can synchronize with Outlook.com can use this solution to keep in sync for calendar and contacts. You, of course, need to not use solely local contacts and calendar but instead keep them synchronizing with Outlook.com.
    For the other things you mention, I know of no solutions other than backup/restore...but I do not recall if LINK offers the selective method for those.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Need help editing for 14:9 broadcast -- what's the best strategy?

    Hi,
    I work for a station which broadcasts in 14:9. I can cope easily with this when using full screen images by visualising, roughly, what will be lost on the left and right. But now I want to use split-screens and image collages using smaller, scaled down pictures, and want to be able to design the material precisely within a 14:9 frame so that none of the material is lost.
    What's the best strategy for this? Is there a cartesian co-ordinate I shouldn't stray beyond -- or better, is there an easy way with a mask, perhaps, to show 14:9 within a 16:9 timeline. (I'll be editing with a 16:9 timeline). Can I somehow create two vertical lines to visually provide the limits of the 14 component of the aspect?
    Many thanks for any help.
    macbook pro   Mac OS X (10.4.7)  

    Well, you could certainly create a mask in PhotoShop that is 720x480 wide, but has a 630x480 hole in it. Then bring it in and set its anamorphic flag and put it on the top Video layer to see a 14:9 window.
    I arrived at 630 by multiplying 720x14 and dividing the result by 16...
    Patrick

  • What is the best method to revert back to 'golden' image of database

    Hello,
    I want to have a 'golden' image of my test database. What is the best method to keep reverting back to this 'golden' image after testers are done with testing. What I mean is I want to set up a test database for testers. Testers can insert,update, delete on objects as they like. But after the testers have completed their testing, I want to revert the database back to the 'golden' image. This 'golden' image is the state of the database before testers perform their tests. I need to revert back to the 'golden' image many times over as we have to perform many different tests.
    I thought about export and import (9i database) but takes 6 hours, too long. I tried using rman and was successful the first time, (set until time; restore database; recover database; open resetlogs;). The seconde time using rman, I got error saying the set until time was before the resetlogs time. I think I would have to restore the control file before the resetlog time frame before I can recover to the set until time, again.
    What is a straight forward method to have a 'golden' image so I can keep on restoring back to it? This database is a test 9i database and it is in archive log mode but it doesn't need to be. I just need a best practice method, whether it is rman, exp/imp, manual backup/restore? Something I can use time and time over again. Thank you.

    If it is a Test envionment, can you just take a COLD Backup (database files
    plus control files) ? How big is the database ? What platform is it on ?
    eg in a COLD Backup
    a. If using a script, run multiple "cp" (or cpio/tar) commands in parallel to
    copy different database files
    b. If using RMAN (in NOMOUNT), use multiple Chnanels.
    Note : Remember to include ControlFile Backups and Restores as well.

  • What is the best video format for importing into After Effects CS5

    Please look at this video, work in progress.
    http://www.youtube.com/watch?v=49_wbdKALQk
    The opening, featuring a ribbon of videos, was created in After Effects, using Digieffects Freeform.
    The  issue is the poor quality of the videos that are featured in the  opening -- compared to the higher quality of videos from the original Premiere  project., which you can see at the end of the clip.
    To create the After Effects project, I exported a series of video clips from Premiere  to mp4.
    Then I imported them into AfterEffects.
    The bottom line, and the purpose of this question, is I am thinking that  MP4 was not the best choice for the Adobe Premiere export.
    What  is the best format to export video from in Premiere Pro CS5 to import  into after effects, or to import into any other editing program,  incuding importing right back into Adobe Premiere, if that is eever  needed.
    AVI?
    MOV
    MP4
    And any other settings that will result with the highest qualiity videos for importing.
    Thanks

    To follow on with Wade's suggestion...
    There are lots of ways to get movies and projects and other things back and forth between After Effects and Premiere Pro. This page outlines them:
    "Working with Premiere Pro and After Effects"
    If you must render and export a movie out of one application to bring it into another, there is a very basic piece of video workflow advice that you need to keep in mind (which applies to _all_ video software, not just After Effects and Premiere Pro):
    If you're creating a movie to be used in the next step of a post-production pipeline, you _never_ want to use a format that does lossy compression. You either use no compression or (preferable) lossless compression. Examples of codecs that provide lossless compression are the Animation codec and PNG codec at the highest quality settings; these can be used in a QuickTime container, for example. Never compress a movie with lossy compression except at the very end of your pipeline, when you're creating the final movie for distribution.
    MP4 (MPEG-4) is a lossy codec. The quality loss is acceptable for the last stage in the pipeline, but it's not acceptable for an intermediate file.
    It seems that you would benefit from reading this and and working your way through this.

  • What are the best setting to export video from after effects to get the best video quality ?

    Hi
    I am editing a raw time lapse in after effects and also some short video clips I would like to export them from after effects and upload them online afterwards but i get a bit lost in exporting settings and formats and mbps..
    What are the best settings to export a video and get best quality(high) in full hd 1080 ? in 4k ? and what would be the best setting to export animations/logo/intro and get best quality ?
    Thank you very much.

    Thanks for reply !
    I used until now quicktime in H264 codec was that OK ?
    two more questions :
    what are the export settings for 4k files for web/you tube ?
    to play on my PC using  windows media player or Quicktime player and getting the best quality ?
    Thanks in advance.

  • What is the best strategy to back up to a USB drive?

    Hi All
    I am going to buy a USB drive for backup and have a few questions that might have been worked out by others.  These drives come pre-formatted with vfat.  My first inclination would be to use rsync to perform the backup but vfat can't hold all of the permissions, ownership, etc. that are required.   I think I would end up in trouble with tar as well.  Ultimately, the tar file would be too large.  Thus, I guess I would have to break it up somehow.  Anyways, is there a good strategy for performing such a backup?
    Thanks
    Kev
    Last edited by iKevin (2007-02-11 14:48:06)

    How about manual? :-)
    Permissions
    Synchronizing the permission bits of files is slightly tricky when two different filesytems are involved (e.g., when synchronizing a Windows client and a Unix server). In detail, here's how it works:
    When the permission bits of an existing file or directory are changed, the values of those bits that make sense on both operating systems will be propagated to the other replica. The other bits will not be changed.
    When a newly created file is propagated to a remote replica, the permission bits that make sense in both operating systems are also propagated. The values of the other bits are set to default values (they are taken from the current umask, if the receiving host is a Unix system).
    For security reasons, the Unix setuid and setgid bits are not propagated.
    The Unix owner and group ids are not propagated. (What would this mean, in general?) All files are created with the owner and group of the server process.
    EDIT:
    I'd suggest reading this and/or this and/or this first to find which backup system is the best for you.
    There are many programs which should work in your case you and many "meta" systems that should make it easier to configure (like backupninja for example).
    I think you should also reconsider using vfat. It's not the best choice for a backup system. Ext3 would do much better and make it much simplier. You can always reformat the hd back to vfat under linux. For large hds it's actually easier to do that under linux (XP has a 35 GB limit when formatting vfat partitions...).
    Last edited by lanrat (2007-02-13 13:50:34)

  • What is the best strategy for wireless printing?

    Hi,
    I just got an HP 6500A wireless all in one printer and have it connected by ethernet cable to our wireless router. My desktop running Vista Home Premium is also connected to the router. Printing from the desktop works fine. We also want to print wirelessly from a couple of Windows laptops, an iPhone and an iPad. I installed HP's Mobile E-print driver on the laptops and it works but I think the size limitation (5 mb) is a problem. I couldn't print a single page pdf, but a Word doc printed fine.
    So, it looks like I could:
    A: Connect the printer to the desktop by USB and share the printer on the network. Possible drawbacks - I think I'd have to leave the desktop on all the time and we haven't had much success sharing our old HP printer.
    B: Install the printer on the network, via ethernet, and use the embedded web server. Then I guess I install the printer software on each computer?
    C: Connect the printer wirelessly. Is this any different from option B other than not using a cable? The printer is located near the router and the desktop so the cable isn't a problem.
    I know it may just come down to individual preference, but I'd be grateful for any advice as to which direction to go!
    Thanks.
    Dirt Gardener
    This question was solved.
    View Solution.

    A is not a great solution.  Printer sharing USB printers have so many downsides, some of which you described.  In addition, only printing can be shared, not scanning or faxing.
    I like B the best.  Ethernet is superior to wireless if you can connect that way - no passwords, no interference and it is generally a faster interface.  Install the printer software on each computer (from the "Support & Drivers" link at the top of this page, not a CD).
    C is OK, but only if you cannot connect by Ethernet.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • What is the best order to upgrade to Lion after putting in a brand new hard drive in my MacBook Pro? Restore first? or install Lion First?

    I  have a 2008 macbook pro with brand new 500GB hard drive and 6GB new RAM.    My old hard drive is backed up on external drive, via time machine. When the shop put in the new hard drive (there was nothing wrong with old one, it was just stuffed to the brim), they loaded snow leopard from a disk, but I haven't put anything from the old drive back on yet....I haven't even configured my mail and am just reading mail  from ipad and phone these days.
    Question: Should I install Lion before I restore all the old backed-up stuff, or is it important to have anything, ( like maybe preferences)  already on the computer when I download Lion.  I want to be selective when restoring from time machine, because my old hard drive had a lot of ancient software and junk on it that had migrated from every computer we've ever owned, and that is many, many.
    So, I'm just stuck on the best way to proceed.  Also, should I install the latest update for 10.6.8 before I download Lion? I see today that some new updates have become available; java, security, safari, and apple software installer.
    Thanks
    G.T.

    Gaye Thomas wrote:
    But I just read your next post, and  it sounds like you think I should do the back-up first, or am I missing something. I think you are now recommending that:
    1. First I should install Snow Leopard,
    2. do the combo update of 10.6.8
    3. THEN USE BACKUP to restore what I want to carry over to new drive.
    4. Then upgrade to Lion.
    I would restore SL and do the Combo 10.6.8 update. Then use your backup to load back in what you want. Then do the upgrade to Lion.
    So what made you change your mind?
    And, just to say again, the hard drive is completely new.  The shop installed 10.6.8 from the installation CD, and I haven't even configured email.  I'm only using safari.  I just now downloaded 4 updates that software updater recommended.  It now tells me it is up to date.  Is there any reason to do a 10.6.8 combo updater?
    Are you recommending to do the back up BEFORE I install Lion, so that there are some preferences and information about old passwords and certain information that Lion will want to know about?  Will it make my life easier to back up BEFORE I install Lion?
    What changed my mind was your second post. You don't want to carry over everything to the new drive and the install of Lion. You only want selective things and of course your personal files.
    For that I "feel" it best to install SL, Update SL to the most current version, Then selectively restore the parts you want and then install Lion on top of that newest install of SL with the selectively restored parts on the new Hard drive.
    That should give you as clean an upgrade as you can get.
    Of course you could go a completely different route. Make the Lion install USB, Save all your program Install files you want to be installed in Lion along with your personal files. Then Wipe the drive and install Lion clean. Then RE-Install your programs and copy over your personal files.
    That is what I would do as I do not like upgrading to a new OS over the top of an older one. I have never found that to be as clean and it always seems to carry over stuff from the older OS to the new one. But that is me.

  • This new iTunes *****... What is the best way to revert iTunes?

    Hey guys you cant change more that one artist at a time, you can't expand the song list into a vertical list... Any thoughts?

    You can still select multiple tracks or multiple albums and use Get Info to adjust them all.
    Not sure what you mean by "you can't expand the song list into a vertical list..."
    To roll back to iTunes 10.7 first download a copy of the installer from here, uninstall iTunes. Probably best to also remove other suppporting software, e.g. Apple Application Support, Apple Mobile Device Support & Bonjour. Reboot. Restore the pre-upgrade version of your library database as per the diagram below, then install iTunes 10.7.
    See iTunes Folder Watch for a tool to scan the media folder and catch up with any changes made since the backup file was created.
    tt2

  • What's the best strategy for storing URLs as keys?

    I need to create an index that maps URLs to 8-byte longs. I know that I can just use StringBinding and LongBinding to create my entries, however I'm wondering if there's anything that I could do to make more efficient use of memory. I need quick lookups, but I also need to store a lot of data (600M URLs and growing). The average length of a URL is about 90 characters.
    Since I don't know what BDB actually keeps in memory at runtime, I'm wondering what advantage there is (if any) from using hashes for the keys instead of the full URLs. I'd have to store the URL in the data to distinguish hash collisions. There's obviously a trade-off between the size of the hash output and the number of collisions. I can't imagine that the lookup time would suffer that much if I have to iterate through all of the records that hash to a particular key, but I'd like to know if you have a reason to contradict that assumption.
    In summary, I'd like to know what BDB would prefer from a performance standpoint (both size and speed):
    + smallest key/data records (store URL as key, long as data)
    + smaller keys/larger data/minimal collisions (store 160-bit hash of URL as key, URL and long as data)
    + even smaller keys/same data/more collisions (store 64-bit hash of URL as key, URL and long as data)
    The key size would also be much more consistent if I use a hash function. I don't know if BDB cares about that.
    I know that every situation is different and that I could just run my own performance tests (and I will), but it takes a few days to load the data into the index, so I'd like to call on the experience here to avoid making any really bad decisions and save me some time.
    Thanks,
    -Justin

    Hi Justin,
    I know you're not looking for an "it all depends" answer, but it does depend largely on how much of the data set you're accessing fits into the JE cache. If you're not sure about this and can't measure it by running your app and looking at the EnvironmentStats, please run the DbCacheSize utility. There's an FAQ about it, and several OTN threads.
    If the large majority of the data set you access frequently fits into the cache, you'll get maximum performance with the first option you mention (no hashing), since you don't have to filter out hash collisions.
    If I/O to read from disk is a big factor (because the JE cache isn't large enough), then you may be able to reduce this problem by trying to fit more into the JE cache.
    Reducing the key size by using a hash is one way to fit more data into cache, since the keys are stored multiple times in the Btree internal nodes. However, unless the records with the same hash are likely to have been read recently, reading the colliding records will result in more random reads, and that will probably outweigh the advantage. JE stores each record separately on disk in write order, so records with the same hash key will not be stored in "pages" together -- JE has no pages.
    So instead, you may want to try configuring key prefixing, if the URLs are likely to have common prefixes. See DatabaseConfig.setKeyPrefixing.
    If that isn't sufficient, you could use a hash key and store all the records with that hash in a single record. In other words, you could store multiple logical records per JE record. This is quite a bit more work on your part, since you have to handle the packing and unpacking, as well as deletions, etc. For that reason I don't recommend it, but we have had some users do this successfully.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What is the best strategy to purge a set of database tables.

    Hi,
    I have 6 tables I would require to purge data from.
    1 parent table - All of the data that needs to be purged are from a partition created on this table
    5 child table - Using the parent record identifier, these records needs to be purged as well.
    The count of the parent table that i would be purging is around 6 * 10^6
    and the child tables contain atleast 12 * 10^6.
    Can some 1 let me know the most efficient way to get this done.
    If i am using delete statements - if there are any oracle hints that would speed up the process.
    Are there any alternatives to execute a delete script versus how a dba can help out getting the same done within the shortest period of time possible?

    Welcome to the forum.
    Are all tables partitioned?
    What database version are you working with?
    Dropping partitions sounds like a good option you have.
    But there are several other ways, like create table as select [records you want to keep].
    Even DBMS_REDEFINITION pops into my mind...
    These threads will give you more ideas: http://asktom.oracle.com/pls/asktom/asktom.search?p_string=%22mass+delete%22

  • What is the best strategy for purchasing at the refurbished store?

    I am hoping to buy my next Apple through the refurbished store and wonder if anyone can share their experience in terms of finding the exact configuration you are looking for.  Today I browsed the store and found the perfect setup.  Apparently I did not click 'add to cart' quickly enough, and the Mac I wanted was gone.  I assume the stock is updated daily? or maybe new items are added once they are released for purchase from Apple? 
    I have no intention of compromising on the specs I want, can anyone help me strategize on how to increase my odds of finding the new refurb Mac I am looking for?

    There really is no strategy. Items put in the Refurb Store come in all shapes and sizes but not by any particular order. If you want a particular configuration then all  you can do is check regularly to see if one appears. Or you can select some other configuration that you can upgrade yourself.
    As for buying refurbs in general, I have several of them all of which have been running perfectly since purchase. Were I to buy a new computer I would probably buy it refurbished to save money.

Maybe you are looking for

  • OracleJSP:oracle.jsp.parse.JspParseException Urgent please

    Hai, I deployed my application on OC4J and while i am accesing my application, I got this below mentioned error on browser.Can any body have any clues about this error. I am really struggling hard to get out it.If you have any suggessions,please let

  • Adding constraint to table

    Hi, I'm hoping that this will fall under this discussin forum. Recently we've been having problems with some customers having the same email addresses assigned to them. I checked the table and currently there are no constraints on this column (EMAIL_

  • Stand-Alone exe not seeing my VISA instruments

    Hello, I am attempting to build a standalone installer application from my VI using LV 7.1 on a Win 2k machine. I have gone through the build application wizard making sure to enable hardware configuration checkbox and select the desired VISA TCP/IP

  • Auto Capture Display Options

    We are testing the auto-capture mode tethered to a Nikon D-80 through Nikon Capture Pro. It is pretty slick, and so far Lightroom is the best we have seen at doing this. Nice to see some support for tethered photos. Question: At times we'd like to di

  • Can burn a disc but it won't play on my computer!

    Please help. Since upgrading to Tiger I have not been able to use DVDSP 4. I burn a disc the same way I always have using the same brand of discs that I have always used. The disc burns with no error message. When I try and play the disc on my comput