deleted system.out.println
This commit is contained in:
@@ -78,7 +78,6 @@ public class GeoFroggerFXMain extends Application {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void stop() throws Exception {
|
public void stop() throws Exception {
|
||||||
System.out.println("stop");
|
|
||||||
ServiceManager.getInstance().getDatabaseService().getEntityManager().close();
|
ServiceManager.getInstance().getDatabaseService().getEntityManager().close();
|
||||||
super.stop();
|
super.stop();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ public class CacheServiceImpl implements CacheService {
|
|||||||
try {
|
try {
|
||||||
EntityManager em = dbService.getEntityManager();
|
EntityManager em = dbService.getEntityManager();
|
||||||
String query = "select c from Cache c order by c."+sortField.getFieldName()+" "+direction.toString();
|
String query = "select c from Cache c order by c."+sortField.getFieldName()+" "+direction.toString();
|
||||||
System.out.println("query: "+query);
|
|
||||||
List<Cache> result = em.createQuery(query).getResultList();
|
List<Cache> result = em.createQuery(query).getResultList();
|
||||||
if (result != null) {
|
if (result != null) {
|
||||||
caches = result;
|
caches = result;
|
||||||
|
|||||||
Reference in New Issue
Block a user