Questions tagged [hyperjaxb]

HyperJaxb3 adds JPA annotations to jaxb classes.

The project site is http://hyperjaxb3.codehaus.org/

101 questions
1
vote
2 answers

Hyperjaxb and Apache CXF

I'm trying to use Hyperjaxb3 with Apache CXF to generate persistence annotations from a WSDL-first web service. I've plugged the Hyperjaxb3-ejb-plugin into the cxf-codegen-plugin, like so. org.apache.cxf
Matt Luongo
  • 14,371
  • 6
  • 53
  • 64
1
vote
1 answer

HyperJAXB and IDREFs

I have eventually managed to fiddle HyperJAXB so that when XSD has complexType A and this has an IDREF to complexType B, then HyperJAXB will generate @OneToOne JPA annotations between the the two generated entities. However now I'm facing another…
finrod
  • 367
  • 2
  • 13
1
vote
1 answer

Rename the generated foreign key column generated using custom Naming Strategy

I want to change the name of the foreign key column generated by my Schema. Below is the schema configuration that I am using : …
priyas
  • 415
  • 1
  • 8
  • 29
1
vote
1 answer

customizing fetch type in hyperjaxb

I read this link about fetchtype in hyperjaxb. From the looks of it, it seems that one can only add a simpleType fetch-type to the xsd file and then add a fetch attribute to every complexType. How would someone customize the following xsd…
CodeMed
  • 9,527
  • 70
  • 212
  • 364
1
vote
1 answer

customizing hibernate properties in hyperjaxb

The default configuration of hyperjaxb is creating hibernate annotations that result in hibernate annotations that produce incredibly verbose SQL statements that result in SQLExceptions at worst and slow performance at best. Specifically, the…
CodeMed
  • 9,527
  • 70
  • 212
  • 364
1
vote
2 answers

Do we need HyperJAXB generated hashCode & equals methods?

We've generated some (well a lot) of classes using HyperJAXB. All of the classes implement Equals and HashCode and have the implementation style below. Appears this code is never executed.. is there any particular reason we need this code? I'm…
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
1
vote
2 answers

configuring hyperjaxb to create hibernate mappings and a mysql database

I am using hyperjaxb to generate Java classes from an xsd file. How can I configure it to generate hibernate annotations, and to trigger hbm2ddl to create a MySQL database with tables for the generated classes? I downloaded the purchase order…
CodeMed
  • 9,527
  • 70
  • 212
  • 364
1
vote
1 answer

Hyperjaxb @Entity

How to avoid declaring fully qualified name of the derived class in @Entity annotation? I have the following xsd: