Julian Maughan of the NHibernate project and I have recently been conversing through email about the state of the NHibernate dialects for Sybase products, including SQL Anywhere. This morning Julian posted an article on the NHibernate Development Google Group. It’s a request for feedback on a proposal to eliminate the existing SQL Anywhere NHibernate dialects [...]
SQL Anywhere NHibernate dialects
September 13th, 2010 · 2 Comments
Tags: NHibernate · SQL Anywhere
NHibernate 3.0.0 alpha is released
August 12th, 2010 · Comments Off
In case you missed it, NHibernate 3.0.0 (alpha) was announced in late July, and both binaries and source code for the new release is now available on sourceforge.net. With the 3.0.0 release, NHibernate includes support for LINQ, along with additional features such as: Along with a long list of bug fixes and improvements, it has [...]
Tags: Database interfaces and persistent objects · NHibernate · SQL Anywhere
Hibernate schema generation using PowerDesigner with SQL Anywhere – part deux
July 6th, 2010 · Comments Off
I have uploaded a Sybase PowerDesigner whitepaper entitled Generating Hibernate 3.0 Persistent Objects with PowerDesigner that describes the comprehensive support within PowerDesigner 12 and up for Hibernate object-relational mappings, including generating Hibernate artifacts such as configuration files, mapping files, and Java class files. In subsequent articles, I’ll look at specific functionality within PowerDesigner’s Hibernate support, [...]
Tags: Hibernate · SQL Anywhere
Hibernate schema generation using PowerDesigner with SQL Anywhere
July 5th, 2010 · 2 Comments
In several earlier posts I have described how to reverse-engineer a SQL Anywhere database to generate Hibernate configuration files and the corresponding Java classes, using Middlegen (now obsolete) with Ant, and the Hibernate Tools plug-in within Eclipse Ganymede. In my experience neither Middlegen nor the Hibernate Tools plug-in are particularly robust. The Middlegen software is [...]
Tags: Database interfaces and persistent objects · Hibernate · SQL Anywhere
Compiling Java to SQL
January 10th, 2010 · Comments Off
On Friday I attended a Distributed Systems seminar at the University of Waterloo given by Christopher Ming-Yee Iu, now a PhD student at EPFL in Lausanne studying under Willy Zwaenepoel. Here’s Ming’s abstract: Instead of using a separate query language like SQL to query databases, many programmers prefer using higher-level abstraction layers like Ruby on [...]
Tags: Database interfaces and persistent objects
New SQL Anywhere 12 NHibernate dialect
January 6th, 2010 · 2 Comments
You can find an NHibernate dialect customized for the Sybase SQL Anywhere 12 server (currently in beta) here. This new SQLAnywhere12Dialect offers support for: The TIMESTAMP WITH TIME ZONE data type (also known as the DATETIMEOFFSET data type); and SEQUENCE values using the new SEQUENCE support in the SQL Anywhere 12 server. SQL Anywhere 12 [...]
Tags: Database interfaces and persistent objects · NHibernate · SQL Anywhere
Object-relational Mappings webcast recording now available online
December 22nd, 2009 · Comments Off
On 15 December I presented a webinar entitled “Object-relational Mappers: Friend or foe?”. A flash recording of this webcast is available here. After entering your contact information, you’ll be automatically redirected to another page and the flash recording will begin immediately.
Tags: Database interfaces and persistent objects · NHibernate
Object-relational Mappers: Friend or foe?
December 7th, 2009 · 6 Comments
On Tuesday, 15 December 2009 I’ll be presenting a one-hour webinar entitled “Object-relational Mappers: Friend or foe?”: Object relational mappers (ORMs) such as LINQ, Hibernate, and ActiveRecord bridge the gap between the relational database world, and the object-oriented world. By abstracting the database into “virtual database objects”, they let programmers develop in any language and [...]
Tags: Database interfaces and persistent objects · Hibernate
Revised SQL Anywhere NHibernate dialect
September 4th, 2009 · 10 Comments
In July I posted a new NHibernate dialect for SQL Anywhere versions 10 and up, which was based on the then-existing NHibernate 2.0.1GA distribution. This week I’ve modified the dialect slightly and compiled and tested it with the latest NHibernate 2.1.0GA distribution; you can download the new dialect source code and NHibernate.DLL libraries here. In [...]
Tags: Database interfaces and persistent objects · NHibernate · SQL Anywhere
Is SQL a failed abstraction?
August 27th, 2009 · 2 Comments
At June’s 2009 ACM SIGMOD Conference, Surajit Chaudhuri of Microsoft Research presented a thought-provoking paper [1] entitled “Query Optimizers: Time to Rethink the Contract?”. Here is the abstract: Query Optimization is expected to produce good execution plans for complex queries while taking relatively small optimization time. Moreover, it is expected to pick the execution plans [...]
Tags: Alternative query languages · Query optimization · Self-managing database systems · SQL Anywhere · SQL Standard

Glenn Paulley is a Director of Engineering at Sybase iAnywhere.
