Search:

Type: Posts; User: krishnan.1000; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Unable to set up quartz scheduler in my unit tests

    Hi,

    I have used a Quartz Scheduler with a cron trigger to implement a functionality. I have multiple such jobdetail beans which are responsible for various other scheduled tasks. I use Spring's...
  2. Replies
    1
    Views
    3,660

    You can use Spring's unit testing framework for...

    You can use Spring's unit testing framework for this. I assume that you have configured Hibernate in your application context.

    In your unit test specific application context, you can plug in your...
  3. Replies
    7
    Views
    2,666

    Take a look at this thread ...

    Take a look at this thread

    http://forum.springframework.org/showthread.php?t=66528
  4. Replies
    7
    Views
    2,666

    What you need to do is manage your transaction at...

    What you need to do is manage your transaction at the class that calls two database operations something.
    ...
  5. Please help: Error deleting foreign key objects usign triggers and hibernate template

    Hi,

    I have a two tables t_profile and t_loan where t_loan has a standard foreign key relationship with t_profile (pk of t_profile is a fk in t_loan). I am implementing a trigger that will store an...
  6. Using TransactionInterceptor programmatically

    Hi,

    This sounds like a stupid question but please bear with me. In the project that I am working on, we are using Spring's TransactionProxyFactory to manage transactions for a DAO implementation....
  7. Hi Marten, Thanks for your help. If I...

    Hi Marten,

    Thanks for your help. If I understand you correctly, the insertion is rolled back immediately after the FooDao#addFoo(Foo) is executed, and not after testAddFoo is executed. Is that...
  8. Hibernate Template does not insert objects.!!!

    Hi,

    I would like some clarification on Spring's transactional management.

    I have FooDao implementation that uses HibernateTemplate to save Foo to the database. The implementation is simple...
  9. Hi Denis, Thansk for your post. I saw that...

    Hi Denis,

    Thansk for your post. I saw that post and I also looked at jDave which unfinalizes the final methods. However, it uses JUnit4 runner which will not work with JDK 1.4 since this version...
  10. Thanks Emilien, I will investigate dbunit to...

    Thanks Emilien,

    I will investigate dbunit to see if I can use it.

    Thanks,
  11. Unit testing Spring ORM methods. Please help!!

    Hi,

    I don't know if this is the proper forum for this but I am hoping I can get a reply. We are using Spring's mock framework for our unit tests. We are using Spring hibernate api to perform orm...
  12. It looks good, but how can I be able to bind...

    It looks good, but how can I be able to bind input fields with it?
  13. Replies
    1
    Views
    760

    Help with MultiActionController

    Hi All,

    I am defining a MultiActionController using the PropertiesMethodNameResolver. My requirement is that I call the method when the browser is closed. I have a bunch of session invalidation...
  14. Replies
    1
    Views
    808

    Help with MultiActionController

    Hi All,

    I am defining a MultiActionController using the PropertiesMethodNameResolver. My requirement is that I call the method when the browser is closed. I have a bunch of session invalidation...
  15. Replies
    5
    Views
    19,995

    You may have the following issues a) views may...

    You may have the following issues

    a) views may not exist in your classes path (WEB-INF/classes)
    b) The definition of the request-requestForm may not exist there or not be configured properly...
  16. This is not what I want to do but what I have to...

    This is not what I want to do but what I have to do. I have to iterate through the persons list and check something like this:

    Ideally , The code is something is like


    <c:if test =...
  17. Can I use spring:bind with Javascript?

    Hi,

    I have a list of objects of type Person bound to the command object.
    I iterate through them like this:



    <spring:bind path = "resultsCommand.persons">
    <c:forEach items =...
  18. Replies
    3
    Views
    904

    Sorry about the delay. My requirement is this, ...

    Sorry about the delay. My requirement is this,

    No user can access our web app unless he/she logs in. When she has logged in successfully, the user will be redirected to the page she was originally...
  19. Replies
    4
    Views
    1,039

    Can anybody help me here please?

    Can anybody help me here please?
  20. I think you have to use redirect:/ instead of ...

    I think you have to use redirect:/ instead of redirect: only. I am not saying that it will work, but you might want to try this as well.
  21. Replies
    4
    Views
    941

    Try this. This assumes that you have field...

    Try this. This assumes that you have field errors.



    <spring:hasBindErrors name = "loginCommand">
    <c:forEach items ="${errors.fieldErrors}" var = "err">
    <spring:bind path =...
  22. Replies
    5
    Views
    1,667

    I do not think you can configure multiple message...

    I do not think you can configure multiple message sources. I think the Spring looks for messageSource as a bean id for all its resource bundle queries. You can specify a separate resourcebundle for...
  23. Replies
    4
    Views
    1,146

    . My problem is that instead of a hard coded...

    .

    My problem is that instead of a hard coded value like 'DEBT', I have a value from an input box, which has not been bound to the command yet. There is not back end call. The value of the text...
  24. Replies
    5
    Views
    19,995

    It seems that you have defined a...

    It seems that you have defined a ResourceBundleViewResolver configuration. Can you post that? And if possible your controller definitions from the applicationContext xml as well.
  25. Replies
    4
    Views
    1,146

    I am sorry about that. It does not display the...

    I am sorry about that. It does not display the filtered values (values having the same last name as entered in the input box).

    I am sorry, there is a button which starts the filtering process.
    ...
Results 1 to 25 of 95
Page 1 of 4 1 2 3 4