Actually, for in memory databases *only*, each one of them create a
different in memory database.

On Sep 17, 12:04 pm, Ted Han <[email protected]> wrote:
> Hey Guys,
>
> So DataObjects refers to things via the URI of the datastore.  So you should
> be able to pass that single key into both systems (i'm hypothesizing here)
> in order to get access to the store.
>
> -T
>
> On Fri, Sep 17, 2010 at 10:47 AM, Daniel Ribeiro <[email protected]> wrote:
> > Yes, I've noticed this while I've debugged my way into the guts of
> > both. They kinda instatiate their databases very deep down, and it
> > will require a bit of hacking around to make them talk to each other.
> > DataObjectsAdapter from dm-do-adapter/adapter.rb should do it on the
> > DM-side.
>
> > We'll see how this is needed. After making only the few tests that
> > need both frameworks use it the disk database, I managed to bring back
> > the full test time down to 13 seconds. Hacking Sequel will probably
> > need more justification than 4 seconds.
>
> > On Sep 17, 3:18 am, Markus Schirp <[email protected]> wrote:
> > > Sequel supports DataObjects while DataMapper does too. You should be
> > > able to hook into Sequel or DataMamapper and inject eigther DataMappers
> > > do instance in Sequel or the other way round...
>
> > > Regards,
>
> > > Markus
>
> > > On 09/17/2010 01:56 AM, Daniel Ribeiro wrote:
>
> > > > Is there a way to share the same in memory sqlite3 database? I am
> > > > using Sequel for raw queries, where DM is really lacking, but they
> > > > can't work toguehter unless they share a physical database (which
> > > > pumps our tests from 7 seconds to unbearable 47).
>
> > > > Regards,
> > > > - Daniel
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "DataMapper" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<datamapper%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/datamapper?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to