Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Object Relational Mapping and the fly likes TomEE and MySql - query don't returns any results Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "TomEE and MySql - query don Watch "TomEE and MySql - query don New topic
Author

TomEE and MySql - query don't returns any results

John Hamilton
Greenhorn

Joined: Sep 13, 2013
Posts: 1
Hi,

I am using TomeEE + MySql and i have problem because function createNamedQuery don't returns any results. I thought that problem is with my
entityManager but i checked in debugMode and is injected.

This is my code:

User Entity:




My ManagedBean:




 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TomEE and MySql - query don't returns any results