permaculture playing cards*
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:




 
 
subject: TomEE and MySql - query don't returns any results
 
Similar Threads
Sequence increment does not match its pre-allocation size.
EntityManager is null!! what can be the problem?
No bean named 'user' is defined
jsf navigation and database connection
problem persisting an object with collections and manytomany relationship