Skip to content

Conversation

@boriswaguia
Copy link

@boriswaguia boriswaguia commented Oct 11, 2017

Hi,

Context
Xcelite is a great java library. As Java developers, we are frequently working with JPA entities.
Then come the need to export jpa data to an excel file.

So instead of having to create more POJO, or having to decorate my JPA entities with more Annotations, I thought we might be better off adding support for jpa annotations to the library.

Features added
This PR currently has the following implementations :

  • Jpa properties annotated with javax.annotation.Column are going to be exported.

  • Jpa properties annoted with @manytoone are going to be exported. Note : If a property is annotated with @joincolumn and the name of the join is provided, that name will be used as the name of the column in the excel file.

Although there are lot of things to be improved, let me have your feelings about this.

Thanks for reading
Boris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant