Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

SQL Result set mapping not working

Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello there. I can't seem to get my SqlResultSetMapping to work in openJPA...
I have a named native query...

I then have this @SqlResultSetMapping for the following Entity Bean...

For the life of me, I can't get the parentOrganizationID to map to anything...
For instance, if I change the column and or name of any of the fieldsets, I get THE EXACT SAME RESULT!!!
Which is the most frustrating thing... Which tells me that I somehow the SqlResultSetMapping does not seem to be
affecting anything. Can any one help...
Oh, here is how I call the query...

It would seem as though underscores are not being displayed on this forum. I will edit it so that I will have a "-" instead of an underscore...
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic