Search:

Type: Posts; User: RAVEN-I; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,380

    I'm also interested in building such generic...

    I'm also interested in building such generic application module. Any latest news for this thread?
  2. hi mdeinum, Do you mean without transactional...

    hi mdeinum,

    Do you mean without transactional configuration will cause the memory leak?
    I use named sql query just because it is suggested by hibernate doc and I also find the sql statements are...
  3. Hi mdeinum, Here is my code: ...

    Hi mdeinum,

    Here is my code:

    Emplyee.hbm.xml


    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
  4. Memory leak - Sun app server 9 + Spring + Hibernate

    Hi,

    I find a memory leak problem in my Sun App Server 9. Whenever I make a readonly query to the database, it will consume around 200k of the memory and won't release it even after I close my...
  5. Replies
    4
    Views
    9,482

    Thanks mdeinum again for your prompt reply. I...

    Thanks mdeinum again for your prompt reply.

    I finally get it work by removing the return parameters which I thought were compulsory as described in the official document.


    <hibernate-mapping>...
  6. Replies
    4
    Views
    9,482

    Thanks mdeinum. Here is my full stack trace of...

    Thanks mdeinum.

    Here is my full stack trace of the error:

    ...
  7. Replies
    4
    Views
    9,482

    Error in named query

    Hi,

    I encounter the following deployment error:
    org.hibernate.HibernateException: Errors in named queries: spGenMgmtRuleSql

    Do you know if there is anything wrong in my following...
  8. I tried to inject the sessionFactory into my own...

    I tried to inject the sessionFactory into my own LdapAuthenticationProvider, but I find no place to do that. My LdapAuthenticationProvider is like:



    <bean id="ldapRoleAuthenticationProvider"...
  9. thx

    In view of the complexity of extending the LdapAuthenticationProvider, for simplicity reason, I finally decideded to call the hibernate function directly. In other parts of the application, I'll...
  10. thx

    In view of the complexity of extending the LdapAuthenticationProvider, for simplicity reason, I finally decideded to call the hibernate function directly. In other parts of the application, I'll...
  11. thx

    In view of the complexity of extending the LdapAuthenticationProvider, for simplicity reason, I finally decideded to call the hibernate function directly. In other parts of the application, I'll...
  12. more try

    I tried to add the HibernateTemplate but cannot solve th NullPointerException issue:


    private HibernateTemplate hibernateTemplate;
    public void setSessionFactory(SessionFactory sessionFactory)...
  13. any suggestions?

    Hi mdeinum,

    Do you have any suggestion?
    As I have already extended the LdapAuthenticationProvider in my class, how can I extend the HibernateDaoSupport?

    Or is there any better way to get the...
  14. AOP related to Hibernate sessionFactory with NullPointerException

    Hi Folks,

    I find problem using HibernateDaoSupport when I try to get user information from database. My original design was getting ldap authentication through acegi

    security api and getting...
  15. extending acegi LdapAuthenticationProvider + using HibernateDaoSupport

    Hi Folks,

    I find problem using HibernateDaoSupport when I try to get user information from database. My original design was getting ldap authentication through acegi

    security api and getting...
  16. extending LdapAuthenticationProvider + using HibernateDaoSupport

    Hi Folks,

    I find problem using HibernateDaoSupport when I try to get user information from database. My original design was getting ldap authentication through acegi security api and getting user...
  17. NullPointerException using getHibernateTemplate()

    Hi Folks,

    I find problem using HibernateDaoSupport when I try to get user information from database. My original design was getting ldap authentication through acegi security api and getting user...
  18. Replies
    11
    Views
    2,998

    Thanks.

    your suggestion make sense.
    however, I'm still finding a place for injecting my sessionFactory. Could I just inject it inside my own LdapAuthenticationProvider. A portion of my config is:


    ...
  19. Replies
    11
    Views
    2,998

    some related issues.

    Hi Folks,

    I can successfully remove most of my usage of Hibernate helper class except inside my own class extending the "LdapAuthenticationProvider". Originally I tried to get the user role from...
  20. Replies
    11
    Views
    2,998

    Thanks for the light

    Thanks for your prompt reply. Just tested that he closing of my session won't help in this memory issue.

    You're right. I may need to remove the HibernateUtil class. And also I need to remove my...
  21. Replies
    11
    Views
    2,998

    Thanks folks

    To supplement my case a bit, I'm using HibernateUtil as helper class supplied by some documentations like:



    public class HibernateUtil
    {
    private static final SessionFactory...
  22. Replies
    11
    Views
    2,998

    OutOfMemoryError: PermGen space

    Hi,

    Whenever I deploy my war application several times (roughly 10) to my Sun Application Server 9, the following error occur regarding PermGen space:



    2007-10-25 17:13:11,053 ERROR...
  23. Replies
    3
    Views
    1,662

    Thanks all for your recommendations. I kept...

    Thanks all for your recommendations.

    I kept using PasswordComparisonAuthenticator and tried to specify the unicodePwd as the password attribute but still see the NO_ATTRIBUTE_OR_VAL error.

    I...
  24. Replies
    3
    Views
    1,662

    NoSuchAttributeException userPassword

    Hi,

    I'm trying to build a web login form authenticating users against the Active Directory. When I'm running a junit test for the ldap authentication againt AD using...
  25. Replies
    2
    Views
    1,243

    Thanks. I tried running through the Petclinic...

    Thanks. I tried running through the Petclinic sample in my server and successfully added Acegi security to it (http://www.acegisecurity.org/petclinic-tutorial.html).
Results 1 to 25 of 26
Page 1 of 2 1 2