Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    815

    Connection not getting closed Spring-DB2

    We are using Spring framework coupled with IBM DB2 database.The tool that we are using is Websphere Application Developer.We are using IBM DB2 Development center(V8) for developing Stored Procedures....
  2. Replies
    3
    Views
    1,025

    Hi Colin, You are getting nullpointer...

    Hi Colin,

    You are getting nullpointer exception because you are not setting the datasource in the JdbcTemplate object.The extended class should be JdbcDaoSupport.This class has setter and getter...
  3. Replies
    2
    Views
    1,128

    Hi, In the MultiActionController, you can pass...

    Hi,

    In the MultiActionController, you can pass the command object as the third parameter to the methods that you define.
    Then Spring will be able to populate the command object and you can use...
  4. Replies
    3
    Views
    1,028

    This link might help. ...

    This link might help.

    http://forum.springframework.org/showthread.php?t=17961
  5. Hi, Since you are not passing in the values to...

    Hi,

    Since you are not passing in the values to the sql insert statement you are getting this error.For each of the parameters you have to give a declaration.
    It is similar to what you do in case...
  6. Replies
    7
    Views
    1,537

    What we did in our project was to have different...

    What we did in our project was to have different folders for different environment say Dev for development and so on.Then in these folders we have the environment specific properties file.

    We are...
  7. Replies
    9
    Views
    1,999

    Thanks Andreas. I would probably change the...

    Thanks Andreas.

    I would probably change the design to run the sql's as batch and not the stored procedures.

    Regards,
    harry
  8. Replies
    2
    Views
    1,165

    Hi, I don't think queryForList is the apt...

    Hi,

    I don't think queryForList is the apt method in this case,since you are either inserting or updating the data in the database.

    You can configure exceptionResolver in spring.Then you will...
  9. Replies
    9
    Views
    1,999

    Hi Andreas, You mean to say that I create the...

    Hi Andreas,

    You mean to say that I create the storedprocedure class, and call the procedure inside a for loop to excute it as a batch.

    Is this the correct approach?
    Can't we do something with...
  10. Replies
    9
    Views
    1,999

    Executing a storedprocedure as batch.

    Hi,

    I am trying to execute a DB2 storedprocedure as batch using BatchSqlUpdate class.The class runs ,but when I see the number of rows affected it is -1.

    I even tried it with jdbctemplate,but...
  11. Replies
    3
    Views
    895

    Hi, The viewresolver that you have configured...

    Hi,

    The viewresolver that you have configured will be called for both the formview as well as the successview unless and until you have configured another resolver.

    I think the reason why it is...
  12. Replies
    2
    Views
    1,380

    I have also extended the multiactioncontroller ...

    I have also extended the multiactioncontroller and given my own implementations as was suggested in the forum.

    I thought there was something native to the spring which can help me out.

    Thanks...
  13. Replies
    5
    Views
    2,052

    Hi, The site www.springflix.com is powered...

    Hi,

    The site www.springflix.com is powered with spring.

    This link might help.

    http://forum.springframework.org/showthread.php?t=15565

    Hope this helps.
  14. Replies
    6
    Views
    1,764

    Thanks for all your replies. What I want is...

    Thanks for all your replies.

    What I want is similar to servlet chaining.Can I do controller chaining in case of spring?.
    The called controller can be either be a SimpleActionController or a...
  15. Replies
    6
    Views
    1,764

    Thanks for the reply. It does work that...

    Thanks for the reply.

    It does work that way,but can I make spring call that class instead of me calling it.Is there any better way of doing it?

    Thanks in advance.
  16. Replies
    6
    Views
    1,764

    Calling a controller from another controller.

    Hi,

    In our project we have to call a controller from another controller passing the same request object available in the first controller method.

    I need to pass some values from one...
  17. Replies
    15
    Views
    36,712

    Hi Harsh, MultiActionController does not...

    Hi Harsh,

    MultiActionController does not support form view.If you want it,you will have to write a custom controller.

    This post might help.
    ...
  18. Replies
    15
    Views
    36,712

    Hi Harsh, The saveMethod is similar to the...

    Hi Harsh,

    The saveMethod is similar to the OnSubmit in simpleformcontroller.But to get the populated command object in the method you will have to change the signature of the method.Add the...
  19. Replies
    2
    Views
    1,380

    Validation in multiactioncontroller

    Hi all,

    I have a multiactioncontroller with validators.

    The problem is,some of the methods in multiactioncontroller have the same command object,but I need to call different validators for...
  20. Replies
    6
    Views
    1,392

    I tried using...

    I tried using ClassPathXmlApplicationContext,everything works fine except the jndi configuration which I had done in the WSAD's server configuration.

    Is there anyway I can configure it?
  21. Replies
    6
    Views
    1,392

    I tried using the quartz scheduler,It works...

    I tried using the quartz scheduler,It works fine,.but it has a dependency that the server must be running for the job to run.

    What I need is,to run the job without the server being running.

    Is...
  22. Replies
    2
    Views
    968

    Thanks, I did that and now it works.

    Thanks,

    I did that and now it works.
  23. Replies
    2
    Views
    968

    invokeValidator in MultiActionController

    Hi all,

    I have validator classes for each of the methods of the multiactioncontroller.I have the command object going in as the third parameter for all the multiactioncontroller methods.Now when I...
  24. Replies
    6
    Views
    1,392

    Thanks for your replies. Actually I have been...

    Thanks for your replies.

    Actually I have been goin through the Quartz scheduler.

    I will get back if I have any queries.
  25. Replies
    6
    Views
    1,392

    scheduling a job in spring

    Hi all,

    In the current application that i have,all the transactions that are done in the day are exported to the database as a batch.This is done by an administrator logging in to the system.
    ...
Results 1 to 25 of 31
Page 1 of 2 1 2