« May 2005 | Main | July 2005 »

June 27, 2005

ScalaDBC, ScalaDALL and al.

This blog has been a little forsaken. But with this heat-weave over Europe, it is the right time to bring it back to life (all right, that isn't a reason). So here is my current status:

ScalaDBC, the generic database library for Scala is more or less working. Well, actually it is working as far as I can tell, but I haven't put it through any serious testing (special cases etc.). There are two things that need to be finished though:

  1. Automatic type conversion of database types to native Scala types using views. Bug #449 is a problem here, but I can't quite understand how and why.
  2. A factory (and I mean a real hard-core factory) to write statement (queries) AST in a nice way. This is already partially working (one can write "selectBag fields ("a", "b" as "c") from ("a" join "b")") but it isn't supporting quite enough of the SQL standard to be useful yet. Currently, I'm stuck with a bug that might be a Scala bug, but I still have to track it down to be sure.

ScalaDALL is the name I am giving to the database library using for-comprehensions and specific optimisations that is the next task after ScalaDBC. I have started some exploratory work for this as I was really getting frustrated with the bugs that where hindering the advance of ScalaDBC. But there isn't anything really working yet.

Otherwise, I also did a little poster that you can find next to my office's door.