Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,303

    Thanx for your input Darren. I'll test with the...

    Thanx for your input Darren. I'll test with the latest version from cvs and hopefully I can get this to work

    Trond
  2. Replies
    2
    Views
    1,303

    Beandoc and Spring 1.2

    Not sure if this is the right place for a beandoc post, but most other topics I found in a search for beandoc was posted here...

    The changelog for 0.6.1 states: amended XSL templates to handle...
  3. Replies
    5
    Views
    5,749

    Anyone have an idea to how I might do this?

    Anyone have an idea to how I might do this?
  4. Replies
    5
    Views
    5,749

    Declarative transaction management

    Hi all,

    I'm using Spring 1.1.5 with Hibernate 2.1.8.

    I have a business service class that does two db calls and sends a mail. I have declared a transaction manager with declarative transaction...
  5. Replies
    1
    Views
    1,456

    Adding objects to a lazy loaded collection

    Hi all!

    Can someone please give me a hint to why this is not working? I've been reading the docs all day, and not figured out what I'm doing wrong...

    I'm using Spring 1.1.5 and Hibernate 2.1.8....
  6. Thread: Binding a Map

    by trondgzi
    Replies
    0
    Views
    852

    Binding a Map

    Hi all!

    Short class descriptions (getters / setters left out):

    class Newspaper {
    private Map<String, Price> prices; // Lazy loaded hibernate collection
    &#125;
    class Price &#123;
    private...
  7. Replies
    3
    Views
    2,483

    I have a mapping for my Class. And my DAO extends...

    I have a mapping for my Class. And my DAO extends the HibernateDAOSupport class. I'm using a HibernateTransactionManager and these transactionAttributes:


    <property name="transactionAttributes">...
  8. Replies
    3
    Views
    2,483

    Incrementing a counter when using hibernate

    Hi all!

    On my site I would like to have a few randomly selected images shown everytime the user refreshes the page. I'm using Spring 1.1.5, Hibernate 2.1.8 with the OpenSessionInViewFilter

    ...
  9. Replies
    3
    Views
    856

    Consider this: A = Producer, B = Product, C =...

    Consider this: A = Producer, B = Product, C = Part.

    I want to have a listing of all Parts from a Producer ordered by some prop in Part. By using Product to get to the Parts as you suggested the...
  10. Replies
    3
    Views
    856

    Hibernate mapping

    Hi all!

    I'm refactoring an old app to use Spring and Hibernate.

    I have mappings like this:


    <hibernate-mapping>
    <class name="A">
    ...
  11. Replies
    1
    Views
    1,944

    Consuming a third-party webservice

    Hi all!

    I'm fairly new to Spring, and remoting. I need to consume a webservice provided by a third-party.

    I have read the remoting part in the reference, and checked out the jpetstore sample. I...
  12. Replies
    4
    Views
    1,182

    Thanks for the tip Rob, and using lazy loaded...

    Thanks for the tip Rob, and using lazy loaded collections in Hibernate also by the way.

    I have already looked at Acegi and I think that I will implement it at a later stage. The only thing I'm...
  13. Replies
    4
    Views
    1,182

    Creating a login controller

    Hi,

    I'm trying to improve an old webapp running on Tomcat by implementing Spring and Hibernate. The app is not using container managed security simply because the app requires that the user...
  14. Replies
    1
    Views
    799

    Mapping db tables to classes

    Hi all!

    I've just taken over development of a webapp with very poor design and I want to start using the Springframework's MVC and DAO support in my webapp and have a question regarding "best"...
  15. Replies
    5
    Views
    4,208

    Sorry radone! I only looked at the line where...

    Sorry radone!

    I only looked at the line where you forwarded to getSuccessView(), not your "update" part.

    Thanx for your help

    Trond
  16. Replies
    3
    Views
    1,170

    The DataBinder class has two registerCustomEditor...

    The DataBinder class has two registerCustomEditor methods, one that takes a class and editor, and one that takes a class, fieldname and editor.

    I have not tested this myselft, but using the latter...
  17. Replies
    5
    Views
    4,208

    Hi radone! I have already implemented the...

    Hi radone!

    I have already implemented the referenceData method.

    The problem is that referenceData is only called when a GET request is issued. In my case I issue a POST and use the same view...
  18. Replies
    5
    Views
    4,208

    Populating drop-down lists

    Hi all!

    I have a class that extends SimpleFormController. In this formView I have 3 drop-down lists. I have implemented referenceData(request) to populate these drop-down lists.

    When the user...
Results 1 to 18 of 18