Auto increment with collection is not working

I am using KODO 3.0 with MYSQL 4.0.16. I have created two JDO object as
follows
BankAccount contains a collection of Contacts object. My metadata looks
like this
<class name="BankAccount">
<field name="contacts">
<collection element-type="Contacts"/>
<extension vendor-name="kodo" key="element-dependent"
value="true"/>
</field>
</class>
<class name="Contacts" objectid-class="Contacts$contactId">
<field name="contactId" primary-key="true">
<extension vendor-name="kodo" key="jdbc-auto-increment"
value="true"/>
</field>
</class>
There is no problem in the persisting of BankAccount object and adding
Contacts to it, but Contacts collation is not retrieved along with parent
object. In the database join table, the contact Id value it is always set
to null.
Things are working well with out contact id in Contacts.
Can anyone help?
Regards,
dharmi

Set the following property:
kodo.jdbc.AutoIncrementConstraints: true
Described here:
http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_pc_oid.html#ref_guide_pc_oid_pkgen_autoinc

Similar Messages

  • I plugged IPOD in to sync ( first time in over a year) it auto started with the "Do Not Disconnect", but did not sync.  Now the IPOD is stuck in that mode, won't shut off, won't sync, won't work.  is there a way to reboot it?

    I plugged IPOD in to sync ( first time in over a year) it auto started with the "Do Not Disconnect", but did not sync.  Now the IPOD is stuck in that mode, won't shut off, won't sync, won't work.  is there a way to reboot it?

    It has already been 6 days from your post, my apology for responding so late, but it is my habit to help only the leftovers, which the other contributors missed.
    Toggle the hold switch make sure there is no red showing.
    To reboot an iPod. (Or RESET in Apple iPod jargon)
    Press Menu and Center button for about 10 secs till the Apple logo comes ON , this would not erase any data from your iPod.
    I would advice you to leave the iPod charging for about 4 hours, if it has been discharged for 1 year or more, and also Apple recommends that you charge the iPod at least once a month, to prevent a discharged battery leakage, which may corrrode the circuitry in the iPod.
    Hopefully you don't get the dreaded RED X on the iPod screen.
    Good Luck!

  • Auto-Reaction E-mail is not working:

    HI Basis gurus,
    I am setting up a fresh configuration with Solution Manager.
    Central system is solution manager 4.0.
    Auto-Reaction E-mail is not working:
    I have set Z_ccms_Onalert_email with the following parameter
    Parameter name Parameter value
    SENDER userid from client 000
    RECIPIENT my company e-mail Id.
    RECIPIENT-TYPEID U
    for the below MTE:
    Properties of DEV\r3dev_DEV_00\...\Background\Aborted
    MTE class R3BPServerSpecAbortedJobs
    when I check in CCMS Selfmonitoring it shows:
    Node name (MTE) DEV\MoniInfra_r3dev_DEV_00\...\DataSupplier\Log
    System DEV
    Context MoniInfra_r3dev_DEV_00
    Object name DataSupplier
    Short name Log
    Status ACTIVE
    Alert text Document <CCMS alerts DEV 20050808 041658> could not be sent
    Line-Id in Message Container 0000000243 0001149437 1123489018
    VAR 1 CCMS alerts DEV 20050808 041658
    VAR 2 CCMS alerts DEV 20050808 041658
    VAR 3 CCMS alerts DEV 20050808 041658
    VAR 4 CCMS alerts DEV 20050808 041658
    I also tried creating seperate MTE and added
    Properties of DEV\r3dev_DEV_00\...\R3Abap\Shortdump
    MTE class R3AbapShortdumps
    With Auto-Reaction Methor has ccms_Onalert_email with the above parameter.
    But the e-mails are not triggered.
    I checked ccms_selfmonitoring and found below error message:
    Node name (MTE) DEV\MoniInfra_r3dev_DEV_00\...\Tooldispatching (short running tasks)\Messages
    Context MoniInfra_r3dev_DEV_00 Object name Tooldispatching (short running tasks) Alert text Unable to set runtime status for data collection method (RC = 253), MTE: DEV\r3dev_DEV_00\...\R3Abap\Shortdumps
    Line-Id in Message Container 0000000222 0001068279 1122993022
    Also send_internet_mail Job is running every 10mins.
    Please provide solutions for this.
    Thanks in advance
    Pradeep

    Hi Pradeep,
    Can you send e-mail at all from the ssm 4.0 ? Are there any mail hanging in scott ? Are the MTE's reporting at all? May be a stupid one but you say
    I have set Z_ccms_Onalert_email with the following parameter
    and then
    With Auto-Reaction Methor has ccms_Onalert_email with the above parameter.
    But the e-mails are not triggered.
    Is the no Z_ a typo in the post or is this a typo in you're system ??
    Lando

  • FORM RUNTIME record=collect is not working.

    Hi
    FORM RUNTIME record=collect is not working which is set to user level.what to do?
    rgrds

    Pl post details of OS and EBS versions, along with the complete steps you took to enable this profile option. What does "not working" mean ?
    MOS Doc 438652.1 - R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications
    HTH
    Srini

  • HT4235 iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    Hmm.. Thank you for the response.
    Have you tried using the iPod with another user account or computer, to help narrow down whether the problem lies with the computer, account, or the iPod itself?
    Maybe try reformatting it, using the tools provided by Windows. Instructions on how to reformat your iPod can be found in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. Thanks.

    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .

    Contentmom6 wrote:
    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
    Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store.  Now try System Preferences > Displays > Detect Displays.  You should now be able to select a display mode for the monitor.  If it still doesn't work, then I'd check that everything is properly connected.  I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
    Bob

  • FIND with MATCH OFFSET not working

    Hi,
    I have a statement:
    FIND '/' IN <ls_data_package>-/bic/zbib_sysn MATCH OFFSET off2.
    this works in all the case except for when <ls_data_package>-/bic/zbib_sysn = SSULTANA-VMC/.
    (i.e. when /bic/zbib_sysn = USERID-VMC/, here SSULTANA is the user ID)
    *In this case off2 = .
    Value of sy-subrc is 0 after this statement is executed
    Can some one please point out what I am doing wrong.
    Thank you,
    CD
    Edited by: CSD . on Sep 26, 2008 9:53 PM

    >FIND with MATCH OFFSET not working  
    Most unlikely.  More likely is that it isn't doing what you think it should be doing.  Or you're using it incorrectly!
    I can't really follow what your problem is.  I assume you mean that you are getting off2 with value 0, when /bic/zbib_sysn contains USERID-VMC/
    Can you be a little clearer in what the issue is?
    DATA: off2 TYPE i.
    FIND '/' IN 'this string /' MATCH OFFSET off2.
    WRITE: / sy-subrc, off2.
    This little program returns 0 and 12 
    matt

  • Passwords, auto-fill in safari does not work it is enabled in settings, what can do

    passwords, auto-fill in safari does not work it is enabled in settings, what can do

    Private Browsing Off.
    Private Browsing On.

  • Auto tab focus method is not working in iOS devices please share the ideas why its not working?

    Auto tab focus method is not working in iOS devices. Please share the idear i am facing this issue while developing code for devices.

    Hi there,
    I can confirm this bug.
    Not sure if this info is relevant, but this is my experience:
    I am on the FIDO network, and so are two other people I know.
    We all tried blocking numbers, and calls ring right through. Text messages are blocked successfully. (never tried facetime)
    I also tried a ROGERS device running IOS7, and was successfully able to block my phone call from ringing through. HOWEVER, my call was forwarded to their voicemail, I was able to leave a voicemail for the person, and they did get an alert that they had a new voicemail.
    I have not yet had a chance to test this on Bell, Telus, or any other carriers.
    Spoke to Apple, and they advised me to do a hard reset (hold both buttons to shut off and reboot the phone), and if that fails to do an iOS restore.
    I have yet to try this, but hopefully someone will have a better solution.

  • I am having trouble with my speakers not working while online in particular on windows.My audio works when playing audio files

    I am having trouble with my speakers not working while online particular on facebook. My audio works when playing audio files.

    Hi,
    Did it happen all the time or sometime?
    Please check online browser status:
    Click Volume icon in the taskbar, click Mixer link button as below:
    If it's fine, follow this guide to run troubleshooter to detect and fix the issue:
    Tips for fixing common sound problems
    http://windows.microsoft.com/en-in/windows/tips-fixing-common-sound-problems#tips-fixing-common-sound-problems=windows-7
    Meanwhile, this similar thread also could be referred:
    https://social.technet.microsoft.com/forums/ie/en-US/a4a1cfe5-93a5-4c0b-9bf6-f7db0304f2ba/no-sound-on-youtube-or-any-other-webpage
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Serial number provided with download does not work, now what?

    serial number provided with download does not work, now what?

    Chrish29593217 you are welcome to contact our directly at Contact Customer Care.  What Adobe software title are you facing difficulties with?

  • TS3297 i bot a 3g iphone 2nd hand and it is trobleing a lot with os and not working plese help me

    i bot a 3g iphone 2nd hand and it is trobleing a lot with os and not working plese help me

    The following guide gives information on how to sync ringtones from your computer to the phone. The reference section at the bottom of the quide also gives instructions on how to convert a song to a ringtone. https://discussions.apple.com/docs/DOC-3792

  • [svn] 4323: Bug: LCDS-544 - Scenario where two components have seperate channel sets with overlapping channels not working .

    Revision: 4323
    Author: [email protected]
    Date: 2008-12-15 19:23:10 -0800 (Mon, 15 Dec 2008)
    Log Message:
    Bug: LCDS-544 - Scenario where two components have seperate channel sets with overlapping channels not working.
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Details:
    * Hunting to a new channel within a channelset never triggered a disconnect from the previous channel(s). This isn't a problem in general, but does becomes a problem when an app defines two distinct channelsets containing at least one shared channel at the head of the list. In this case, the first channelset hunts past it and connects on a later channel. But when the second channelset hunts through (triggering a connect fault when it hits that initial shared channel that can't connect), the fault is processed by the first channelset as well (incorrectly).
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-544
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as

    Running the script by python2 solves it for me:
    su - mythtv -c "nice -n 19 python2 /usr/bin/tv_grab_nl_py --output ~/listings.xml"
    Best regards,
    Cedric

  • I have downloaded skype, but after synchronizing with itunes skype not working, why?

    i have downloaded skype, but after synchronizing with itunes skype not working, why?  when I was synchronizing I believe there was some message in itune saying software not backed up or somethin to that effect.

    Thanks for your response.
    However, I did not find any solution to my problem.
    in my phone the skype application skype is not opening up, same is the caseiwth mobile voip. Both these applications were downloaded last night and it worked then, but not working now.
    Thanks in advance for anyone willing to help. I am new to the iphone.

  • Hello, all of a sudden I fell down my system and completely erased all bookmarks. Your progress with restoration does not work, send me ansver,please

    Hello, all of a sudden I fell down my system and completely erased all bookmarks. Your progress with restoration does not work, write me of bookmarks could not be loaded. Please advice on everything because I came and they seriously need it.

    Did your computer crash or did Firefox crash causing the loss of the bookmarks?
    You can check for problems with the places.sqlite database file in the Firefox Profile Folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    See also:
    *http://kb.mozillazine.org/Lost_bookmarks
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes

