-->
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.  [ 2 posts ] 
Author Message
 Post subject: HELP... Error : database product name cannot be null
PostPosted: Fri Nov 18, 2005 8:21 am 
Newbie

Joined: Thu Nov 10, 2005 8:26 am
Posts: 2
Location: India
Hi Hibernate GURUS,

I am getting the below Exception:
Please help me to solve this... I am also pasting the Hibernate.properties file with this.

Error:
-------
Exception in thread "main" java.lang.RuntimeException: org.hibernate.HibernateException: database product name cannot be null
at hiber.ConnectionFactory.<init>(ConnectionFactory.java:84)

Hibernate.properties
-----------------------
desc = JDBC-providerdesc
name = ORA
hibernate.dialect = org.hibernate.dialect.Oracle9Dialect
hibernate.connection.driver_class = oracle.jdbc.driver.OracleDriver
hibernate.connection.url = jdbc:oracle:thin:@115.24..45.67:1524:TST1
hibernate.connection.username = comm_fr
hibernate.connection.password = rand
hibernate.show_sql = true


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 18, 2005 9:53 am 
Regular
Regular

Joined: Mon Aug 29, 2005 9:46 am
Posts: 102
I've seen this error several times when the application wasn't finding the hibernate.properties file. Are you sure it is finding yours? Where is it located?

See ya.

_________________
Don't forget to rate if the post helped!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.