Ciao a tutti,
Stavo provando ad integrare hibernate e struts.
Ho configurato il mio hibernate.cfg.xml, ho generato il plugin e caricato nello struts-config.xml, ho generato l'xml del mio schema e una classe che genera il SessionFactory.
All'avvio del portale viene startato tutto correttamente:

- Tiles definition factory loaded for module ''.
- Hibernate 2.0 final
- hibernate.properties not found
- using CGLIB reflection optimizer
- JVM proxy support: true
- Mapping resource: com/file/bean/current.hbm.xml
- Mapping class: com.file.bean.loginActionBean -> utenti
- Configured SessionFactory: null
- building session factory
- Using dialect: net.sf.hibernate.dialect.MySQLDialect
- Hibernate connection pool size: 20
- using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/myapp
- connection properties: {user=xxx, password=xxx}
- Use outer join fetching: true
- Use scrollable result sets: true
- JDBC 2 max batch size: 15
- Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactor y
- echoing all SQL to stdout
- no JDNI name configured
- Query language substitutions: {}

accedo alla mia pagina e mi viene fuori questo errore

- Mapping file: webapps/StrutsBase/hibernate.cfg.xml
- building session factory
- No dialect set - using GenericDialect: The dialect was not set. Set the property hibernate.dialect.
- Using dialect: net.sf.hibernate.dialect.GenericDialect
- No connection properties specified - the user must supply JDBC connections
- Use outer join fetching: false
- Use scrollable result sets: false
- no JDNI name configured
- Query language substitutions: {}
- Unhandled Exception thrown: class net.sf.hibernate.QueryException
- Servlet.service() for servlet action threw exception

ho provato a cambiargli il path del hibernate.cfg.xml ma mi dice che il path non è corretto quindi suppongo che lo legge ma non capisco perchè non setta i parametri, in tutto questo stò usando ant dove gli setto

<target name="dialet">
<property name="hibernate.dialect" value="yourdialet"/>
<antcall target="hbm"/>
</target>


<target name="hbm" depends="compile">
<taskdef
name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocl etTask"
classpathref="libraries"
/>
<hibernatedoclet
destdir="${targetdir}"
verbose="true">
<fileset dir="${sourcedir}">
<include name="**/*.java"/>
</fileset>
<hibernate version="2.0"/>
<hibernatecfg
dialect="${hibernate.dialect}"
jdbcUrl="${hibernate.connection.url}"
driver="${hibernate.connection.driver_class}"
userName="${hibernate.connection.username}"
password="${hibernate.connection.password}"
showSql="true"
version="2.0"
/>
</hibernatedoclet>
</target>
oltre che ai soliti compile e clean.
Se servono altre info non esitate a scrivermi grazie a tutti.