Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8191095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:50:35+00:00 2026-06-07T03:50:35+00:00

My requirement is to save a huge XML values to database. After analyzing few

  • 0

My requirement is to save a huge XML values to database.
After analyzing few options I finalized that generate entity bean classes from huge xml and then persist it using hibernate.
I am opting out of creating hbm files and going for hibernate annotations.In this way I will be generating Java classes from XSD using JAXB and them manually add hibernate annotations.
Is there any eclipse plugin or util framework which can generate entity classes from XSD with default hibernate annotations?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T03:50:39+00:00Added an answer on June 7, 2026 at 3:50 am

    Here’s some documentation:

    http://confluence.highsource.org/display/HJ3/Making+schema-derived+classes+ready+for+JPA

    http://java.net/projects/hyperjaxb

    Here’s a working example for a project I have completed:

      <plugin>
        <groupId>org.jvnet.jaxb2.maven2</groupId>
        <artifactId>maven-jaxb2-plugin</artifactId>
        <version>0.7.4</version>
        <dependencies>
                      <dependency>
                              <groupId>org.jvnet.hyperjaxb3</groupId>
                              <artifactId>hyperjaxb3-ejb-plugin</artifactId>
                              <version>0.5.5</version>
                      </dependency>
                </dependencies>
        <executions>
          <execution>
            <id>generate-domain1</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <strict>false</strict>
              <schemaIncludes>
                <value>account.xsd</value>
                <value>customer.xsd</value>
                <value>address.xsd</value>
              </schemaIncludes>
              <bindingIncludes>
                <include>domain-bindings.xjb</include>
              </bindingIncludes>
              <extension>true</extension>
              <generatePackage>your.package.here</generatePackage>
              <generateDirectory>${project.build.directory}/generated-sources/jaxbandjpa</generateDirectory>
              <args>
                <arg>-Xannotate</arg>
                <arg>-Xhyperjaxb3-ejb</arg>
               </args>                  
               <plugins>
                <plugin>
                  <groupId>org.jvnet.jaxb2_commons</groupId>
                  <artifactId>jaxb2-basics</artifactId>
                  <version>0.6.0</version>
                </plugin>
                <plugin>
                  <groupId>org.jvnet.jaxb2_commons</groupId>
                  <artifactId>jaxb2-basics-annotate</artifactId>
                  <version>0.6.0</version>
                </plugin>
              </plugins>
            </configuration>
          </execution>
        </executions>
      </plugin>
    

    hope it helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My requirement is that to download xml from server and save it into sd-card
In my iPhone application, there is a requirement to save a few log files
Requirement : Should update MySQL database with that of MS Sql Server updates which
My requirement is i want to save some data in database by using web-services.
I have this requirement that i need to Update/Save all records from DatabaseA on
Requirement is like: I want to take input values from user in frame but
I'm having a requirement where i've to save a dataset which has multiple tables
I have a requirement to do a flash program or something like that (not
We have a requirement that a user can load any standard image into a
I have a requirement to save the last screen viewed while closing the app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.