Hello, I have following problem and no good idea for a solution:
We have a XML file that contains a Container Object and a list of complex Data Object that must be imported into a database. For each Data Object a domain validation is required. If the validation failed the object with the data will be rejected. Data should not be inserted into the database, -> rollback! After a reject of a object the next Data Object should be processed. For each rejected object we must produce a report, so we have at the end a bag of failed objects or XML references. We need also for each processed Data Object a commit. Is this possible with JBIX or must I look for another technology :-( So my solution in mind is, to implement a own marshaller and unmarshaller Handler for the container Object and handle the error processing and database processing there :-(. The rest of the mapping operation should be done in the normal way. All the validation of the data object can I hopefully implement in the post-set method. Or is the solution to implement a own MarshallerContext. Thanks Florian ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users
