resolved :) ? (http://forum.springframework.org/showpost.php?p=135569&postcount=13)
Type: Posts; User: sixtiesman; Keyword(s):
resolved :) ? (http://forum.springframework.org/showpost.php?p=135569&postcount=13)
hi dazen6 :)
I'm not a J2EE expert but I never managed to implement the "plain hibernate3 api" in my DAO's. I've not been helped (I'm a student and I did it during a traning period) and I gave up...
ok, I'll follow your recommendations.
I'll set the "id_company" on the business object in the DAO, just before persisting it with HibernateTemplate ;)
thanks byebye ;)
I don't think we can do something with interceptors or things like that.
HttpSession is about the presentation and Hibernate is about persistence.
Are you using Webwork idd0060 ?
Yes, you're right. I realize now that it is far more complicated like that … (but read the rest of my post)
First of all, I must say I discovered hibernate a few weeks ago... And as a student, I...
no, It doesn't seem very good. What's the best way to query with named parameters ?
I know that we can query HibernateTemplate with findByNamedParam(String queryString, String[] paramNames,...
Ok... sorry for that :)
I admit it's a bit confusing: this.sessionFactory is in fact the hibernateTemplate object...
I didn't find how to name params (for INSERT statements) but I found...
Hi guys :)
I'd like to execute SQL statement through hibernatetemplate because some of my business objects are not aware of all their fields for confidentiality purposes....
But neither the...
Yes it was.
But now it works !
The code was correct but the problem only disappeared when I removed the unused import (import com.company.webapp.service.impl.CountryService.impl )
Strange...
you're right. I'm ashamed ... lol :rolleyes:
but this is not enough. Still get the same error...
hi karldmoore :)
as you can see, CountryAction contains well the interface type, that is to say the CountryService type
:confused:
CountryAction.txt
Hi guys
I’m a bit dumb but I’ve got a problem with transaction management I can’t resolve for a while.
I use Hibernate, Spring and Webwork and everytime I start the server, I get this message :...
resolved !
this was not a problem with my environment. This was in fact the Spring objectFactory (in webwork) which was configured for doing caching.
(webwork.objectfactory.spring.useClassCache...
hi guys :)
I'm experiencing some problems with my work environment. It indeed seems that it does caching with the applicationContext.xml file because some errors sometimes refer to old versions of...
Hi guys :)
I try to integrate Spring IOC with the Webwork framework (yes, I know, this is not good, shame on me).
… but it seems the integration fails because I often get a NullPointerException...
great :)
thanks !
hi everyone :)
as you can see, I get this message when deploying my WebApp (which uses Spring IOC) to tomcat :
10 avr. 2007 12:00:47 DEBUG...
karldmoore : EMIDKI (Excuse me, I didn't know it) ;)
Rick Evans : hi Rick, I didn't know it but as you can see in my hibernate.cfg.xml file, I've defined a "current_session_context_class" but the...
thank you for your very good answers :)
I'll have a look at these tomorrow. Very interesting.
karldmoore : what is IMHO ?
of course :)
this is caused by this very simple JUnit class.
package com.company.countryApp.junits;
import org.hibernate.Session;
Hi everyone :)
I’m a experimenting some problems with the Spring configuration and it would be great if you could help me…
I’ve been told that in Java applications, it’s a great to use the...