Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,175

    What do you want to cache? Your DB entities?...

    What do you want to cache? Your DB entities? Prepared Statements? Connections?
  2. Replies
    7
    Views
    5,729

    For code:...

    For code:
    http://forum.springframework.org/showthread.php?t=33443
  3. Replies
    16
    Views
    3,779

    Small question, why don't you use the JSTL fmt...

    Small question, why don't you use the JSTL fmt taglib for formatting the date?



    <fmt:formatDate value="${scope.object.yourVar}" pattern="dd/MM/yyyy" />


    And ehmmm, I don't think I get the...
  4. Replies
    6
    Views
    1,432

    JdbcTemplate closes the resultset by calling...

    JdbcTemplate closes the resultset by calling JdbcUtils.closeResultSet
    in doInPreparedStatement and doInCallableStatement (somewhere down the line in the call stack atleast).

    But I don't think a...
  5. Replies
    5
    Views
    1,261

    pmularien is right about Spring not knowing about...

    pmularien is right about Spring not knowing about it.

    The question that was raised with me is; are they different apps or just different user interfaces?
    If they are different apps then I'd go...
  6. Replies
    16
    Views
    3,767

    The class is there, but the provided table can't...

    The class is there, but the provided table can't be found.
  7. Replies
    16
    Views
    3,767

    I still think you're referencing table that don't...

    I still think you're referencing table that don't exist (are called differently,. what ever), are in another scheme or what so ever.

    This line gave me the hint:

    ORA-00942: table or view does...
  8. Replies
    13
    Views
    1,995

    Either use auto-wiring as karldmoore suggested or...

    Either use auto-wiring as karldmoore suggested or just use OO-inheritance when possible. It's seldom a "bad plan" (tm) to abstract repeated and common logic to a superclass.
  9. Agreed, please use [ code] ... [ /code] tags...

    Agreed, please use [ code] ... [ /code] tags around you code.

    The thing I see here (don't know if it's the case with hib3, it was the case with hib2), is that you evict the update reference from...
  10. Well, no, I think you're actually right ;) ...

    Well, no, I think you're actually right ;)

    From org.spring.framework.transaction.annotation.Transactional:



    @Target({ElementType.METHOD, ElementType.TYPE})...
  11. Replies
    16
    Views
    3,767

    No problem, was still busy with my coffee and...

    No problem, was still busy with my coffee and browsing the forums ;)


    I think you might want to recheck your database and DB creation scripts. :rolleyes:
    It seems you (by accident) named your...
  12. Replies
    16
    Views
    3,767

    Could you post the related .hbm.xml file? Or the...

    Could you post the related .hbm.xml file? Or the annotated DO? (which ever you use)
  13. Just scanned the code quickly, but I don't see...

    Just scanned the code quickly, but I don't see any real bottlenecks Java-wise.
    Though my personal preference is always to include the column and type attributes in your hibernate mapping, if only...
  14. Replies
    2
    Views
    1,565

    Form validation is done quite similar to Spring...

    Form validation is done quite similar to Spring MVC in SWF.
    Key class is the org.springframework.validation.Validator interface.

    I'd suggest you read the reference documentation (chapter 2 might...
  15. Replies
    3
    Views
    1,199

    To my knowledge LDAP searches are always done on...

    To my knowledge LDAP searches are always done on a DN, never on an attribute.
    Unless you iterate over a whole group (thus in your case the DN ou=Engineering, dc=MyDomain, dc=com) and check the...
  16. Replies
    5
    Views
    1,132

    I'm going to guess again karldmoore, one day i'll...

    I'm going to guess again karldmoore, one day i'll get it right. ;)
    My guess is that he wants to know our opinion on adding another interface.
    One that contains the setter for the dependency...
  17. Oh, I misunderstood, but yeah, if you want 2...

    Oh, I misunderstood, but yeah, if you want 2 domain objects filled with a single form go for a composite object as the command.
  18. Are you using Spring 1.2 or Spring 2.0? ...

    Are you using Spring 1.2 or Spring 2.0?

    Regards,

    Barre
  19. Replies
    7
    Views
    1,356

    Yeah, start using JUnit, it'll help you track...

    Yeah, start using JUnit, it'll help you track these kind of problems down within a few seconds.

    What you have here is a copy/pasta or a typo error ;)


    if...
  20. Replies
    9
    Views
    1,653

    You can do that using a custom editor (extend...

    You can do that using a custom editor (extend java.beans.PropertyEditorSupport) to do convert from the boolean value to the looked up value and back.

    [edit]
    For more clarity, implement a custom...
  21. Replies
    8
    Views
    1,816

    My guess would be that he wants to audit more...

    My guess would be that he wants to audit more then just the persisted data or at a moment that is not necessarily a DB operation (thus not triggering the hiberbate interceptors).

    Look at the...
  22. Replies
    8
    Views
    1,816

    Ehm, I don't see the problem... What is your...

    Ehm, I don't see the problem...
    What is your question?
  23. I fully agree with karldmoore, I'd also either go...

    I fully agree with karldmoore, I'd also either go with a "message factory" bean for getting messages and inject it into the classes that use the messages.
  24. Replies
    5
    Views
    1,230

    If I'm not mistaking; You define a bean in your...

    If I'm not mistaking;
    You define a bean in your configuration which gets initialized including it's dependencies. This bean gets placed in memory by Spring, which results in a call to hashCode().
    ...
  25. Like rrups said, use variables. I would...

    Like rrups said, use variables.




    I would guess the authors of the taglib thought frames are evil and they use (X)HTML/CSS(2) like most web designers do. But that's just my guess.
    Target is...
Results 1 to 25 of 33
Page 1 of 2 1 2