Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for JPA #2

Closed
augustoccesar opened this issue May 17, 2017 · 0 comments
Closed

Add support for JPA #2

augustoccesar opened this issue May 17, 2017 · 0 comments
Assignees
Milestone

Comments

@augustoccesar
Copy link
Owner

When the project is using JPA, it already has a @Column annotation on models, so, need to create a way to verify following the rules:

  • If model contains QueryBuilder @Column annotation, work as it is now.
  • If model contains JPA @Column, get the data from it and build as the previous.
  • If model don't contains @Column, get the fields and consider it column name as the attribute name in snake case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant