Search:

Type: Posts; User: sushant.kapoor; Keyword(s):

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds; generated 56 minute(s) ago.

  1. Mate , your session gets closed because each one...

    Mate , your session gets closed because each one of your methods are marked as transactional,which in turn means that each method will use it's own session.As hibernate says..one session per...
  2. Replies
    26
    Views
    2,858

    This error is caused by the following line in...

    This error is caused by the following line in your code:

    Vacationtype vacationtype=vacationtypeDAO.getvacationtypeById(Integer.parseInt(request.getParameter("idvacationtype")));
    It looks like...
  3. Replies
    26
    Views
    2,858

    Mate, the thing is that method code I gave you...

    Mate, the thing is that method code I gave you should work.Only thing you are missing is that idvacationtype.You need to have a value for this variable.Apparently you should have this value in your...
  4. Replies
    26
    Views
    2,858

    From what I understood from your post is that...

    From what I understood from your post is that rather than setting up the values by yourself,you are looking
    to get the VacationType object from the database itself to fetch the already inserted...
  5. Replies
    26
    Views
    2,858

    I actually think it is this line which might have...

    I actually think it is this line which might have caused the null pointer exception:

    vt = v.getVacationtype();
    I think this getter is throwing that exception.If that is really the case.
    then...
  6. Replies
    26
    Views
    2,858

    Can you tell me which line in the create method...

    Can you tell me which line in the create method threw this exception.It says line 42 , can you quickly check the line and tell me which statement of code is on line 42.It looks like some of your...
  7. Replies
    26
    Views
    2,858

    The problem is that your VacationType object is...

    The problem is that your VacationType object is not initialized.You need to add some values to the VacationType object before you plan to use the getter on that object.
    In an ideal situation you...
  8. However , If you are really looking to set up...

    However , If you are really looking to set up log4j and want to see the parameterized SQL queries then you can set up the log4j using the following two lines of code.
    ...
  9. I hope you must already be using the ...

    I hope you must already be using the
    hibernate.show_sql = true property in your hibernate configuration file.
  10. Mate, Can you please elaborate what do you mean...

    Mate, Can you please elaborate what do you mean when you say HQL is not converting into SQL query ? If you want to see SQL queries with parameter values then you might have to configure log4j for...
  11. Can you please update the status ? Were you able...

    Can you please update the status ? Were you able to solve the problem with my solution or are you still stuck with it ?
  12. Great .......so it was the case of incompatible...

    Great .......so it was the case of incompatible ASM libraries. Now ,you don't need to change the hibernate version.As far as the other exception is concerned....i think it may be because of missing...
  13. Try switching to Hibernate 3.2.1 .Please post...

    Try switching to Hibernate 3.2.1 .Please post your project code,it'll be easier and quickest way to resolve the problem ?
  14. I have attached the required Asm libraries for...

    I have attached the required Asm libraries for your convenience.
  15. Mate, I think this error could also occur because...

    Mate, I think this error could also occur because of an incompatible version of asm jar.Remove the existing asm and add the asm-1.5.3.jar which is surely compatible with your cglib version you are...
  16. the cglib jar which you have mentioned...

    the cglib jar which you have mentioned cglib-2.1.3.jar should be cglib-2.1_3.jar.I can't find the jar version you have mentioned in cglib's website !
  17. Can you check if there's anything more in the...

    Can you check if there's anything more in the stacktrace ?Post full stack trace from Tomcat logs.I think there must be a message before java.lang.IllegalAccessError is printed.Do check it and post...
  18. Mate , that was a typo...I meant the cglib which...

    Mate , that was a typo...I meant the cglib which contains your net.sf.cglib.core packages.
  19. Well, the tag only works and...

    Well, the <jar-file> tag only works and recognizes the jar files if and only If you have specified the full absolute path for the Jar files.If you are currently using relative path,then it will not...
  20. I think this exception is related to the cgi...

    I think this exception is related to the cgi library error.Check the version of cgi library you are using.It is advisable to use version 2.1 or higher.Also check if you are having duplicate jars for...
  21. Can you please update the status Mate ? Did it...

    Can you please update the status Mate ? Did it worked out or are you still stuck with it ?
  22. The package which you have mentioned in...

    The package which you have mentioned in context:component element does not matches with the package of user class.You have mentioned java.com.vaannila.domain whereas it should be com.vaannila.domain ...
  23. Good Morning Vale, Many thanks to you for...

    Good Morning Vale,
    Many thanks to you for appreciating the post so much .
    You made my day !!
    I'll be replying to your Hibernate Cache question very soon..
    Have a great day ahead..
    Cheers,...
  24. Hi Vale, Hope you are doing good . First to...

    Hi Vale,
    Hope you are doing good .
    First to answer your previous question on when Spring 3.0 exam will start ? I really don't think it will start within the next 2-3 months.I think It will take...
  25. Replies
    7
    Views
    830

    Many Thanks, It's always a pleasure to help.

    Many Thanks,
    It's always a pleasure to help.
Results 1 to 25 of 126
Page 1 of 6 1 2 3 4