Hi Ben,

please take [1] and [2] as reference to have a working reference example.

Please notice the use of @Transactional annotations on UserLogic class.

HTH,
Andrea

Il 29/10/18 14:45, Ben.H ha scritto:
I did create the endpoint, and it all wires up correctly.  It even works when
I use the methods from the base DAO class (e.g. using the find method with
the id as opposed to the findByUsername method).  I have been able to work
around this problem using the Id.  I didn't think it was available to me at
that point, but we were able to work.
However, I still am curious why the base class could find the entitymanager
and the UserDao could not...

--
Sent from: http://syncope-user.1051894.n5.nabble.com/

[1] https://github.com/apache/syncope/blob/syncope-2.0.10/core/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/UserServiceImpl.java [2] https://github.com/apache/syncope/blob/syncope-2.0.10/core/logic/src/main/java/org/apache/syncope/core/logic/UserLogic.java

--
Dott. Andrea Patricelli
Tel. +39 3204524292

Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member

Reply via email to