-->
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.  [ 3 posts ] 
Author Message
 Post subject: Can't find PostgreSQL dialect
PostPosted: Sun Sep 12, 2004 1:23 pm 
Newbie

Joined: Mon Sep 06, 2004 10:38 pm
Posts: 8
Hibernate version: 2.1.6

Mapping documents: Xdoclet

Code between sessionFactory.openSession() and session.close(): NA

Full stack trace of any exception that occurs:
BUILD FAILED
net.sf.hibernate.HibernateException: Dialect class not found: net.sf.hibernate.dialect.PostgreSQLDialect
at net.sf.hibernate.dialect.Dialect.getDialect(Dialect.java:380)
at net.sf.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:57)
at org.apache.maven.hibernate.beans.SchemaExportBean.getSchemaExport(SchemaExportBean.java:337)
at org.apache.maven.hibernate.beans.SchemaExportBean.execute(SchemaExportBean.java:247)
at org.apache.maven.hibernate.jelly.SchemaExportTag.execute(SchemaExportTag.java:45)
at org.apache.maven.hibernate.jelly.SchemaExportTag.doTag(SchemaExportTa


Name and version of the database you are using: PostgreSQL 7.4.2

The generated SQL (show_sql=true): NA

Debug level Hibernate log excerpt: NA



Hello all. I am using Maven 1.0, with XDoclet 1.2. The xdoclet:hibernatedoclet goal works fine. However, the hibernate:schema-export does not. It exits with the above exception.

I can look in the hibernate jar and see the dialect class file there. Would someone point me in the right direction? Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 13, 2004 12:54 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
There is a type or some extra whitespaces in your config file

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 13, 2004 9:40 pm 
Newbie

Joined: Mon Sep 06, 2004 10:38 pm
Posts: 8
Wow. First of all, thanks for the response. There was, indeed, a space after the 't'.

I guess I'm left a little stunned that such a simple thing can break how many thousands of hours of programming? What year is this again?


Hmmm.....


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