It took me a while to get some time to test out the new snapshot,
but I finally had some time :)


I am using annotations for my classes and I don't have a hibernate.cfg.xml (I don't have a persistence.xml file either - I am doing everything in a Spring configuration).
This used to work, but now I get this error:


[INFO] [hibernate3:hbm2ddl {execution: default}]
[INFO] src/main/resources/hibernate.cfg.xml not found within the project. Trying absolute path.
[INFO] No hibernate configuration file loaded.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] No hibernate.cfg.xml configuration provided. Annotated classes/packages is only configurable via hibernate.cfg.xml


Here's my config:

<configurationTaskProperties>
<propertyfile>/src/main/hibernate3/hbm2ddl.properties</propertyfile>
<namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy>
</configurationTaskProperties>


Should I make a
 /src/main/hibernate3/hibernate.cfg.xml
especially for the plugin (like I did with the hbm2ddl.properies)?

Thanks for your continued work and help on this list, Johann.

--
With kind regards,
Geoffrey De Smet


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to