facebook

hibernate problem

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #252034 Reply

    elmarouani
    Member

    hello,
    I have a problem in mapping database. I use Hibernate integrated in the MyEclipse IDE.

    the trace of my exception is:
    org.hibernate.HibernateException: database product name cannot be null
    at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
    at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
    at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:374)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:110)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
    at com.genuitec.hibernate.SessionManager.currentSession(SessionManager.java:69)
    at com.genuitec.hibernate.testHibernate.main(testHibernate.java:16)

    please, can someone help me for solving this problem!
    think you

    #252050 Reply

    Brian Fernandes
    Moderator

    Hi,

    Could you please answer all the questions asked here: Posting Guidelines
    Once you give us some background information, we can start assisting you immediately.

    Best,
    Brian.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: hibernate problem

You must be logged in to post in the forum log in