Boolean success = false;
Session session = Database.getInstance().getSessionFactory().openSession();
// load initial event-types
EventType eventType1 = new EventType();
eventType1.setColor("#C0C0C0"); // Silver
eventType1.setDescription("Conference");
EventType eventType2 = new EventType();
eventType2.setColor("#90EE90"); // LightGreen
eventType2.setDescription("Meeting");
EventType eventType3 = new EventType();
eventType3.setColor("#87CEEB"); // SkyBlue
eventType3.setDescription("Lecture");
EventType eventType4 = new EventType();
eventType4.setColor("#FA8072"); // Salmon
eventType4.setDescription("Call");
EventType eventType5 = new EventType();
eventType5.setColor("#DDA0DD"); // Plum
eventType5.setDescription("Birthday");
EventType eventType6 = new EventType();
eventType6.setColor("#FFA07A"); // LightSalmon
eventType6.setDescription("Party");
EventType eventType7 = new EventType();
eventType7.setColor("#FFFF00"); // Yellow
eventType7.setDescription("Other");
// load initial roles
Role role1 = new Role();
role1.setDescription("User");