Posts Tagged db4o

Updates for db4o LINQPad Driver

I’ve updated my LINQPad driver for db4o (Here’s an feature-overview). Besides tons of little bugfixes there are also two major scenarios which are now supported: Read Support for Enums supported in for an enum type. db4o only stores the actual number of enum values. Previously the driver just crashed when it encountered an enum. Now [...]

Read complete post

,

No Comments

LINQPad db4o Driver: Feature Overview

This time I’m giving a small feature overview for my LINQPad driver for db4o. I promise that is the last post about this for a while =). Why now? Because I’ve implemented the core set of features and now it is has reached a usable state. Installation Well, just take a look at my previous [...]

Read complete post

, ,

9 Comments

Making of the db4o LINQPad Driver: Generate Code

In the previous posts I showed you how to write LINQPad drivers and how to read the meta data out of db4o. This time I show the last piece for a functional driver, the code generation. Code generation is required to dynamically create the query context and entities for LINQPad. Side note: I’ve fixed more [...]

Read complete post

, ,

No Comments

Making of the db4o LINQPad Driver: Meta-Data

This time I’m going to look at the meta-data required for the db4o driver. First I’m showing how to get the meta-data from db4o. Then I explain some internal details of the driver internal representation of this information.   Side note: I’ve integrated lots of improvements into the driver. It now should work with (one [...]

Read complete post

,

No Comments

db4o Driver for LINQPad

Way back in my posts about db4o I complained about the missing tool support. I also demonstrated how to use LINQPad for ad hoc queries. However wouldn’t it be cooler if you can access db4o databases more directly with LINQPad? Like a relational databases? Well that’s possible by creating a driver for LINQPad. That’s what [...]

Read complete post

, ,

2 Comments

db4o: Tools For Adhoc Querying And Modification

Remember my very first post about db4o? There I’ve made the statement that the tool-support is very bad. Well I don’t revise my opinion here. The situation is still bad compared to the relational database world. Mostly that’s because relational databases have a giant user base, are well known and have some common interfaces (JDBC, [...]

Read complete post

,

No Comments

db4o: Transparent-Persistence

It has been a while since I’ve wrote my last post about db4o. You may remember the post about the activation-mechanism. Don’t you think that this is quite painful? Activating objects with the right activation depth and so forth? Wouldn’t it be nice if db4o actually activates the objects as soon as you need then? [...]

Read complete post

,

No Comments

db4o: Client-Server and Concurrency

So far we’ve always used a single object container. This it the simplest way to used db4o. Just open an embedded database an use it. In this post I’ll give a short introduction to the client-server-features of db4o. Handling concurrency is more challenging in a server-client scenario, therefore I also loose a few words about [...]

Read complete post

,

12 Comments

db4o: Queries in Java or Queries Without LINQ

Before I continue with client-server concurrency I explain how to run queries against a db4o database without LINQ. Most of the stuff in db4o works on every platform. The API is nearly the same in Java and .NET, except the different naming-convections. The lucky .NET developers have one big advantage over Java, they have LINQ [...]

Read complete post

,

1 Comment

db4o: Single Object-Container Concurrency

Today nearly every application has some concurrent parts. In a classic desktop-application some work is done in the background to keep the application responsive. In a web-application more than one request are handled concurrently. There’s no escape from the challenges of concurrent programs.  (All posts of this series: the basics, activation, object-identity, transactions, persistent classes, [...]

Read complete post

,

No Comments