Hi, I'm new to Hibernate and am looking for some help.
I have a system represented by a Domain Model that interacts with, and drives some hardware. In normal operation, the Domain Model runs itself, in other words there is no interaction with humans or other systems, other than the hardware.
I want to persist data via Hibernate in a database related to the operation of the system.
I know it is ideal that the Domain Model have concepts only related to the business domain. However, in this case it appears that domain concepts need to orchestrate persistence themselves. How should one do this?
Many thanks, Jon
|