Is there a NHibernate.Driver.XmlDriver ?

2 views
Skip to first unread message

bigAPE

unread,
Aug 7, 2008, 8:41:37 PM8/7/08
to nhusers
Just wondering if anyone has ever considered creating an NHibernate
driver/dialect for writing to/from XML files (one file per table,
etc). Why would anyone want this ? No idea, just spinning ideas here.

Discuss

Al

Ayende Rahien

unread,
Aug 8, 2008, 9:02:47 AM8/8/08
to nhu...@googlegroups.com
It would be very complicated, just consider joins

Tuna Toksöz

unread,
Aug 8, 2008, 9:04:15 AM8/8/08
to nhu...@googlegroups.com
and performance killer, it seems.
--
Tuna Toksöz

Typos included to enhance the readers attention!

Fabio Maulo

unread,
Aug 8, 2008, 9:20:31 AM8/8/08
to nhu...@googlegroups.com
Do you mean something like this ?
<customer id="123456789">
<account id="987632567" short-desc="Savings">
<customer id="123456789"/>
<balance>100.29</balance>
</account>
<account id="985612323" short-desc="Credit Card">
<customer id="123456789"/>
<balance>-2370.34</balance>
</account>
<name>
<first-name>Gavin</first-name>
<initial>A</initial>
<last-name>King</last-name>
</name>
...
</customer>

Yes, we will have it in NH2.1
--
Fabio Maulo

Ricardo Borges

unread,
Aug 8, 2008, 10:12:36 AM8/8/08
to nhu...@googlegroups.com
How about JSON serialization?
 
Is dynamic proxy for Lazy load collections a problem for Json serialization?


 
2008/8/8 Fabio Maulo <fabio...@gmail.com>
Reply all
Reply to author
Forward
0 new messages