Page 1 of 1

Guide: SFS2X + Hibernate + JPA

Posted: 14 Feb 2011, 08:29
by Lapo
Thanks to KlingOne for his Hibernate + JPA tutorial:
http://klingonenblog.wordpress.com/2011 ... rnate-jpa/

Re: Guide: SFS2X + Hibernate + JPA

Posted: 28 Jan 2013, 09:26
by bachhoan88
Thank so much!
But not done when build on smartfoxserver 2x
when build have a issue

Unable to configure EntityManagerFactory in call

Code: Select all

static final EntityManagerFactory factory = Persistence.createEntityManagerFactory("examplePersistenceUnit")


if any body build + run successfull please post step by step
Thanks

Re: Guide: SFS2X + Hibernate + JPA

Posted: 14 Oct 2013, 23:22
by ferakiii
I'm also having an issue, see this post:
viewtopic.php?f=18&t=13673

Seems one of the python classes has some bad "magic number" whatever that means, and crashes the Hibernate EntityManager.

If anyone has a running configuration, would be great to know.

Re: Guide: SFS2X + Hibernate + JPA

Posted: 21 Mar 2014, 07:40
by hoangdoanh
Thanks for guides

I intent to integrate SmartFoxServer and Hibernate in near future.

Kind regards,
Doanh

Re: Guide: SFS2X + Hibernate + JPA

Posted: 04 Apr 2023, 15:47
by YoungDeveloper
Ive tried the guide multiple times and still no success, maybe anyone have a ready minimal sample ?