Search:

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

Search: Search took 0.02 seconds.

  1. reading multiple values from .properties file

    Hi
    How can I instantiate a bean's collection or an array using multiple values defined in *.properties file.
    I have tried configurations below - they do not work:

    mypropps.properties:...
  2. Replies
    2
    Views
    874

    Thanks,that explains it all. I am using actual...

    Thanks,that explains it all.
    I am using actual implementation of SessionFactory to obtain the type of "<cache usage=..." settings for L2 cache of my "hibernated" objects:

    EntityPersister...
  3. Replies
    2
    Views
    874

    Bug in spring v1.2.6?

    My application is using Hibernate and spring together.
    After I have changed the spring version from 1.2.0 to 1.2.6
    I get the following error: java.lang.ClassCastException: $Proxy0
    When I try to :...
  4. Replies
    2
    Views
    1,162

    Hibernate with L2 cache

    I have tried this and it does not give me warnings but I still do not understand why it did not wotk with previous attempts

    Session session= getSession();
    List blogs = sessioncreateQuery("from...
  5. Replies
    2
    Views
    1,162

    Hibernate with L2 cache

    I have 2nd level cache working with hibernate.
    To enable Query Cache with hibernate without spring I do the following:

    List blogs = sess.createQuery("from Blog blog where blog.blogger =...
  6. Replies
    2
    Views
    1,149

    Wiring beans in JSP

    How do I wire a bean (e.g. DAO-type singleton object) into a JSP.
    How is the JSP referred in applicationContext.xml.
    Please explain.
    Thank you.
  7. Replies
    1
    Views
    827

    How SessionFactory is wired in

    I am trying to understand how SessionFactory object is being wired in a Spring/Hibernate application.
    Consider the example from book Spring Live (also available on:...
Results 1 to 7 of 7