Search:

Type: Posts; User: shahzad.ahsan; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,238

    Resloved. It was my mistake. i was seeing...

    Resloved.

    It was my mistake. i was seeing uncommited data. :(

    anyway thanx for the help

    Regards,
    Shahzad
  2. Replies
    4
    Views
    1,238

    But i took the query from log and executed on the...

    But i took the query from log and executed on the DB console. And returned the result.

    Regard,
    shahzad
  3. Replies
    4
    Views
    1,238

    Regarding JDBC DAO TEMPLATE

    Hi,

    i am executing a jdbc query. that query returns result on my db console.
    But springjdbctemplate is not returning the result. All other jdbc queries r working f9 in that class.

    Following is...
  4. Replies
    14
    Views
    2,049

    Hi, FindByPrimarykey throws...

    Hi,

    FindByPrimarykey throws "NullPointerException" on the following line:

    se
    ssion = getSession();

    regards,
    shahzad
  5. Replies
    14
    Views
    2,049

    Hi, Please read it as throw new...

    Hi,

    Please read it as


    throw new OooberPersistanceFindByPrimarykeyException(e);

    As it is copy paste issue.

    Regards,
  6. Replies
    14
    Views
    2,049

    same problem

    Hi,
    When i find the records in database, after some time it goes in halt state (means it could not return result any more). Log shows that it could get the connection. And also findByPrimarykey is...
  7. Regarding Paramters to Message resource

    Hi,

    I am displaying messages from message.properties file and it works f9.
    But when i pass any argument to the message resource. It loads the message correctly.But it does not showthe argument...
  8. Replies
    14
    Views
    2,049

    thanx alot... it really solved my problem. Now...

    thanx alot... it really solved my problem.

    Now regarding using throwable. I have experinced that when using oracle as database, It thows sometime those error which could not catched with...
  9. Replies
    14
    Views
    2,049

    Hi, It seems that my session factory is not...

    Hi,

    It seems that my session factory is not getting connections after some time. This shows it also not releasing the connection. should i close the session and connection as well. It think...
  10. Hi, Calling DAO direct in the servlet is not a...

    Hi,

    Calling DAO direct in the servlet is not a good approach. My suggestion is to put DAO access in ur service call and give that class ref to ur servlet or controller.

    No comes to ur point....
  11. Replies
    14
    Views
    2,049

    Problem with hibernate3 DAO

    Hi,
    I am using HibernateDaoSupport(3) with spring.My persistance layer is in seprate context and i am getting results using http Invoker. It works f9 with 2 to 3 calls. but after that it does give...
  12. Replies
    2
    Views
    910

    solved

    Example example = Example.create(iEntity).ignoreCase().enableLike(MatchMode.EXACT);

    list = getSession()
    .createCriteria(iEntity.getClass())
    .add(example).list();
  13. Replies
    2
    Views
    910

    Regarding case insensitive Search

    Hi,
    i am using Hibernate3 with JPA using spring.
    When i search the annotated entity in normal case. It worked fine and showed sql query in the log, with following code:

    list =...
  14. Hi, It seem that u r using some old libs. like...

    Hi,

    It seem that u r using some old libs. like common-collections.jar. Update ur jars from Spring latest version.

    Shahzad
  15. Replies
    1
    Views
    1,422

    context not started

    Hi,

    i developed a sample spring application.but my context is not started.
    Logger shows the following lines:

    INFO: ExtensionValidator[/shahzad][commons-attributes-compiler.jar]: Required...
Results 1 to 15 of 15