BC4J: Sync with DB problem

This seems to be a BUG
I have two identical schemas, except that in one I have test data which is used for product testing. Needless to say, I have two separate connections. Every time I am deploying a new version of the product I switch to the actual schema connection, and then do 'Synchronize with Database' for all my EOs ( and hence, Associations).
Also to mention, I have several DBSequence attributes in my EOs needed for automatic key insertion via DB trigger and sequence. I also have audit trail fields for 'created by' which automatically adds jazn login user id when new record is created.
So the problem is when I sync with DB and two problems are occuring
1) In EO xml file IsNotNull="true" is set and this entry should not exist for the DBSequence attribute in order to work properly. So I have to open this XML file in external editor and delete this entry in order for my project to work.
2) This problem is even more anoying. The audit trail 'created by' field does not insert jazn login data (user ID) ONLY in tables that have more then one association to USER EO (table)?!?! Otherwise audit trail works!?
If anyone can provide me with more information on this or how to bypass these problems, I would REALLY appreciate.
Rade

OK Several things here
1. By default (when the EO is created), this attribute is set to be Mandatory since it is a PK in the table.
2. When I change the type from Number to DBSequence two things happen:
2a) Mandatory is disabled (ie cannot be checked or unchecked)
2b) Mandatory is unchecked.
Eventhough 2b) holds, there is an entry in EO xml file:
isNotNull='true'
Hence I suspect this is a bug!
Q.E.D. :)
Regards,
Rade

