Results 1 to 2 of 2

Thread: can ehcahce help me

  1. #1
    Join Date
    Apr 2005
    Location
    Galway, Ireland
    Posts
    24

    Default can ehcahce help me

    Hi Guys,

    I need to write a reporting tool that pools a db every 20 mins and email users the results back.

    Lets say it gets 10 results when query 1 runs at 12:30. (it should email the users these 10 results)

    If the report runs again at 13:00 and contains 11 result sets, but 10 of them are from 12:30 i need to only email the user about the 1 extra result.

    Is this something i can implement using ehcahce or another cahcing mechanism within spring.

    Looks to try and implemnt a clean solution for this, but its getting tricky.

  2. #2
    Join Date
    Sep 2004
    Posts
    1,086

    Default

    I don't think caching solutions can help you, as you need opposite from caching - you need persistence. When emails are successfully sent, write a db record somewhere. Next time check the db for already done stuff.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •