A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Developer Certification (SCJD/OCMJD)
48 hour rule... Is it bussines rule or database rule?
Joined: May 31, 2010
Jul 05, 2010 08:40:08
I'm again with 48-hour rule...
Is it bussines rule or database rule?
Theoretically it's a bussines rule, but than this means I have to transfer all reserved records from DB layer to Bussines layer and apply 48-rule filter there... What I would not like...
Roel De Nijs
Joined: Jul 19, 2004
Jul 05, 2010 09:57:04
certainly it is a business rule. in fact my Data class contains no reference to rooms what so ever. So it can easily be used to write customers or hotels to a similar database file. You could also decide not to implement this business rule.
, SCJP (
I agree. Here's the link:
subject: 48 hour rule... Is it bussines rule or database rule?
URLyBird : 48 hours rule enforced
48 hour rule
Valid Record Fields
Question on deadlock
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015