Thank for help me!
I have been copy All File from folder Build/Classes (package/File.class, META-INF/Persistence.xml) to folder SFS2X/ on server.
But still have error Unable to configure EntityManagerFactory
I still not done
Search found 5 matches
- 30 Jan 2013, 02:18
- Forum: SFS2X Questions
- Topic: JPA + Hibernate + SmartfoxServer 2x + Unity 3D
- Replies: 7
- Views: 8502
- 29 Jan 2013, 02:36
- Forum: SFS2X Questions
- Topic: JPA + Hibernate + SmartfoxServer 2x + Unity 3D
- Replies: 7
- Views: 8502
Re: JPA + Hibernate + SmartfoxServer 2x + Unity 3D
Okay This is my sample I have a database create database if not exists sample; create table if not exists sample.student( id int primary key auto_increment, name varchar(255) not null, age int ); JPA Project Map file class package com.sample.student; import java.io.Serializable; import javax.persist...
- 28 Jan 2013, 10:26
- Forum: SFS2X Questions
- Topic: JPA + Hibernate + SmartfoxServer 2x + Unity 3D
- Replies: 7
- Views: 8502
Re: JPA + Hibernate + SmartfoxServer 2x + Unity 3D
Thanks
I have been using that sample but not done when call
in smartfox
Are Y build success?
I have been using that sample but not done when call
Code: Select all
static final EntityManagerFactory factory = Persistence.createEntityManagerFactory("examplePersistenceUnit");
in smartfox
Are Y build success?
- 28 Jan 2013, 09:26
- Forum: SFS2X Questions
- Topic: Guide: SFS2X + Hibernate + JPA
- Replies: 4
- Views: 23581
Re: Guide: SFS2X + Hibernate + JPA
Thank so much! But not done when build on smartfoxserver 2x when build have a issue Unable to configure EntityManagerFactory in call static final EntityManagerFactory factory = Persistence.createEntityManagerFactory("examplePersistenceUnit") if any body build + run successfull please post ...
- 28 Jan 2013, 09:13
- Forum: SFS2X Questions
- Topic: JPA + Hibernate + SmartfoxServer 2x + Unity 3D
- Replies: 7
- Views: 8502
JPA + Hibernate + SmartfoxServer 2x + Unity 3D
Hello all I am a newbie use smartfox I have a issue about JPA + Hibernate + SmartfoxServer 2x + Unity 3D I create new project use JPA +Hibernate and build + run succes on Java Enviroment but not done config + build on smartfox When build on smartfox have some error Unable to configure EntityManagerF...