[jboss-user] [JBoss Tools (users)] - Hibernate SchemaExport

fabricio.lemos do-not-reply at jboss.com
Mon May 19 16:40:19 EDT 2008


Hello,

I need help to generate my db tables from my hbm files.

I right click on my Hibernate Configuration and then choose "Run SchemaExport" but i got the message 

"1 error(s) while performing SchemaExport, see Error Log for details / Reason: <no message>".

My hibernate.cfg.xml is


  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  |                                          "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  | <hibernate-configuration>
  | 	<session-factory>
  | 		<property name="connection.driver_class">
  | 			org.postgresql.Driver
  | 		</property>
  | 		<property name="connection.url">
  | 			jdbc:postgresql://localhost/teste
  | 		</property>
  | 		<property name="connection.username">postgres</property>
  | 		<property name="connection.password">postgres</property>
  | 		<property name="dialect">
  | 			org.hibernate.dialect.PostgreSQLDialect
  | 		</property>
  | 		<property name="show_sql">true</property>
  | 		<property name="hbm2ddl.auto">create</property>
  | 		<mapping resource="person.hbm.xml" />
  | 	</session-factory>
  | </hibernate-configuration>

I am using Jboss Tools 2.0.1GA

thanks in advance,
Fabricio Lemos

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151855#4151855

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151855



More information about the jboss-user mailing list