Hi Daniel,

You have to add the following entries to the classpath of the configuration:
$M2_REPO/mysql/mysql-connector-java/5.0.5/mysql-connector-java-5.0.5.jar
$M2_REPO/org/acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3.jar
$M2_REPO/org/apache/commons/commons-lang/2.3/commons-lang-2.3.jar
$YOUR_PROJECT/target/classes

Addtionally, you need to define a hibernate configuration file, to make the 
Hibernate Tools aware of the data-source. Just copy your hibernate.cfg.xml and 
add teh following lines:

<property 
name="hibernate.connection.driver_class">org.gjt.mm.mysql.Driver</property>
<property 
name="hibernate.connection.url">jdbc:mysql://localhost/yourproject</property>
<property name="hibernate.connection.username">root</property>
<property 
name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>

(You probably have to modify the settings for your database and maybe add a 
password line).

HTH and kind regards,
Tobias

-----Ursprüngliche Nachricht-----
Von: Daniel.Rodriguez [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 27. Juni 2007 02:36
An: users@appfuse.dev.java.net
Betreff: [appfuse-user] Using Hibernate Tools w/ appfuse


I recently changed my Eclipse version to the fantastic EasyEclipse Server Java 
Edition.... it comes prepackaged with many plugins, specifically the Hibernate 
Tools plugins, which I believe that would be ideal (i.e.: Test those HQL for 
those that still don't speak fluid HQL).

I tried to configure the plugin but it isn't working.  Has anyoner used the 
Hibernate Tools with Appfuse or with a Maven based project ?

Thanks
--
View this message in context: 
http://www.nabble.com/Using-Hibernate-Tools-w--appfuse-tf3985589s2369.html#a11316390
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to