Search:

Type: Posts; User: sixtiesman; Keyword(s):

Search: Search took 0.05 seconds.

  1. Replies
    8
    Views
    1,220

    resolved :) ?...

    resolved :) ? (http://forum.springframework.org/showpost.php?p=135569&postcount=13)
  2. Replies
    12
    Views
    2,158

    hi dazen6 :) I'm not a J2EE expert but I never...

    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...
  3. ok, I'll follow your recommendations. I'll set...

    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 ;)
  4. I don't think we can do something with...

    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 ?
  5. Yes, you're right. I realize now that it is far...

    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...
  6. no, It doesn't seem very good. What's the best...

    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,...
  7. Ok... sorry for that :) I admit it's a bit...

    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...
  8. Execute SQL statements through HibernateTemplate

    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...
  9. Replies
    7
    Views
    1,159

    Yes it was. But now it works ! The code was...

    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...
  10. Replies
    7
    Views
    1,159

    you're right. I'm ashamed ... lol :rolleyes: ...

    you're right. I'm ashamed ... lol :rolleyes:

    but this is not enough. Still get the same error...
  11. Replies
    7
    Views
    1,159

    hi karldmoore :) as you can see, CountryAction...

    hi karldmoore :)

    as you can see, CountryAction contains well the interface type, that is to say the CountryService type

    :confused:

    CountryAction.txt
  12. Replies
    7
    Views
    1,159

    Problem with AOP transaction management

    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 :...
  13. Replies
    1
    Views
    669

    resolved ! this was not a problem with my...

    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...
  14. Replies
    1
    Views
    669

    appContext caching ?

    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...
  15. Replies
    1
    Views
    621

    When Spring meets Webwork...

    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...
  16. great :) thanks !

    great :)

    thanks !
  17. java.lang.NoClassDefFoundError: org/codehaus/groovy/control/CompilationFailedExceptio

    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...
  18. Replies
    12
    Views
    2,158

    karldmoore : EMIDKI (Excuse me, I didn't know it)...

    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...
  19. Replies
    12
    Views
    2,158

    thank you for your very good answers :) I'll...

    thank you for your very good answers :)

    I'll have a look at these tomorrow. Very interesting.

    karldmoore : what is IMHO ?
  20. Replies
    12
    Views
    2,158

    of course :) this is caused by this very...

    of course :)

    this is caused by this very simple JUnit class.





    package com.company.countryApp.junits;
    import org.hibernate.Session;
  21. Replies
    12
    Views
    2,158

    Spring IOC + hibernate

    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...
Results 1 to 21 of 21