Here's my problem:
I have two .xsd files, let's call them a.xsd and b.xsd. What I want to achieve is to generate all the classes from a.xsd excluding the classes in b.xsd. Now the problem is, that a.xsd references a type in b.xsd (via a ), so even…
I'm trying to get hyperjaxb3 to generate specific tags like @Index, but I've been unable to find documentation or examples on how to achieve this.
Any pointers or suggestions would be highly appreciated.
Thanks
Frederik
I am trying to create JPA entity classes from xsd files. I convert xsd files to JAXB files using xjc command. But i can't convert JAXB to JPA entity classes. I can't use the hyperJAXB because most of the links are broken and i didn't find any…
We have a significant code base that utilizes Hyperjaxb3 to annotate Java classes that are generated using xjc (along with other xjc plugins, including one that is home-grown).
We are in the process of trying to upgrade from Hyperjaxb3 0.5.6 to…
When using attributes with @Embedded the columns are named after a specific pattern which does not line up to my specific target database, thus I want to customize the generated name of the table.
In my specific use-case I cant change the schema and…
I'm using the default cascade options Hyperjaxb assigns. However, there is an exceptional case where I need to override. Suppose I have a type defined as follows:
I have an issue in that I cannot figure out how to customise the column length of the content of a ComplexType using an entry in a bindings.xjc file.
The Complex Type is defined as:
…
I have the requirement to ignore the auto generated hjid in my JPA annotated java pojos. I can get this working using external binding, but when I try to do the same thing using JAXB Inline Customizations, it still create the hjid. What I am missing…
I am trying to use HyperJaxb3 for generating JPA compatible classes from XSD. Here my questions:
Is the framework compatible with java 1.8?
Where can I take a running sample of both maven and ant? It seems that original site has been deprecated and…
I am generating classes out of xsd schemas.
I can't figure out how to tell that an object identifier should be a UUID generated in program. My error is:
Hibernate: select nextval ('hibernate_sequence')
org.hibernate.id.IdentifierGenerationException:…
I have generated .java classes from the hyperjax3 which are already annotated with Annotations like @Entity and @Table etc.."
In @Entity the class name is automatically added as follows:
@Entity(name = "MyClassName")
But I want this name field to…
I have the following constellation:
B1.xsd and B2.xsd both import A.xsd. Using maven-hyperjaxb3-plugin I created Java classes with JPA annotations for both B1.xsd and B2.xsd. So the classes of A.xsd are created in the project of B1.xsd as well es in…
I'm using hyperjaxb3 and it's solving most of my issues successfully.
However, I've spent the whole morning with a problem that I'm not able to solve. Most probably, is one of those silly and stupid things that I'm completely overlooking, but I'm…
I am trying to use hyperjaxb3 to create a relational schema from the three .xsd (C14054.xsd, C14054CodeLists.xsd & C14054DataTypes.xsd) available here and then marshal data from XML <-> Java <-> Relational.
hyperjaxb3 has already done a better job…