These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Architecture question --- Multilayer Prj & hbm(s)
PostPosted: Sun Mar 30, 2008 10:21 pm 
Newbie

Joined: Sun Mar 30, 2008 10:15 pm
Posts: 18
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!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.