Thanks @Francesco Syncope is really amazing IDM and I don't know if I can go that far to provide such a division! :-) however i will try my chance then i'll let you know if i succeed.
Best Regards On Tue, Dec 11, 2012 at 1:18 PM, Francesco Chicchiriccò <[email protected] > wrote: > On 10/12/2012 19:34, morteza adi wrote: > > Thank you for reply > > i'm a little far beyond creating new project! I read all documentations > before. > I wanted to use Syncope as IDM to existing application under one spring > configuration, one security context, one Activiti bpm engine and one > database. > I did all configurations and everything is OK! > > > Oh sorry, I didn't understand you were already that far :-) > > > but i'm not fan of OpenJPA with all those weird enhancer things! so i > tried hibernate > it seemed there is *MultipleBagFetchException **and i have to tweak > syncope source code to fix it out!* > *finally i moved to EclipseLink and Application is running well.* > *i want to know if there is possibility to use hibernate without > manipulating Syncope source code? or if there is any plan to make* > *syncope more hibernate friendly?* > > > Currently, there is no plan at all to move away from OpenJPA or to provide > support for any other JPA implementation: your request is absolutely the > first one in this direction. > > I personally think that there are many other aspects to improve, fix or > extend [3] before spending time on the persistence layer: consider that > with OpenJPA we are able to support Tomcat, TomEE, Glassifsh, Weblogic and > even JBoss AS [3] so we are not losing anything in flexibility as well. > > Anyway, if you are volunteering for providing (and maintaining!) such > 'diversion', your contribution is more than welcome! > > Regards. > > > On Mon, Dec 10, 2012 at 3:55 PM, Francesco Chicchiriccò < > [email protected]> wrote: > >> On 10/12/2012 10:37, morteza adi wrote: >> >>> Hi, >>> Does anyone know how can i change JPA implementation from OpenJPA to >>> Hibernate? >>> >> >> Hi Morteza, >> Hibernate was the default JPA implementation up to 0.7 (in the pre-ASF >> age). >> Since 1.0.0, instead, OpenJPA is the default (while Hibernate can still >> work); next major releases (>= 1.1.0) will drop even such support. >> >> First (obvious) question is: are you sure you want to run Hibernate? This >> is far from easy and quite undocumented. >> >> Anyway, I'd suggest to start with a plain OpenJPA overlay [1] and once >> you've got this up an running, we can start discussing about migrating your >> configuration to Hibernate: we could use this for building a specific wiki >> page. >> >> Regards. >> >> [1] >> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project >> > [2] https://cwiki.apache.org/confluence/display/SYNCOPE/Roadmap > [3] > https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments > > -- > Francesco Chicchiriccò > > ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC > Memberhttp://people.apache.org/~ilgrosso/ > >
