19 package org.turro.students.db;
21 import javax.persistence.EntityManager;
22 import javax.persistence.EntityManagerFactory;
23 import org.turro.jpa.Dao;
24 import org.turro.jpa.DaoFactory;
25 import org.turro.students.entities.Challenge;
26 import org.turro.students.entities.PracticalWork;
27 import org.turro.students.entities.Response;
28 import org.turro.students.entities.TalentCategory;
29 import org.turro.version.Version;
61 return "/challenge/" + ((
Challenge)
object).getId();
62 }
else if(
object instanceof
Response) {
63 return "/response/" + ((
Response)
object).getId();
76 public static org.turro.version.Module
getModule() {
77 return new org.turro.version.Module(
new Version(
"1.0.0"),
"Elephant Students");
EntityManagerFactory getEmf()
EntityManager createEntityManager(String pu, String conf)
synchronized EntityManager createCachedEntityManager(String pu, String conf)
String getPath(Object object)
static org.turro.version.Module getModule()
EntityManager createCachedEntityManager()
EntityManagerFactory getFactory()
static String getObjectPath(Object object)
static String getObjectExtendedPath(Object object)
EntityManager createEntityManager()