I'm also interested in building such generic application module. Any latest news for this thread?
Type: Posts; User: RAVEN-I; Keyword(s):
I'm also interested in building such generic application module. Any latest news for this thread?
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...
Hi mdeinum,
Here is my code:
Emplyee.hbm.xml
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
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...
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>...
Thanks mdeinum.
Here is my full stack trace of the error:
...
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...
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"...
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...
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...
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...
I tried to add the HibernateTemplate but cannot solve th NullPointerException issue:
private HibernateTemplate hibernateTemplate;
public void setSessionFactory(SessionFactory sessionFactory)...
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...
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...
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...
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...
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...
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:
...
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...
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...
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...
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...
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...
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...
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).