[Dart] Dart2 and PostgreSQL: questions and patch

Markus Grabner grabner at icg.tugraz.at
Mon Jan 7 10:40:39 EST 2008


	Hi!

*) In http://public.kitware.com/pipermail/dart/2007-October/001842.html, 
Daniel noted that the "primary key primary key" bug has been fixed, however I 
still run into the same problem with revision 440. Is the bug fix available 
anywhere else? In the meantime I manually fixed the affected files as 
explained in the above-mentioned thread.

*) Since both the server database and all project databases contain the 
table "version", it seems to be required to create a separate (PostgreSQL) 
database for each Dart project. Is this really the recommended setup, or can 
I get along with a single database devoted to Dart (server + project) or 
maybe two databases (one for the server, a second one for all projects)? 
Having a common database for all Dart projects would be desirable because one 
could then add Dart projects without PostgreSQL administration permissions.

*) A workaround for the NullPointerException problem reported by Ted Berg is 
attached. I only tested it with PostgreSQL, but according to the jdbc 
documentation I tend to believe that this could also work with Derby and 
MySQL.

	Thanks & kind regards,
		Markus


-- 
Markus Grabner - Computer Graphics and Vision
Graz University of Technology, Inffeldgasse 16a/II, 8010 Graz, Austria
Phone: +43/316/873-5041, Fax: +43/316/873-5050
WWW: http://www.icg.tugraz.at/Members/grabner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gettables-pgsql.patch
Type: text/x-diff
Size: 649 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/dart/attachments/20080107/0f9fee79/gettables-pgsql.bin


More information about the Dart mailing list