Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    10
    Views
    1,441

    In the documentation there are two classes in my...

    In the documentation there are two classes in my case there is one class but internally iam joing two tables


    How will i specify one to one relationship
  2. Replies
    10
    Views
    1,441

    Answer to the Question: Following are the...

    Answer to the Question:
    Following are the results

    1 Liju 20/01/2007
    2 Liju 20/01/2007
    3 Thomas 20/01/2007
    4 Liju 20/01/2007

    What results are wrong?
  3. Replies
    10
    Views
    1,441

    Yes the results are wrong 1 Liju ...

    Yes the results are wrong

    1 Liju 20/01/2007
    2 Liju 20/01/2007
    3 Thomas 20/01/2007
    4 Liju 20/01/2007

    same dates are repeating again....the results should be:

    1 Liju ...
  4. Replies
    10
    Views
    1,441

    Join One to one

    Iam having problem in joining two tables in hibernate using hbm.xml file.

    When Iam joining result are appearing but the values are wrong for eg:
    I have a table abc and xyz in the database
    abc...
  5. Replies
    3
    Views
    943

    I want to declare a date variable in...

    I want to declare a date variable in applicationContext file so that i can retrieve the date in a java class. this is basicly for the Quartz Scheduler.
    A user wil be entering a date in a...
  6. Replies
    3
    Views
    943

    Doubt in applicationContext.xml

    I want to specify a date in applicationContext.xml file (date can be changed any time) and I want to call that same date in java class.

    Is there any way to do that?
  7. Thread: Sql Query

    by lthomas
    Replies
    9
    Views
    1,211

    Re

    Iam typecasting it to integer then also it is giving me same error.
  8. Thread: Sql Query

    by lthomas
    Replies
    9
    Views
    1,211

    No

    No can you tell me how to that in eclipse
  9. Thread: Sql Query

    by lthomas
    Replies
    9
    Views
    1,211

    I did this : public boolean getHitHistory()...

    I did this :


    public boolean getHitHistory() {
    boolean status = false;
    FnuHitHistory fnuHitHistory = new FnuHitHistory();
    try {
    String stat = "select count(*)...
  10. Thread: Sql Query

    by lthomas
    Replies
    9
    Views
    1,211

    Sql Query

    Can I execute simple sql query in Hibernate fro eg:


    String stat = "select count(*) count,fnu_id,trunc(hit_timestamp) hit_timestamp from fnu_hits group by fnu_id,trunc(hit_timestamp) order by...
  11. Replies
    2
    Views
    940

    OH Thanks a lot

    Gotcha!!! Thanks
  12. Replies
    2
    Views
    940

    Class Cast Exception

    I have a method where i Iam returning (max)date:


    public Date hitHistory()
    {
    FnuHit fnuHit = new FnuHit();
    String stat = "select max(hitTimestamp) as hitTimestamp from FnuHit";
    List...
  13. Thanks

    Thanks it worked i have Updated the jar files. and I also got my results
  14. ERROR: Could not instantiate class [org.springframework......quartz.JobDetailBean

    I am a Using Quartz Scheduler for the first time and i was using http://www.springframework.org/docs/reference/scheduling.html as a tutorial
  15. Replies
    4
    Views
    1,489

    The question : Is the code correct?

    The question :
    Is the code correct?
  16. Replies
    4
    Views
    1,489

    Hibernate : Insert / update

    I have hbm.xml file where Iam joining two tables.
  17. Replies
    7
    Views
    1,593

    Thanks it worked!!!

    Thanks it worked!!!
  18. Replies
    7
    Views
    1,593

    this is the code for UserServiceImpl.java : The...

    this is the code for UserServiceImpl.java :
    The line giving error is marked as bold


    package com.palm.fnur.service.impl;

    import java.util.ArrayList;

    import com.palm.fnur.dao.IUserDAO;...
  19. Replies
    7
    Views
    1,593

    ERROR - Context initialization failed

    ERROR - Context initialization failed
    java.lang.ExceptionInInitializerError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at...
  20. Replies
    7
    Views
    1,244

    Re

    Thanks!!!!!
  21. Replies
    7
    Views
    1,244

    Re

    Is this correct?


    String stat = "FROM FnuLookup where type=? and id =?";
    List result = getHibernateTemplate().find(stat, FnuConstant.HTTPSTATUS,httpStatusid);

    Iam getting error.
    How will...
  22. Replies
    5
    Views
    1,171

    Re

    yes i was creating a new ApplicationContext on each request but now I have changed it
    I have created a new class called context.java for applicationContext.



    package com.palm.util;

    import...
  23. Replies
    5
    Views
    1,171

    you mean to say that to place the...

    you mean to say that to place the applicationContext.xml file to WEB-INF/classes/?

    So do I have to write like this:

    ApplicationContext context = new...
  24. Replies
    5
    Views
    1,171

    ApplicationContext

    Can we move applicationContext.xml from src to WEB-INF?

    I have moved but I am getting Error :

    Failure invoking listener method 'public void...
  25. Replies
    7
    Views
    1,244

    Re

    Thank you Karl!!!
Results 1 to 25 of 43
Page 1 of 2 1 2