Questions tagged [hyperjaxb]

HyperJaxb3 adds JPA annotations to jaxb classes.

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

101 questions
0
votes
1 answer

patrodyne/hisrc-hyperjaxb maven plugin exclude precision and scale from @Column for Double fields

My situation is close to this question. I use patrodyne/hisrc-hyperjaxb maven plugin to generate entity classes with JPA annotions from xsd schema along with krasa-jaxb-tools plugin, which add validation annotaions. There are some elements with…
Alexey
  • 5
  • 2
0
votes
1 answer

Hyperjaxb3 naming strategy configuration

I'm trying to embed multiple instances of the same complextype into a single entity, which does not seem to work unless I define a new complextype for each instance. As far as I can make up until now, this is probably because of the default…
Frederik
  • 45
  • 5
0
votes
0 answers

hyperjaxb binding customization exclude package

I have an A.xsd that import a Common.xsd (name space eg. "http://common.pack"), then I would to exclude the contribution (jsut jpa annotations) of Common.xsd to pack.common package but I need other xsd that have same namespace can stil contriute to…
KronosOne
  • 67
  • 2
  • 8
0
votes
2 answers

Customize table name of hyperjaxb3 generated entity?

I'm having an xml schema where have simpleType(diagnosisCode) as shown below:
Shinas V
  • 48
  • 8
0
votes
1 answer

Customize element for abstract complexType with HyperJaxb3

I'm converting an XSD schema to a Java annotated bean for Hibernate with HyperJaxb3. So far I managed to generate the Java objects, but I need to customize the remark field of the OperableType because the default generated length is 255 and I need…
Nicolas
  • 186
  • 2
  • 10
0
votes
1 answer

Hyperjaxb 3 imported XSD and persistence.xml

This is my first attempt of using Hyperjaxb3. I have a snippet of my 2 XSD as shown below ContractFullInfo.xsd
abiieez
  • 3,139
  • 14
  • 57
  • 110
0
votes
0 answers

HyperJAXB3 - Parsing XSD including xs:any wildcards

I have a huge xsd schema (the open source railML 2.2 format) for which I am trying to create a JPA annotated object model. I want to use HyperJAXB3 for that. The XSD schema includes some elements. I have no chance to…
S-Man
  • 22,521
  • 7
  • 40
  • 63
0
votes
1 answer

How to annotate a generated property as Transient in HyperJaxb3

I just want to have a property of an Entity as Transient. The older documentation[1] of HyperJaxb seems unavailable and the one on Github[2]did not help me. I tried to use embeddable/embeddable attributes and generated-id constructs with no…
suat
  • 4,239
  • 3
  • 28
  • 51
0
votes
1 answer

How do I specify the persistence unit name to be used in the generated persistence.xml?

We make extensive use of Hyperjaxb3 (version 0.6.2) to create and customize our JPA entity classes. One minor annoyance is the fact that as we add to our schema, the generated persistence unit name sometimes changes. In particular, this happens when…
Rob
  • 6,247
  • 2
  • 25
  • 33
0
votes
1 answer

Why does Hyperjaxb3 generate RestItem classes?

I'm using maven-hyperjaxb3-plugin (0.6.1) to generate domain classes from my xsd file. Everything works very well except for one class, and even that works fine until I add more than 23 fields onto it. Once I exceed that number of fields it…
RogerParkinson
  • 499
  • 6
  • 18
0
votes
1 answer

Is it possible to use jaxb annotations to navigate objects after they are unmarshalled?

I have a fairly complex XML schema and I use hyperjaxb3 to generate pojo's with annotations for. There are times when I have the parent object and would like to check the value of a child object that may be 8 or 9 children deep. Is there anyway to…
maxl
  • 13
  • 5
0
votes
1 answer

SqlServer table/coumn name truncated to 30 characters with hyperjaxb3 and springboot

I am using SqlServer42 driver with a Springboot application which is saving hyperjaxb3 generated entities using jparepositories. I have overridden PhysicalNamingStrategyStandardImpl.toPhysicalTableName() to prefix the table names with some…
gaurs
  • 575
  • 1
  • 5
  • 19
0
votes
1 answer

COMPILATION ERROR : package org.jvnet.hyperjaxb3.item does not exist

I am using the following dependency in my project org.jvnet.hyperjaxb3 hyperjaxb3-ejb-runtime 0.6.0 runtime
Dejazmach
  • 742
  • 8
  • 15
0
votes
1 answer

JSF + Hyperjaxb3 + Hibernate LazyInitializationException accross requests

I have JSF application with trinidad components and JAXB/JPA entity beans generated by Hyperjaxb3. In the UI I use Trinidad combo box component that has JPA object as values. The scenario is: User make selection in combo box User clicks on a…
padis
  • 2,314
  • 4
  • 24
  • 30
0
votes
1 answer

Hibernate index using hyperjaxb3

I am trying to add an index to a simple attribute using hyperjaxb, using the following fragment in my .xjb file:
Buğra Gedik
  • 714
  • 8
  • 16