|
Hello,
I'm putting together a multilayer system. I have put my domain objects in a layer and made them available to the other layers. An example of my domain object is the Order class.
I'd like to persist order to the db using hibernate.
My data access implementation is in an infrastructure layer and it is going to be implemented using hibernate. I'm hoping that I can keep the rest of the system agnostic of this implementation choice.
I was wondering is there anyway, for me to keep the Order.hbm.xml with my infrastructure code rather than keeping it with my domain code?
Thanks in advance!
|