Search:

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

Search: Search took 0.02 seconds.

  1. using OpenSessionInViewFilter and two databases

    Hi ,

    I ran into a little trouble when trying to use OpenSessionInViewFilter on top of a requst / response cycle that is responsible for reading data from one database and writing it to another...
  2. Replies
    4
    Views
    1,010

    understood , thanks a lot Costin

    understood , thanks a lot Costin
  3. Replies
    4
    Views
    1,010

    I am extending the HibernateDaoSupport and this...

    I am extending the HibernateDaoSupport and this is managing the sessions for me . At this point thigs are getting a bit confusing , how would I manually manage the session , should I give up the...
  4. Replies
    4
    Views
    1,010

    Lazy Loading in a thread

    I have a spring / hibernate web aplication , and so far I've been successfully using OpenSessionInViewFilter , to keep the session open throughout the request / response process .

    The problem is...
  5. Replies
    5
    Views
    1,055

    Kees , so you can't use IoC with Struts ?

    Kees , so you can't use IoC with Struts ?
  6. Replies
    5
    Views
    1,055

    use spring to inject your daos / service beans...

    use spring to inject your daos / service beans into your view pages as needed .

    if you are using struts i am very unfamiliar with that , but i do know spring gets along well with that
  7. OpenSessionInView filter stepping on the toes of other transactions

    Hello ,

    Today I managed to get the OpenSessionInViewFilter working , to allow me to use lazy initialization of my hibernate objects from my tapestry pages .

    Later in the day I found out that...
  8. Replies
    9
    Views
    1,247

    Cool ... allthough i'm all about hbm.xml's...

    Cool ...

    allthough i'm all about hbm.xml's now , I think that's definently the way to go for my next proj .
  9. Replies
    9
    Views
    1,247

    oh wait come to think of it , i did see Hibernate...

    oh wait come to think of it , i did see Hibernate Annotations on the hibernate page , maybe they've just provided their own annotations for this , makes sense ...

    question still stands as i'm...
  10. Replies
    9
    Views
    59,881

    thanks guys , open filter worked just great , it...

    thanks guys , open filter worked just great , it looks like i kept getting an error due to some bad code in my presentation layer ( this was a test app and i was beeing a bit lazy ) :
    ...
  11. Replies
    9
    Views
    1,247

    how do you use anotations for this , have you...

    how do you use anotations for this , have you written your own code to generate the hbm.xml file ?
  12. Replies
    9
    Views
    1,247

    I've allwais used hbm.xml and generated the .java...

    I've allwais used hbm.xml and generated the .java files .

    I can see benefits of generating the hbm.xml files thogh ...

    Allthough it is probably bad practice , one can run , if there's ever...
  13. yea there are some ways arround this using my...

    yea there are some ways arround this using my current scenario , but i was asking , thinking about other things i might want to do in the future

    are you saying postgresql is the wrong database to...
  14. Replies
    9
    Views
    59,881

    where do you have that code . I'm affraid i'm...

    where do you have that code . I'm affraid i'm using Tapestry which uses ognl , which is something similar to the JSP EL language . most of my time i get objects like this and theese would cause...
  15. i'm using postgres 7.4 which version supports...

    i'm using postgres 7.4 which version supports this ?

    and what you are saying is that , there is no way arround not using JTA for this ?
  16. Replies
    9
    Views
    59,881

    using OpenSessionInViewFilter

    I am trying to use the OpenSessionInViewFilter , but I am not entirely confortable with the examples i've found online and I have not managed to get it to work yet .

    I am using Tapestry for the...
  17. working with multiple sessions / db connections in a single transaction

    I was wondering what the Spring way is for dooing this .

    I am dooing an import / data translation tool with spring , and I have to get data from one database , run some logic on it , and save it...
  18. Poll: thanks for your reply . I'd be willing to spend...

    thanks for your reply .
    I'd be willing to spend a few thousands per deployment in this case , so free licenses are not first on my list .

    I've posted this after some majour googling which was...
  19. Poll: What servlet container do you recomend for production ?

    Sorry this is by far the best place to ask such a question IMO , esp since Spring concntrates on dooing J2ee in a simple server container .

    In the ejb world we have Websphere and BEA as "serious"...
  20. Replies
    18
    Views
    5,590

    I had problems with 7.3 . Don't remember the...

    I had problems with 7.3 . Don't remember the driver version , as i simply took the latest for my DB . You seem up to date so I guess no luck with findinig the problem there
  21. Replies
    4
    Views
    1,076

    oh sorry , i got ahead of myself , and thought...

    oh sorry , i got ahead of myself , and thought you were using hibernate , must have been too late at night :rolleyes:

    well hibernate was chapter 12 , so if you want to step backwards to jdbc...
  22. Replies
    4
    Views
    1,076

    Hi Hibernate becomes a bit different when...

    Hi

    Hibernate becomes a bit different when used with spring . And A LOT easyer in the end .

    This would be a good place to start . You can also find tons of examples in most of the posts in...
  23. Hibernate Lazy Loading with Spring and Tapestry

    It looks like i'm facing a rather common problem here .

    I am using latest spring , hibernate 3 and tap 4 . I have the default true setting for lazy loading in hibernate . I would like to take...
  24. Replies
    18
    Views
    5,590

    What dbms are you using ? Have you updated your...

    What dbms are you using ? Have you updated your jdbc driver when moving to hibernate3 ? I've had a similar problem with postgresql , and i needed the newest driver
Results 1 to 24 of 24