posted 7 years ago
Hi Team,
I need help regarding the XSD and generating POJOs from the given XSD. From a given XSD, using JAXB, we are able to generate POJOs. But, the generated POJO is not completely JPA compliant. i.e. I need to provide the value for the annotation @table by reading a column value from an excel sheet. Consider an excel sheet with some set of columns and one of the column is "DBSource" and the values for that column will be like "TABLE_NAME.columnname". I want to pass the value"TABLE_NAME" to the annotation @table and the "columnname" to the annotation @column.
I found about hyperjaxb which can be used to generate POJOs of JPA compliant from XSDs. Kindly let me know how to achieve this.
Thanks,
Keerthi Kumar N