| Unmapped Columns in ResultSet [message #1320177] |
Mon, 28 April 2014 12:37  |
Eclipse User |
|
|
|
Although I've been using Eclipselink JPA for over a year now, I'm still little more than a neophyte.
Last year I replaced our 14 year-old, home-grown ORM layer with JPA. We had a legacy feature that I'd like to replicate in the JPA Entity but not clear on how to go about it.
Is is somewhat akin to "flex fields" and in other regards, not so much.
Essentially, my native query includes columns for which there are no Entity fields/mappings. What I'd like to do is have these automatically inserted into a key/value map on the Entity when the Entity is constructed from the ResultSet.
Any ideas on how best to go about it?
Thanks.
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03923 seconds