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 code generation support based on orm.xml mapping file. #584

Closed
shuraa opened this issue Dec 5, 2013 · 4 comments
Closed

Add code generation support based on orm.xml mapping file. #584

shuraa opened this issue Dec 5, 2013 · 4 comments
Milestone

Comments

@shuraa
Copy link

@shuraa shuraa commented Dec 5, 2013

Hi!

In my projects (EE) we strongly separates domain model and persistence model, so JPA annotations are not welcome. It could be very useful to have querydsl code generation support based on orm.xml mapping file, rather than on JPA annotations.

timowest added a commit that referenced this issue Dec 5, 2013
timowest added a commit that referenced this issue Dec 5, 2013
@timowest
Copy link
Member

@timowest timowest commented Dec 5, 2013

The JPADomainExporter does what you need.

@shuraa
Copy link
Author

@shuraa shuraa commented Dec 6, 2013

Timo, in JPADomainExporterTest you use hbm.xml mapping file, but the issue is about orm.xml (vendor-neutral xml mapping).
http://openjpa.apache.org/builds/2.2.1/apache-openjpa/docs/jpa_overview_meta_xml.html

@timowest
Copy link
Member

@timowest timowest commented Dec 6, 2013

@shuraa orm.xml is just one serialization format for the JPA configuration. Using a Hibernate configuration as the basis should work as well.

@timowest
Copy link
Member

@timowest timowest commented Dec 12, 2013

Released in 3.3.0.BETA2

@timowest timowest closed this Dec 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants