Hello Marco
I had a problem like that too, overloaded the class to, but didn't like the
result of it. At then I came up with the following:
* For each project have a hibernate.cfg.xml file that holds reference to
your hibernate classes.
* in your Sring config file have the following:
bean
thanx johann!
i'll try it out!
regards
marco
On 7/13/07, Johann Reyes [EMAIL PROTECTED] wrote:
Hello Marco
I had a problem like that too, overloaded the class to, but didn't like
the
result of it. At then I came up with the following:
* For each project have a hibernate.cfg.xml file that
Hi Trevor,
thanks... that would work
unfortunately my app is splitted in two jars, one for backend and another
for
webapp.
everythign works fine at the junit level for the backend, but once code runs
in app server , where the webapp jar is calling the backend jar for
interactign with db.. code
I think this may be a problem with Surefire and the way spring uses
classloaders :
http://jira.codehaus.org/browse/SUREFIRE-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
If you find a solution please post
Thanks
Marco Mistroni wrote:
hi all,
i know i should
Hello Jon
actually it has nothing to do with maven, as i discovered later.. since
scope=compile will be visible in the test
it has to do with Spring classloading actually.. i'll post a solution here
as soon as i finish to try some code i found on
the web
with kindest regards
marco
On 7/5/07,
The problem is with the ability of the JVM to enumerate resources in
the root of the classpath when these resources are in jars. The
mappingJarLocations property would be used to search through jars that
are *not* normally on the classpath, so you shouldn't be using that
for WEB-INF/lib jars; in
hi all,
i know i should post this to maven list but it is about spring and i am
sure someone here is using maven for building its environment
I have an app composed of 3 project:
- domain OBjects , contains domain objects used by web and backend project
- backend project contains hibernate code