changed attributes to enum and did some performance optimazations with database access

This commit is contained in:
2014-08-29 00:39:27 +02:00
parent 714d10e379
commit 15e9ecb854
8 changed files with 370 additions and 92 deletions

View File

@@ -42,10 +42,8 @@ public class Cache {
private String placedBy;
@OneToOne(orphanRemoval = true)
private User owner;
@OneToOne(orphanRemoval = true)
private Type type;
private String container;
@OneToMany(orphanRemoval = true)
private List<Attribute> attributes;
private String difficulty;
private String terrain;