Similar Messages

  • ITunes sync with cable problem (WiFi sync works OK though)

    When I connect my Iphone 4S to iTunes (win 7 premium 64bit) and sync songs/images, they end up all halfcomplete and glitchy on my iphone.
    For example: Songs are incomplete and glitchy (begins in the middle of the song when played etc.)
                          Some images are totally black, or half glitch pixelated etc.
    Ive tried with another cable/USB-ports, still same problem. Thinking about trying another computer but since the iphone can only sync to one iTunes at a time, its quite inconvienient..
    When I WiFi-sync it syncs OK though.
    Any ideas what could be wrong? Computer, iphone hardware etc?

    Plug your phone in with the cable - then in your device menu, you'll see "Sync with this iPhone over Wi-Fi" as an option in Summary page under Options.  The rest will be history.

  • ITunes sync with iPhoto Problem

    Hi everybody,
    i'm experiencing a tedious issue with iTunes and the iPhoto syncronization with i-devices.
    I'm running iTunes 10.4 , iPhoto 9.1.5 and i have an iPhone 4 and an iPad both running iOS 4.3.5.
    When i sync my iPhone with iTunes i usually chose only 3 separated iPhoto events and no problems occurs in copying the photos on the device.
    When i sync my iPad instead i get the following problem:
    the same as with the iPhone i choose a limited number of iPhoto events to sync with the iPad but the photos count shown in the iTunes screen is a lot different then the real number of the photos in the iPhoto events. To be clear:
    Event 1 contains 300 photos in iPhoto
    In the syncing screen of iTunes for the iPad Event 1 contains only 3 photo.
    As a result only 3 photo are transferred to the iPad.
    I tried to repair and rebuild the iPhoto library (alt+cmd+start iphoto) selecting all the options except the rebuild database from backup option. Nothing changed.
    I tried to reset iphoto syncing with the iPad doing as follow:
    connect iPad
    select "don'y sync photos"
    choose "Erase all photo from the Device"
    disconnect
    Reboot both devices
    reconnect iPad
    choose sync again.
    Nothing changed again
    At last i tried to erase the content of the "ipod photo cache" folder as suggested in other threads in this forums but when i reconnected the iPad and tried to resync nothing changed.
    Beaside that i tried even to control and repair permissions on the entire HD with Disc Utility but again i had no differences with the problem.
    Does anybody experienced the same problem? There is any known solution? Anything else i could try?
    Thanks everybody in advance for any support given.
    Giuliano.

    I am having a similar issue.  My iPhone 4, my wife's iPhone 3GS and my iPad 2 will start to sync with iTunes on my MacBook (running Lion) and when it begins to import photos from iPhoto, I get a (-50) error and the sync quits. Some events sync just fine but others trigger the error message. 
    I have deleted the iPod Photo Cache, reinstalled iTunes, reinstalled iPhoto, repaired and rebuilt my iPhoto library, restored my iPhone to factory settings, repaired permissions on my MacBook and anything else I could think of or found in previous postings.  Nothing has worked. 
    Please help!  This is incredibly frustrating and no one at Apple has been able to help.  Thank you!

  • Mail sync with gmail problems - deleted emails keep re appearing

    Learned all,
    Upgraded to Mavericks and my main (work) email client is gmail forward to my mac. I simply can't delete emails from my inbox, they re appear after every sync. If I delete them on my phone they re appear after a sync. They remain in the google mail/gmail inbox, as accessed in a browser, marked deleted but still sitting in my inbox. I haven't noticed this before but then I haven't really looked.
    This is bizarre, and fundamental. I have read the TidBITS article and cringe at the thought of having all my emails load back up to my mac. Also cringe at all the other accounts of issues that this resolution doesn't fix. My temporary work around - disable my gmail work email account on my mac, forward all emails from gmail to my icloud mail account/client. The biggest problem, and a show stopper, is that I can't send emails via icloud from my work email address. I assume that you can't add an alias with a different domain name? Anyway I had 3 and have to wait 7 days after deleting one before I can add another. 7 days??
    Any wisdom or learnings from out there? Any advise appreciated, thanks.

    Thank you, Ernie.
    These are all IMAP.  I see trash on the server and on MAIL.  deletine Trash used to work from MAIL, but in last 4 months, if I want something to take effect, I work from the web mail of go daddy and MAIL gets the message.
    So you suggest I go to Gmail and set up accounts ( I assume they  will walk me through )  (starting from my current gmail acct that my android uses-- or start from scratch?)  to receive email addressed to my current email addresses?  Then by not transfering out of goDaddy, I won't lose lots of email and mail files, folders in the transition?
    There is a discussion on this topic of GoDaddy delays, from 2010 and 2011. So I may not be alone with the problem now.
    Best,
    Gayle

  • IPhone sync with MacBookPro-- problem with calendar snyc

    My iPhone will not sync calendar items from MacBookPro -- Other things seem to sync fine.  Can anyone help -- I'm missing appointments!!

    vghaemmaghami wrote:
    HELP PLEASE!! i recently overhauled the calendar on my iphone and erased everything on iCal on my mac. now when i sync with my computer (i pick "sync all calendars") it erases everything on my iphone and i have to restore from backup to get my calendar info back. I'M GOING MAD!! how can i do a one time, one way sync from iphone to ical (or just merge the two for that matter)? PLEASE HELP!!
    I don't think you can force the iPhone to overwrite iCal (though you can do the reverse). I even looked through MobileMe to see if you can do it, and found nothing.
    The only suggestion I have is if you have a backup of your Mac somewhere. If you use TimeMachine, you can get an older calendar out of User/Library/Calendar.
    Another thought, and this may work only if you have MobileMe, is to go into your MobileMe preferences on your Mac, click on Sync, Advanced, and reset Sync Data. Choose MobileMe to overwrite your Mac.
    These are my ideas. Hope they help.

  • Sync with iphone problem

    I iphone 3GS will not sync with itunes. I keep getting an error message. It says it will delete all contents from itunes if I go forward with the sync.
    My version is out of date; I am trying to update it by syncing but I don't want to erase contents on my phone. Someone at the apple store said to uninstall and reinstall itunes on my computer. I use Windows 7. Has this worked for anyone?

    Hi,
    What you should do is uninstall iTunes and then reinstall it with the current version. If you uninstall it, none of you stuff on iTunes will be lost.
    xxmitchxx90

  • Iphone sync with iCal problem

    HELP PLEASE!! i recently overhauled the calendar on my iphone and erased everything on iCal on my mac. now when i sync with my computer (i pick "sync all calendars") it erases everything on my iphone and i have to restore from backup to get my calendar info back. I'M GOING MAD!! how can i do a one time, one way sync from iphone to ical (or just merge the two for that matter)? PLEASE HELP!!

    vghaemmaghami wrote:
    HELP PLEASE!! i recently overhauled the calendar on my iphone and erased everything on iCal on my mac. now when i sync with my computer (i pick "sync all calendars") it erases everything on my iphone and i have to restore from backup to get my calendar info back. I'M GOING MAD!! how can i do a one time, one way sync from iphone to ical (or just merge the two for that matter)? PLEASE HELP!!
    I don't think you can force the iPhone to overwrite iCal (though you can do the reverse). I even looked through MobileMe to see if you can do it, and found nothing.
    The only suggestion I have is if you have a backup of your Mac somewhere. If you use TimeMachine, you can get an older calendar out of User/Library/Calendar.
    Another thought, and this may work only if you have MobileMe, is to go into your MobileMe preferences on your Mac, click on Sync, Advanced, and reset Sync Data. Choose MobileMe to overwrite your Mac.
    These are my ideas. Hope they help.

  • Iphone 5 sync with itunes problems HELP!

    This is the first ever Apple product I have owned so I am use to just dragging songs over to my blackberry file and it would send them to my phone straight away nice and easy. I have the latest itunes and iphone5 software.
    I am finding it difficult to understand and Im guessing I will need a step by step guide to the problems because I havent got a clue how to do the following:
    When I connect my iphone5 to my laptop and open up itunes, it auto syncs all my music to my iphone unless I click the stop button, I dont want this because there's only certain songs I want on my iphone, How do I stop it auto syncing (step by step guide would be helpful).
    Also now on my iphone I click on songs every song is in a grey colour and cannot be played because I deleted all music so I could sync only certain songs, how do I get rid of that?
    One more question. All my music files are on my itunes, but how do I set it up so I can create a playlist or manually select songs to sync to my iphone (again step by step clicking guide would be perfect because I am not use to any of this at all). Thanks
    Its probably so easy but because Ive never done it before my heads battered and all over the place with it.

    You have to configure the sync settings by accessing the summary page when you connect your iphone to your computer using iTunes on your computer. If you haven't installed itunes go to apple.com/itunes to DOWNLOAD AND INSTALL iTunes.

  • KIN ONEm sync with Mac problem

    I use the KIN media sync software to connect my KIN ONEm to my Mac. I've tried to transfer the photos on my phone to my computer, and it worked. But when I tried to transfer music files from my computer to my phone, I consistently got an error message saying that there's not enough space on my phone EVEN THOUGH I made sure to select only a handful of music files, and not my whole collection, to transfer (so total size would be < 20MB); and (ii) I have 2.7 GB of free space on the phone, as the software tells me. I've looked everywhere on the Internet but couldn't find a solution. Has any one encountered the same problem? Does any one know what's going on? Thanks!

    I would also try this site:  http://www.markspace.com/kin/ and to confirm there are certain requirements for this software to work effectively.  These are the requirements:
    Mac computer with an Intel processor
    Mac OS X version 10.5.6 or later
    iTunes 7.4 or later to sync music and podcasts
    iPhoto 6.0 or later to sync photos with iPhoto
    QuickTime 7.0 or later to sync video
    Also, if this software doesn’t work try contact Sharp since they make the phone and would be the next best resource.  Since the issues you are having are not related to our network we have very limited resources in troubleshooting Mac’s and the Markspace software.
    Thank you.

  • Sync with iTunes problems

    When I try to sync my iPhone it start first with backing up and it takes forever, then it starts with transfering purchases etc. How can I avoid that? I would like only to ad one or two albums or one or two videos. This is annoying.
    Thx

    It looks like that hapens only when you don't sync iPhone for a long time like I was doing before once in a three months. I tried today again and it was very fast.
    Thx

  • Sync with Outlook problems

    I have a couple questions about synchronizing Outlook with the Nokia N80 using Nokia PC Suite 6.81. First, I have different subfolders under the Contacts list in Outlook. I want to sync all my contacts to my phone; however every time I sync, I can only sync one contact folder (or subfolder) at a time. When I want to sync the outlook with the phone, I want ALL my subfolders to sync over at the same time. Not just the main contacts folder, or the individual subfolders. If I have 3 subfolders, then the only way to get all contacts in the folder is to sync 3 times and change the source folder each time. Do you know any possible function or way of syncing the contacts on Outlook and my phone all at once? Furthermore, do you know if I can keep the same groups once the data has reached the phone, e.g.: the Friends subfolder in Contacts goes to the Friends group on the phone.
    When I sync the Contacts, there’s another catch: I want to fill out the contact form as thoroughly as possible (e.g. the entire phone numbers, faxes, email and postal addresses, as much info as possible) however, when I sync it to the phone, I only want the phone numbers and the email addresses to sync. Is there some type of filter or default setting that I can change in either Outlook or PC Suite so that only certain fields can be synchronized, NOT all the contact info.
    I know it's a lot, but thank you all for your time. It really means a lot.

    Good questions, unfortunately you have met the limitations in PC Sync. It can only synchronise one database (the contacts folder in Outlook) with another databse (phonebook in phone) at a time.
    I am sure you are using one way sync so that updates happen only from Outlook to phone.
    The categories and groups in Outlook and phone is worse, I think. It would be nice to synchronise them, but the logic is so different in phone and Outlook that it may be very difficult to offer.
    In outlook you should select a predefined category to a contact, but in phone you create a group and the name of that group can be anything, and you add contacts there. So it would be difficult to synchronise.

  • 8530 Sync with Address Problem

    unable to turn off wireless sync
    have looked in address book under options with no luck
    need heeeelp

    Did you see this post at the top of this Welcome and Intro section?
    Please don't post questions in this section
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Sync with iTunes problem

    HI all, got Aperture 2 and iTunes 9.
    I've recently rebuilt my Aperture library and am manually managing previews. I go into Aperture and create previews for a project or a smart album.
    I then go to iTunes and select the photo syncing tab. All my projects and smart albums appear ok. Yet when I click on them, they tell me there are no photos to sync. If I click on the all photos album it tells me there is only 16 photos total out of 10,000 to sync. Yet I know I've created at least 100 previews.
    No matter how I create the previews it keeps telling me there are only 16 and it's always the same 16 images.
    Any ideas, this is driving me nuts!
    ciao
    Derek

    Hi Derek - while I do not "sync" my Ap library with iTunes, I DO use Apple's Media Browser often. Like you, I manually manage previews - I KNOW they're there. Anyway, I learned that with the Browser, if a version is in a "stack", its preview will NOT be seen. Unstack that image, and all's well. It may be the same with iTunes syncing....
    Good luck.
    cheers,
    david

  • ITunes syncing with iStore problem (purchased films, not music)

    Need your help, guys:
    new mac air, authorised computer, connected to account on icloud etc,
    ITunes shows only 4 out of 100+ films i have on icloud (being purchased before), same time everything is fine with music library!
    thank you

    Hi Timur_N,
    Welcome to the Support Communities!
    Have you copied your iTunes library from your old computer to your new Mac?  The article below will show you how to do that (backup your library first), and how to re-download anything you've purchased from the iTunes Store.  Finally, you can review your purchase history and contact iTunes Store Support if you have any issues with an item you've purchased.
    iTunes: Back up your iTunes library by copying to an external hard drive
    http://support.apple.com/kb/ht1751
    iTunes for Mac: Moving your iTunes Media folder
    http://support.apple.com/kb/ht1449
    iTunes Store & Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/ht2727
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/HT2519
    Cheers,
    - Judy

  • Gmail and Google Apps sync with E72 - problem upda...

    Hi
    On my E72 I have set up two mailaccounts: My private Gmail account and my workmail which is a google apps account. Both work great and I have no problem recieving or sending mails.
    My problem is that the inboxes on my phone do not update: When I recieve a new mail in either mailbox and read this mail on my computer, the same email is still unread on my phone.
    Why is this, and how do I make my phone update properly?
    Thanks!
    - Jesper  

    I forgot to write that if I read an email on my phone it actually eventually shows as read on my computer, which makes this even more puzzling...!

