Questions tagged [hyperjaxb]

HyperJaxb3 adds JPA annotations to jaxb classes.

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

101 questions
6
votes
1 answer

Ignoring some elements/classes in JAXB binding

I use Hyperjaxb to generate some classes with JPA annotations from XML schemas. I'd like to specify which elements from given schema xjc should generate. I can't change xsd file. I can modify only bindings.xjb. I tried to use hj:ignored, but without…
pawb4r
  • 160
  • 1
  • 11
5
votes
3 answers

Convert XML to database with Java

Need: take in XML and save data to database. Currently using: JAXB to convert the XML Schema to java classes. Then I intend to use JPA to persist the objects marshalled by JAXB. Problem: I want something to bridge the gap. After JAXB generates the…
Kevin
  • 4,070
  • 4
  • 45
  • 67
5
votes
1 answer

HyperJaxb3 and xsd:anyType

I have a schema fragment that looks like
Mark Bowman
  • 105
  • 5
5
votes
1 answer

Unsupported binding namespace ""

I have a schema for which JAXB is able to generate java classes perfectly every time. I am trying to get hyperjaxb to process the same schema. Towards that end, I downloaded and unzipped the hyperjaxb maven project from this link and then navigated…
CodeMed
  • 9,527
  • 70
  • 212
  • 364
4
votes
1 answer

Hyperjaxb: Exclude XML Element by XML property

I have a predefined XSD that looks as follows: ...
Erzen
  • 169
  • 10
4
votes
1 answer

Is HyperJaxb3 still maintained?

I think this question should be fairly simple. I'm looking forward to persisting JAXB generated classes from a schema into a database via JPA annotations. I came across Hyperjaxb3 but I noticed that most of the project's activity stopped in 2011. So…
Jesús Zazueta
  • 1,160
  • 1
  • 17
  • 32
3
votes
1 answer

JPA to JAXB issue

I have entities which are created from eclipseLink.I am trying to use the same objects to get generate an xml.I have a primarykey reference inside a class and I am not sure what annotation I need to use to get the desired xml. I have public class…
user874722
  • 149
  • 1
  • 3
  • 16
3
votes
0 answers

Hyperjaxb: XMLGregorianCalendar to java.util.Date for Lists of Dates

I implemented the solution of how replace XmlGregorianCalendar by Date? but unfortunately it does not function for Lists of dates. In my XSD I have and
Erzen
  • 169
  • 10
3
votes
1 answer

How to set existing Id as primary key in HyperJaxb3 Cxf project, (code generation from wsdl)?

I am trying to redifine primary key to existing IDs, but with Apache CXF plugin generation from wsdl file. wsdl file is here - https://api.mindbodyonline.com/0_5/ClientService.asmx?wsdl my pom.xml:
3
votes
3 answers

"http://annox.dev.java.net" customizations require the "-Xannotate" switch

I am trying to run a real schema through hyperjaxb. I have tested the schema repeatedly using jaxb, and jaxb imports the schema correctly every time. However, when I try to get hyperjaxb to generate hibernate-annotated java classes from the same…
CodeMed
  • 9,527
  • 70
  • 212
  • 364
2
votes
1 answer

Generate @Indexed annotation using Jaxb or HyperJaxb

I want to implement lucene based hibernate search in my assignment. For generating domain objects I am using HyperJaxb3. I want @Indexed annotation to be added during domain object creation using HyperJaxb. I tried googling for this, but unable to…
suhas khot
  • 85
  • 1
  • 12
2
votes
1 answer

force hyperjaxb2 to generate a fetch="select" propertie on hibernate mapping (on tag)

We have found a problem on our application (a select query that join too much tables). The solution of this problem is to set fetch="select" on the tag in our hibernate mapping file.
dwursteisen
  • 11,435
  • 2
  • 39
  • 36
2
votes
1 answer

hyperjaxb extra underscore(_) generated in @column for some single character columns

I am trying to generate a JPA annotated java class using hyperjaxb, but have hit one problem. Any suggestion welcome :- partial ..Pom.xml org.jvnet.jaxb2_commons
AshDDN
  • 35
  • 4
2
votes
1 answer

What's happening in HyperJaxb3 project?

I understand that the Hyperjaxb3 library will be quite useful for my project, read a couple of descriptions across multiple sites, and decided to embed it into my Spring-Hibernate project. I have found a reference to Hyperjaxb3 in…
fedd
  • 880
  • 12
  • 39
2
votes
1 answer

Setting hyperjaxb mapping to force implementation of external interface

I have an hyperjaxb xsd file and binding configuration. How can I force my generated classes to implement a custom interface declared in another artifact? I know I can make them extend another class by using
Alfredo A.
  • 1,697
  • 3
  • 30
  • 43
1
2 3 4 5 6 7