It's just as the error message says: No service implements the
EntityManager interface. You'll have to implement your own service for
now if you want to use that instead of a Session.
-Filip
lu dongping skrev:
hi all,
I'm a newbie here.
Now I can access db with the injected hibernate session .
But when I try to Inject an EJB3 EntityManager, following error occurs:
" No service implements the interface javax.persistence.EntityManager "
I guess a persistence.xml is needed at least possibly , anybody
met such problem ?
Thanks!
outersky
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]