1 package mircoders.storage;
8 import freemarker.template.*;
15 * <b>Diese Klasse implementiert die Datenbankverbindung zur MetaObjekt-Tabelle
20 public class DatabaseBreaking extends Database implements StorageObject{
22 private static DatabaseBreaking instance;
24 public static DatabaseBreaking getInstance() throws StorageObjectException {
25 if (instance == null) {
26 instance = new DatabaseBreaking();
27 instance.myselfDatabase = instance;
32 private DatabaseBreaking() throws StorageObjectException
35 theLog.printDebugInfo("-- outside database");
36 this.cache = new HashMap();
37 this.theTable="breaking";
39 this.theEntityClass = Class.forName("mir.entity.EntityBreaking");
41 catch (Exception e) { throw new StorageObjectException(e.toString()); }
43 theLog.printDebugInfo("-- leaving dbb");