views:

543

answers:

3

I'm playing around with db4o, and I have the Object Manager viewer thingy for Visual Studio. It seems okay, but not exactly on par with tools like HeidiSQL/SQL Studio/etc., not to mention that it locks the db4o file--I can't use my db4o app and Object Manager at the same time.

Maybe I'm using it wrong, but regardless, I'd like to know what else is out there. What tools would you recommend for looking at and manipulating db4o files?

UPDATE: I've been using LINQPad. There is some yak-shaving involved, but it's working pretty well. It still leaves a lot to be desired in terms of the functionality available in applications like HeidiSQL/SQL Studio/etc., but it's a start.

+1  A: 

Me too. I've been using DB4O for a few years, and have found the Object Manager clumsy, and often buggy (sometimes it won't open my large DB4O database at all).

I know of no alternatives, unfortunately.

Judah Himango
Maybe we should write one then, if there really aren't any good alternatives?
mgroves
Sounds good to me. Send me a patch for that. :-)
Judah Himango
Sorry, when I said "we", I really meant "you" :-P
mgroves
Yep, so when I read "we", I figured it meant "you", Mr. Groves. ;-)As for me, I've got my hands full at the moment.
Judah Himango
Well, if I still don't hear of any alternatives, I'll eventually start a project, which you will be welcome to participate in should your hands get freed up :)
mgroves
Fair enough. Email me if you start: judahgabriel at gmail
Judah Himango
+5  A: 

I suggest you use LINQPad as a first start.

Gamlor has a great tutorial on how to use LINQPad with db4o. You'll need to modify that a bit so you use client-server access (thus not locking your db).

I don't want to re-post his code here, because I think it's pointless and he's also a user here, don't wanna win his laurels.

For me, LINQPad seems to be the best approach, also because I can use it on my server, where I'd be having trouble with OME for obvious reasons.

mnemosyn
I didn't even think about LINQPad in that context: good call.
mgroves
Yes, LINQPad isn't a bad choice. But without the domain-classes (or in the Java world) it's useless. So the search for a excellent ad hoc query/diagnostic tool for db4o goes on.
Gamlor
But is that really a common scenario? I mean, you typically will have the model binaries at hand, won't you?
mnemosyn
Yes, you normally have the model binaries around. But would it be easier if you don't have to setup LINQPad?
Gamlor
Yeah it would be. Do you know of something that does that? :)
mgroves
+2  A: 

Hi,

We have discussed integrating some kind of "interactive LINQ query" into Object Manager (.Net of course :).

If you think this would be a nice feature, please vote in the issue here.

Also, any input on how to improve Object Manager is welcome.

Vagaus
Sounds like a good idea. Maybe a LINQPad plugin would be easier? Also, what about locking the db4o file when using OM? That can be very frustrating.
mgroves
Not locking the file can lead to database corruption. The solution (IMHO) is to use it in C/S mode (but your app needs to use the same mode of course)Regarding a LINQPad plugin it may have some potential issues (for instance licensing). To be honest, I am not used to LINQPad.
Vagaus