C
Chris Ward
Hi,
I am just about to start playing with JPA to see if it's the right
tool for my project. Before I set off on this quest I'd be interested
to hear if anyone out there has used it for persisting to a database
which has time stamped/versioned data records.
By this I mean there is a "fromDate" and "toDate" that show the date
range for which the row/data is valid. If (and only if) the data
value for the key(s) changes then a new row is created (fromDate =
today's date, toDate = 99999999 in YYYYMMDD format) and the old entry
has it's endDate updated from 99999999 to yesterday's date..
All thoughts welcome.
Regards,
Chris
I am just about to start playing with JPA to see if it's the right
tool for my project. Before I set off on this quest I'd be interested
to hear if anyone out there has used it for persisting to a database
which has time stamped/versioned data records.
By this I mean there is a "fromDate" and "toDate" that show the date
range for which the row/data is valid. If (and only if) the data
value for the key(s) changes then a new row is created (fromDate =
today's date, toDate = 99999999 in YYYYMMDD format) and the old entry
has it's endDate updated from 99999999 to yesterday's date..
All thoughts welcome.
Regards,
Chris