Considering an example for a shop
I have an XSD for a shop, and a number of tables having data relating to inventory, records etc. I have a DB-file specifying where the data related to the XSD lies in the tables. I need to refer this file and XSD…
My question is very simple and straightforward. I need to add a @NamedQueries annotation to my generated entity classes. The JPA layer is being generated with Hyperjaxb. I do not know how to use the element to add this line
...
@NamedQueries(value…
I have a problem with Tapestry form.
My XML database is very sensible with encoding, and need utf-8.
When i put the char 'à' in my form, tapestry receive 'Ó' and my core get an error : Invalid byte 2 of 3-byte UTF-8 sequence.
I haven't the problem…
I am using hyperjaxb to generate JAXB-JPA annotated classes from a XSD file. I have Persona entity with many Encounters. This is the customization section
I have the following project structure:
service-parent
|__service-schemas
|__service-database
|__service-contract
|__service-implementation
I am using hyperjaxb3 because I ultimately need that the objects passed through the web service are the ones…
I have been using hyperjaxb tool to generate JPA entities and database scripts from XSD schemas. Now I want basically the inverse operation. How can I generate XSD schemas based on JPA anotated entities or database? I am using Maven, so any maven…
I am using Hyperjaxb to generate my JPA mappings. Then I use hibernate3-maven-plugin to generate the SQL Script of the database. My problem lies in the fact that I have a type that has a property defined like this:
I'm trying to generate a set of Java classes from *.xsd files that all have a common mapped-super-class (called DataObject). So far I've managed to get it to generate classes that are descendants of DataObject using the following in the bindings.xjb…
I have a problem with Jaxb enumerations that is related to this bug
https://jaxb.dev.java.net/issues/show_bug.cgi?id=708
A patch has been supplied to the issue that can resolve the problem.
How can I apply this patch to resolve my problem
I'm trying to avoid join classes creation. I tested some binding configuration but can't seem to get it done.
In PO Sample from git sources on tag 0.6.0 ejb/tests/po-customized, I tried some configuration.
First, I added join-column as one-to-many…
I'm trying to add an extra column, using binding file to a model obtained from a xsd (a big one). The added field need to be persisted, but not serialized.
I tried with hj:generated-property but it does nothing with it.
To give a sample of what I…
I have to define a bi-directional many-to-one relationship in xml schema , which hyperjaxb3 is using to generate the entity classes.
when I tried to reference both the entities within each entity declaration , class conversion throws an exception.
I…
How do I set a collection to be @LazyCollection(LazyCollectionOption.FALSE) in hyperjaxb?
Here is the example: I have an xml node ab which can contain either a list of subnodes of type cd or a list of subnodes of type ef. Both cd and ef only…
This is not a duplicate as the tag above purports. This question has not yet been answered.
I am trying to set up this tutorial to get hyperjaxb to work in an eclipse project. How can I get it to see a persistence provider? hbm2ddl has NOT…