[boost] Re: Serialization to relational table

2002-11-20 Thread Arkadiy Vertleyb
> With run-time relational libray you also can do joins, projections .. > but without compile-time type safety. So, you have to use some kind of "variant"? I think this solution still limits which types can be used. Am I wrong? > I was thinking about some simple variant of rtl::table with prede

[boost] Re: Serialization to relational table

2002-11-20 Thread Bohdan
"Arkadiy Vertleyb" <[EMAIL PROTECTED]> wrote in message ared23$aod$[EMAIL PROTECTED]">news:ared23$aod$[EMAIL PROTECTED]... > > Note! My knowledges about RTL are far from good. Just first glance. > > I failed to compile rtl with my compiler. Will try once again. > > Which compiler are you using? S

[boost] Re: Serialization to relational table

2002-11-19 Thread Bohdan
"Arkadiy Vertleyb" <[EMAIL PROTECTED]> wrote in message arecso$9uf$[EMAIL PROTECTED]">news:arecso$9uf$[EMAIL PROTECTED]... > Bohdan, > > If I understand correctly you have some way to split an object into fields. > After you do it, what are your fields, strings? No. Field type is also defineable

[boost] Re: Serialization to relational table

2002-11-19 Thread Arkadiy Vertleyb
> Note! My knowledges about RTL are far from good. Just first glance. > I failed to compile rtl with my compiler. Will try once again. Which compiler are you using? So far we only support VC6 and g++. Arkadiy ___ Unsubscribe & other changes: http:/

[boost] Re: Serialization to relational table

2002-11-19 Thread Arkadiy Vertleyb
Bohdan, If I understand correctly you have some way to split an object into fields. After you do it, what are your fields, strings? If so, this is good enough for putting an object in the grid, but we actually try to achieve different goals. We are implementing relational algebra -- joins, proje

Re: [boost] Re: Serialization to relational table

2002-11-19 Thread Wesley W. Terpstra
On Tue, Nov 19, 2002 at 05:59:53PM +0300, Vladimir Prus wrote: > I'm not a database expert, so my knowledge may be just rusty. However, I > never heard about composite types in relational tables, and never seen > anything like that in MySQL. Looking at MySQL docs right now, I indeed see > no mentio

Re: [boost] Re: Serialization to relational table

2002-11-19 Thread Vladimir Prus
Bohdan wrote: "Vladimir Prus" <[EMAIL PROTECTED]> wrote in message arb8od$c87$[EMAIL PROTECTED]">news:arb8od$c87$[EMAIL PROTECTED]... Bohdan wrote: I believe that XML can contain any data. But i suspect that XML garbaged with all serialization stuff will be 1. unreadeable 2. difficul

[boost] Re: Serialization to relational table

2002-11-19 Thread Bohdan
> Sure it is, but I can't claim I understand what you mean in this particular > case... > > Arkadiy Sorry, i was unclear. I should look at RTL closer to find similarities and differences to my idea. But first glance reveals difference between two: RTL : all classes are templates and one can adapt

[boost] Re: Serialization to relational table

2002-11-19 Thread Arkadiy Vertleyb
"Bohdan" <[EMAIL PROTECTED]> wrote in message ardf7q$4h3$[EMAIL PROTECTED]">news:ardf7q$4h3$[EMAIL PROTECTED]... > > "Arkadiy Vertleyb" <[EMAIL PROTECTED]> wrote in message > arc2ra$nhv$[EMAIL PROTECTED]">news:arc2ra$nhv$[EMAIL PROTECTED]... > > "Bohdan" <[EMAIL PROTECTED]> wrote in message > > arb

[boost] Re: Serialization to relational table

2002-11-19 Thread Bohdan
"Arkadiy Vertleyb" <[EMAIL PROTECTED]> wrote in message arc2ra$nhv$[EMAIL PROTECTED]">news:arc2ra$nhv$[EMAIL PROTECTED]... > "Bohdan" <[EMAIL PROTECTED]> wrote in message > arb73a$2gm$[EMAIL PROTECTED]">news:arb73a$2gm$[EMAIL PROTECTED]... > > > Recently there were talks about ditto & relational

[boost] Re: Serialization to relational table

2002-11-18 Thread Arkadiy Vertleyb
"Bohdan" <[EMAIL PROTECTED]> wrote in message arb73a$2gm$[EMAIL PROTECTED]">news:arb73a$2gm$[EMAIL PROTECTED]... > Recently there were talks about ditto & relational algebra libraries. > Also there was message about stl container on disk. > As i understand at least some of these libs require spe

Re: [boost] Re: Serialization to relational table

2002-11-18 Thread Joachim Achtzehnter
Today, in a message to boost, Vladimir Prus wrote: > > Bohdan wrote: > > > > serialization: Object <-> Relational tuple (object-relational mapping). > > Wouldn't there be a problem with converting object with variable size? > How can you store vector in a relational database? I don't see an > easy

[boost] Re: Serialization to relational table

2002-11-18 Thread Bohdan
"Vladimir Prus" <[EMAIL PROTECTED]> wrote in message arb8od$c87$[EMAIL PROTECTED]">news:arb8od$c87$[EMAIL PROTECTED]... > Bohdan wrote: > > I believe that XML can contain any data. But i suspect that > > XML garbaged with all serialization stuff will be > > 1. unreadeable > > 2. diffic

[boost] Re: Serialization to relational table

2002-11-18 Thread Vladimir Prus
Bohdan wrote: I believe that XML can contain any data. But i suspect that XML garbaged with all serialization stuff will be 1. unreadeable 2. difficult to handle automatically (by other programs). So i was thinking about simplifying Object <-> XML serialization. Recently there were