Maybe you are looking for

  • My iTunes library on my new Macbook will not sync to iPhone 5

    I just got a new MacBook Pro and spent a lot of time organizing my music into new playlists, deleting old music, etc.  When I plugged in my iPhone 5 to update it with the new library, the new playlists I had just created disappeared and it wouldn't s

  • Custom html and css broken in BC

    I have created some content in iWeb. A photo gallery that doesn't work when uploaded to BC. It works fine when I upload to a different Host. http://isodisc.businesscatalyst.com/usbcat/ISODISC_Full_USB_Flash_Catalog.html

  • Navigation issue using jsf, tiles, tomahawk  :loosing faces context

    Hi all, I enhanced my webapp using tomahawks jscookmenu. Triggering 1 menuItem the wanted pages displays correctly but the next click anywhere in the application shows this error: org.apache.jasper.JasperException: javax.faces.FacesException: Faces c

  • Witch plug-in for mail delivery recipient

    Hello, does enyone know witch plug-in, delivery recipient, i have to download for "mail"? I'm looking for it on www.pure-mac.com and www.hawkwings.net/plugins, but i don't know what to look for to get a delivery recipient when i send an email... thx

  • Case not working with aggreate function

    i a writing the these SQL lines which is basically alternative approach of pivot keyword using in SQL Server 2005 but here i am using CASE statement if DateNumber exists then give count of ParticulersCount otherwise null select Particulers ,sum(case