Women in Technology

Hear us Roar



Article:
  Generating an XML Document with JAXB
Subject:   lifecycle events in JAXB
Date:   2009-10-23 01:55:41
From:   javach
Hi,


I have a huge xml file that is an input to JAXB and subsequent processing.


The jaxb part is working fine, but at the end of it I want to process the records that have come in from the JAXB import. When I do this, I get a record not found exception even though the JAXB part shows that the record may have been inserted.
I am confirming this by printing the record ids, as soon as they have been created / inserted.


Unable to understand why this is happenning.
Secondly, are there lifecycle events for a JAXB process, not at a record level, but at the entire processing level.


Thanks in advance,


csaoin

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • lifecycle events in JAXB
    2009-10-24 09:20:55  Deepak Vohra | [View]

    Please migrate to JAXB 2.0, which has advantages over JAXB 1.0.
    http://www.theregister.co.uk/2006/09/22/jaxb2_guide/