for instance with fluent nh, this is quite easily achieved

On Sun, Jan 4, 2009 at 4:12 AM, Ken Egozi <egoz...@gmail.com> wrote:

> and as xml are just simple text files, you can also always write a simple
> XML poker that will inject the base mapping from a common location onto all
> your hbm files
>
> On Sun, Jan 4, 2009 at 3:01 AM, Ed C. <defeated...@gmail.com> wrote:
>
>>
>> Hi German,
>>
>> That's great - thanks for pointing that out!
>>
>> On Jan 3, 7:06 pm, "Germán Schuager" <gschua...@gmail.com> wrote:
>> > If you don't want to use inheritance you could use XML entities as
>> stated
>> > here:
>> http://www.nhforge.org/doc/nh/en/index.html#inheritance-tableperconcr...
>> >
>> > On Sat, Jan 3, 2009 at 8:35 PM, Ed C. <defeated...@gmail.com> wrote:
>> >
>> > > Hi Tuna!
>> >
>> > > Thanks for the response. I'm taking a look at the docs section 5.4,
>> > > "Modular mapping files."
>> > >http://hibernate.org/hib_docs/nhibernate/html_single/#mapping-modular.
>> ..
>> >
>> > > Inheritance might work with the "extends" XML attribute should allow
>> > > them to remain in separate .hbm.xml files...
>> >
>> > > On Jan 3, 6:28 pm, "Tuna Toksöz" <tehl...@gmail.com> wrote:
>> > > > Inheritance in NH is possible.
>> >
>> > > >http://www.hibernate.org/hib_docs/nhibernate/html/inheritance.html
>> >
>> > > > But i think you want seperate files, right?
>> >
>> > > > Tuna Toksözhttp://tunatoksoz.com
>> >
>> > > > Typos included to enhance the readers attention!
>> >
>> > > > On Sun, Jan 4, 2009 at 1:26 AM, Ed C. <defeated...@gmail.com>
>> wrote:
>> >
>> > > > > Is there a way to create a "base" mapping .hbm.xml file that does
>> the
>> > > > > same thing? (Each entity's mapping file could then "inherit" or
>>
>>
>
>
> --
> Ken Egozi.
> http://www.kenegozi.com/blog
> http://www.delver.com
> http://www.musicglue.com
> http://www.castleproject.org
> http://www.gotfriends.co.il
>
> >
>


-- 
Jan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to