Well actually it might enforce it - it depends on what you use the
interfaces for, i.e. whether you want an implementation-agnostic
persistence mechanism or not. If you use interfaces, then yes, you
have to expose the (bean) properties, but you can hide the
implementation much more strongly (factories). And if you refer to
interfaces from references/collections, then you really should declare
at least the primarykey fields (references) / foreignkey fields
(collections) in the interface to communicate your intent.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to