[ANN] db4o 5.0 with Native Queries -
11-16-2005
, 09:36 AM
db4objects is proud to announce the release of version 5.0 of the
Java and .NET open source object database db4o. This release
comes with Native Queries, database queries that can be expressed
in the syntax of your programming language.
The benefits of using Native Queries:
- 100% compile time checked
Since all query code is written in your programming language
(not in strings) all syntax errors will be detected by the compiler.
- 100% object-oriented
Native Queries allow you to use the full power of your programming
language in queries. All constructs are legal: method calls, local
variables, overriding, overloading. You can operate against the public
facade of your classes (getters/properties) or against the private
implementation (fields), as you like.
- 100% refactorable
Since queries are now an integral part of your application, you
can refactor all queries automatically with your development
environment.
- More Productive
Your IDE will help you to write Native Query expressions by
providing autocompletion.
- Fast
Under the hood db4o analyzes native query bytecode / IL code and
converts it to run against database indexes.
You are invited to evaluate Native Queries against your requirements
and experience the benefits.
Here is an example of a Native Query as an appetizer:
IList products = db.Query (delegate(Product product){
return product.Price < 100
&& product.Vendor.Name.StartsWith("d")
&& product.Vendor.Country == Countries.USA;
});
db4o is available for free under the GPL at:
http://www.db4o.com
Enjoy!
--
Carl Rosenberger
Chief Software Architect
db4objects Inc.
http://www.db4o.com |