more functionality in StorageService and creation of TopicService
[mir.git] / source / mir / core / service / storage / TopicService.java
index caa4fe2..f03db6c 100755 (executable)
 package mir.core.service.storage;
 
 import mir.core.model.Topic;
-import net.sf.hibernate.Hibernate;
 import net.sf.hibernate.HibernateException;
 import net.sf.hibernate.SessionFactory;
 
 /**
  * TopicService
  * @author idefix
- * @version $Id: TopicService.java,v 1.2 2003/09/05 20:23:59 idfx Exp $
+ * @version $Id: TopicService.java,v 1.3 2003/09/30 19:27:10 idfx Exp $
  */
 public class TopicService extends StorageService {
 
@@ -55,10 +54,6 @@ public class TopicService extends StorageService {
         * @see mir.core.service.storage.StorageService#initializeLazyCollections(java.lang.Object)
         */
        protected void initializeLazyCollections(Object returnObject) throws HibernateException {
-               if(returnObject instanceof Topic){
-                       Topic topic = (Topic)returnObject;
-                       Hibernate.initialize(topic.getContent());
-               }
        }
 
 }