Search:

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

Search: Search took 0.02 seconds.

  1. Unable to locate MessageSource with name 'messageSource':

    Hai all,
    I got an "Unable to locate MessageSource with name 'messageSource':" while running my application.

    The ApplicationContext.xml is



    <?xml version="1.0" encoding="UTF-8"?>...
  2. ConcurrentModificationException while retrieving values using hibernate

    Hi all ,
    I had an exception while retrieving values using hibernate.

    The Exception is:


    javax.servlet.ServletException: Error in EventDAO.findByPK() ::...
  3. Hi all , If anybody find out solution for my...

    Hi all ,
    If anybody find out solution for my previous problems, which i have posted earlier. If anyone have an idea please reply me.

    thanks in advance,

    Dinesh
  4. Hi Ben Alex, Thanks for your reply. I...

    Hi Ben Alex,
    Thanks for your reply.
    I attached the applicationContext-acegi.xml




    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"...
  5. How to implement Acegi in two different login pages

    Hi all,
    I would like to implement Acegi for my application.I have two tables.

    One is User table



    CREATE TABLE `tbl_user` (
    `userid` int(11) NOT NULL auto_increment,
    `loginname`...
  6. Replies
    19
    Views
    7,281

    GetHibernateTemplate and session management

    Hi all ,
    If i use getHibernateTemplate.find() instead of getCurrentSession() means,
    Will spring manage the opening and closing session and closing connections from its connection pools...
  7. Replies
    19
    Views
    7,281

    No CurrentSessionContext configured!

    Hi all,

    How can i remove the following Exception ,

    No CurrentSessionContext configured!

    I have already posted all config files and Dao's in previous replies.
    I am using spring2.0 jars but...
  8. Quartz and Too many Connections Exceptions

    Hi all .

    I am new to Quartz implementation with DB.
    I had the following exception ,after triggering ten times by Quartz.

    ApplicationContext.xml is


    <beans>
    <bean...
  9. Replies
    19
    Views
    7,281

    CreateQuery is not valid without active transaction

    thanks for the reply

    if i remove the current_session_context_class
    I got an Exception



    com.oneaccess.common.exception.DataAccessException: Exception in retrieveUser ::...
  10. Replies
    19
    Views
    7,281

    CreateQuery is not valid without active transaction

    thanks for your reply.
    I have tried but i have written a code like this.



    public User findByUserId(int userId)throws DataAccessException{
    OneAccessLogger.warn("findByUserId :: UserDao",...
  11. Replies
    19
    Views
    7,281

    Too many connections in dbcp pool

    Hai all,
    i got the following error when using dbcp datasource in tomcat5.

    .

    applicationContext-db.xml is



    <beans>
  12. Thank you for your guidelines I will review...

    Thank you for your guidelines

    I will review the link ,you have sent about OSIV.
    Let you know , if i will have any clarification.

    Thanks,
    Dinesh
  13. I would like to know about OSIVInterceptor

    Thank you !
    I will try that in my application.

    I would like to know about OpenSessionInViewInterceptor(OSIV) in Detail.
    I have seen one forum that OSIV resolve the LazyInitializationException....
  14. LazyInitializationException

    Thank you for giving valuable information .

    How can I avoid LazyInitializationexception without putting lazy='false' in a Set or Class of hibernate mapping

    Do you have any example code or link...
  15. How to void lazyinitializationException without putting lazy=false in hibernate

    Here is the mapping file.



    <class name="com.oneaccess.hibernate.model.User" table="user" mutable="true" entity-name="user" lazy="false">
    <id name="userId" type="int">
    ...
  16. How to resolve org.hibernate.ObjectNotFoundException

    the tables are :





    create table t_sapsystem
    ( sap_system_id int unsigned not null auto_increment,
    sap_system_name varchar(30) not null,
    url varchar(30) not null,
  17. How to resolve org.hibernate.ObjectNotFoundException

    thank you very much for replying me.

    I dont know how to check with sql Analyzer .

    do u identify any mistakes in code(from mapping and persistence) .
  18. How to resolve org.hibernate.ObjectNotFoundException:

    I have written the two mapping file:

    one is TSapsystemAndSite

    the mapping File will be :




    <hibernate-mapping>
  19. I have tried that but it is not updated The...

    I have tried that but it is not updated

    The code will be

    In Service Layer



    TSapsystemAndSite sapSystemAndSite=sapSystemAndSiteDao.findBySapsystemId(sapSystemId);...
  20. How to Update With Composite-id in Hibernate

    Please tell me what is wrong in my coding ,which was posted .
    In Service I have tried to change the SiteId in TsapsystemAndSite .But i m using the existing Sapsystemid ,which was in table .
    I need...
  21. How to Update With Composite-id in Hibernate

    Beyond my coding ,i need a sample example for updating a table,which have composite-id in a hibernate Mapping .

    Please help me for that

    thanks in Advance
  22. How to Update With Composite-id in Hibernate

    Thank you very much for replying me .
    this is the Service layer I have written for Update


    public void insertorupdate(SapSystemBean sapSystemBean,int sapSystemId) throws DataAccessException{...
  23. How to Update With Composite-id in Hibernate

    I need a help to update a table ,which have primary key Pair.

    I have written a code as :
    Mapping for SapSystemandSite which has composite-id


    <hibernate-mapping>
    <class...
  24. Thank you

    Thank you very much.
    It is working well.
Results 1 to 24 of 24