Maybe you are looking for

  • IWeb (and Safari) fonts all screwed up (See pic)

    Hi yall. I am having this problem with my fonts. First it started in Safari, now iWeb. It seems to only be plauging Apple software. Do I have corrupted font files. If so, how do I clean em out. Here is the pic to show you what I mean by "Screwed up".

  • 10.4.2 and WPA Enterprise NOT working

    Dears, I have 2 machines configured in this way: - 10.3.9 with Airport card (no Extreme) and latest Airport drivers; - 10.4.2 with Airport Extreme card and latest Airport drivers; I try to connect to our WPA Enterprise wireless network and i got 2 di

  • BLOB limited to PDF only

    Is there an easy (or not easy) way to limit a BLOB file browse to be PDF only? I tried putting an item level validation on both the Browse object and on the filename (it doesn't work). I tried attaching a javascript onChange entry to the file browse

  • C7 - Asking for pin code/voucher code while downlo...

    I am using c7 and trying to download music from ovi store. But, while downloading any music it asks me for pin code/voucher code. from where I can get pin code to download music? Also, I saw text "your mobile is not unlimited download compatible" som

  • How do I fix a parsing error Ii get every time Firefox opens up

    XML Parsing Error: undefined entity Location: jar:file:///C:/Program%20Files/Mozilla%20Firefox/omni.jar!/chrome/browser/content/browser/aboutHome.xhtml Line Number 19, Column 12: