Guide: SFS2X + Hibernate + JPA

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Bax, Lapo, rjgtav

Guide: SFS2X + Hibernate + JPA

Postby Lapo » 14 Feb 2011, 08:29

Thanks to KlingOne for his Hibernate + JPA tutorial:
http://klingonenblog.wordpress.com/2011 ... rnate-jpa/
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Lapo
Site Admin
 
Posts: 15799
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Guide: SFS2X + Hibernate + JPA

Postby bachhoan88 » 28 Jan 2013, 09:26

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
bachhoan88
 
Posts: 5
Joined: 28 Jan 2013, 08:31

Re: Guide: SFS2X + Hibernate + JPA

Postby ferakiii » 14 Oct 2013, 23:22

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.
ferakiii
 
Posts: 20
Joined: 06 Oct 2013, 23:47

Re: Guide: SFS2X + Hibernate + JPA

Postby hoangdoanh » 21 Mar 2014, 07:40

Thanks for guides

I intent to integrate SmartFoxServer and Hibernate in near future.

Kind regards,
Doanh
hoangdoanh
 
Posts: 189
Joined: 21 Jun 2013, 04:54
Location: Vietnam


Return to SFS2X Questions

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest