Posts Tagged db4o
db4o: Tools For Adhoc Querying And Modification
Posted by gamlerhart in .NET, db4o on January 15, 2010
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 postdb4o: Transparent-Persistence
Posted by gamlerhart in db4o on December 2, 2009
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 postdb4o: Client-Server and Concurrency
Posted by gamlerhart in db4o on November 6, 2009
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 postdb4o: Queries in Java or Queries Without LINQ
Posted by gamlerhart in db4o on October 26, 2009
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 postdb4o: Single Object-Container Concurrency
Posted by gamlerhart in db4o on October 15, 2009
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 postdb4o: Persistent Classes Tips
Posted by gamlerhart in db4o on October 6, 2009
In the last four posts I’ve mostly talked about db4o itself and how to used it. All this is actually just the necessary evil for our goal, to persist our data. So here are some very basic tips how to model your persistent classes for db4o (well it applies also to other technologies). (All posts [...]
Read complete postdb4o: Transactions
Posted by gamlerhart in db4o on October 1, 2009
So I showed the basics, explained the activation-system and pointed out how db4o manages object-identities. So far so good, but I’ve never explain a very important feature of most databases, the transactions. Time to catch up. (All posts of this series: the basics, activation, object-identity, transactions, persistent classes, single container concurrency, Queries in Java, C# 2.0, [...]
Read complete postdb4o: Object-Identity and High-Level-Caching
Posted by gamlerhart in db4o on September 28, 2009
In the last two posts (#1, #2) we never ever used anything like an id for any object. So how the hell does db4o identify objects? How does it ensure that existing object are updated? (All posts of this series: the basics, activation, object-identity, transactions, persistent classes, single container concurrency, Queries in Java, C# 2.0, [...]
Read complete postdb4o: Activation- & Update-Depth
Posted by gamlerhart in db4o on September 22, 2009
Activation is a very basic concept in db4o. In this post I’ll illustrate what it is, why it’s there and how you handle it. (All posts of this series: the basics, activation, object-identity, transactions, persistent classes, single container concurrency, Queries in Java, C# 2.0, client-server concurrency, transparent persistence, adhoc query tools) The Mysterious Null-Pointer Let’s [...]
Read complete postdb4o, The Basics
Posted by gamlerhart in db4o on September 21, 2009
With this post I start a little series about db4o, an object database. Why? Because I think object databases are a quite unknown technology. Normally when developers talk about databases they mean a relational database. Yes, relational databases are awesome and well known. But there are lots of alternatives out there! Sadly, lots of developer [...]
Read complete post