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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Dec 5, 2013

Member

The JPADomainExporter does what you need.

Member

timowest commented Dec 5, 2013

The JPADomainExporter does what you need.

@shuraa

This comment has been minimized.

Show comment
Hide comment
@shuraa

shuraa 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

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

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Dec 6, 2013

Member

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

Member

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

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Dec 12, 2013

Member

Released in 3.3.0.BETA2

Member

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