GeeCON Prague 2014*
The moose likes Java in General and the fly likes JaxB Class Declaration Imports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "JaxB Class Declaration Imports" Watch "JaxB Class Declaration Imports" New topic
Author

JaxB Class Declaration Imports

Anthony Andras
Ranch Hand

Joined: Nov 09, 2008
Posts: 31
Hi everyone,

Wasn't sure where exactly to post this question, so my apologies if I posted it in the incorrect forum. This is more of a sanity check for me.

I have a situation where I am utilizing JaxB to unmarshall XML data into Java so we can then insert it into a database. We are currently utilizing xjc though an ANT script so these classes can be generated at run time. My code, is currently in a package com.buildInfo. The generated classes are being written out into package com.buildInfo2. If I am referencing the JaxB objects inside of a class in the com.buildInfo package, I will need imports for my com.buildInfo2 JaxB classes correct?

Thanks for taking the time to read this.
 
GeeCON Prague 2014
 
subject: JaxB Class Declaration Imports