• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to deal with attachments for xml messages using Jaxb?

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am trying to persist xml messages in relation tables for which I am
using Jaxb for marshalling and unmarshalling and HyperJaxb technology for
creating DBschema. Everything is fine as long as there are no attachments
to these xml messages. When there are attachments (in Base64)to the xml messages, Jaxb fails to keep a field exclusively for that binary content and so HyperJaxb fails to keep a column for that in DB. So the persistence is failing at this point.

Anybody has any clue as to how I could proceed from this point.
Any help is highly appreciated.
Thanks,
sai
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Both JAXB and HyperJAXB support binary fields.
Could you send me the schema you experience problems with?
Please refer to the HyperJAXB users miling list.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic