-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: buildsessionfactory fehler
PostPosted: Thu Jun 09, 2005 10:32 am 
Newbie

Joined: Fri May 27, 2005 2:40 pm
Posts: 15
Leider funktioniert bei mir das cfg.configure().buildSessionFactory nicht. Das Programm stürzt ab, ich bekomme keine Fehlermeldung. Hier das Programm:

public Session session = null;
public Transaction tx=null;
public Criteria crit=null;
public SessionFactory sessionFactory=null;
public Configuration cfg=null;


cfg=new Configuration();
cfg.setProperty("hibernate.hbm2ddl.auto", "");
sessionFactory=cfg.configure().buildSessionFactory();
session=sessionFactory.openSession();

Vielen Dank für Hilfe!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 09, 2005 10:50 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Mal ehrlich: Du hoffst dass jemand mit dieser Fehlerbeschreibung ("Mein Auto geht nicht.") den Fehler findet?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 09, 2005 11:03 am 
Newbie

Joined: Fri May 27, 2005 2:40 pm
Posts: 15
wie gesagt, ich bekomme leider keine fehlermeldung


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 09, 2005 11:37 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
http://www.hibernate.org/ForumMailingli ... AskForHelp


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.