typesafe references to named queries and result set mappings #4483
Closed
gavinking
started this conversation in
Design Proposals
Replies: 3 comments
Note that for |
0 replies
|
Sounds like a nice addition, but I think there are a few things to consider.
Anyway, you'd probably have to analyze annotations in |
0 replies
|
This (and much more) has been implemented. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We should enhance the jpamodelgen to produce things that can be used as typesafe references to
@NamedQuerys and@ResultSetMappings.This could in principle be as simple as just a
for
@NamedQuery(name="customerByName", ....)but in principle we could parse the query and determine its result type, letting us generate something like:I would be happy to work on this if someone who knows how jpamodelgen works could point me in the right direction.
All reactions