[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2074) Postgres Dialect Bug--PostgressMetaDialect.java
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Oct 9 08:09:15 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2074?page=all ]
Pete Muir updated JBSEAM-2074:
------------------------------
Assignee: Dan Allen (was: Pete Muir)
Ok, assigning to Dan for now. Dan, if you aren't able to fix in time for the GA then I will will back out the changes.
> Postgres Dialect Bug--PostgressMetaDialect.java
> -----------------------------------------------
>
> Key: JBSEAM-2074
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2074
> Project: JBoss Seam
> Issue Type: Bug
> Components: Tools
> Affects Versions: 2.0.0.CR2
> Environment: Seam 2.0.0-CR2, Jboss 4.2.1, Postgres 8.1, postgresql.jar JDBC 3
> Reporter: nathan dennis
> Assigned To: Dan Allen
> Fix For: 2.0.0.GA
>
>
> Error Generating Entities with Seam-gen. dealing with the need for a PostgressMetaDialect.java that appeared in CVS after CR2
> [hibernate] An exception occurred while running exporter #2:hbm2java (Generates a set of .java files
> )
> [hibernate] To get the full stack trace run ant with -verbose
> [hibernate] org.hibernate.cfg.JDBCBinderException: Could not load MetaDataDialect: org.hibernate.cfg
> .reveng.dialect.PostgressMetaDataDialect
> [hibernate] java.lang.ClassNotFoundException: org.hibernate.cfg.reveng.dialect.PostgressMetaDataDial
> ect
> [hibernate] A class were not found in the classpath of the Ant task.
> [hibernate] Ensure that the classpath contains the classes needed for Hibernate and your code are in
> the classpath.
> BUILD FAILED
> /usr/local/seamcvs/seam100507/jboss-seam/seam-gen/build.xml:986: org.hibernate.cfg.JDBCBinderExcepti
> on: Could not load MetaDataDialect: org.hibernate.cfg.reveng.dialect.PostgressMetaDataDialect
> PostgressMetaDataDialect.class appears in
> ../seam/examples/wiki/lib/hibernate-tools.jar
> 678 Thu Nov 09 12:47:22 PST 2006 org/hibernate/cfg/reveng/dialect/PostgressMetaDataDialect.class
> but overwriting :seam-gen/lib/hibernate-tools.jar with examples/wiki/lib/hibernate-tools.jar:
> gives error,,
> stack trace
> java.lang.NullPointerException
> at org.hibernate.cfg.reveng.dialect.PostgressMetaDataDialect.needQuote(PostgressMetaDataDial
> ect.java:7)
> at org.hibernate.cfg.reveng.dialect.AbstractMetaDataDialect.caseForSearch(AbstractMetaDataDi
> alect.java:151)
> at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:2
> 2)
> at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:453)
> at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list