Return-Path: Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 66558 invoked from network); 7 Feb 2003 22:14:31 -0000 Received: from unknown (HELO pluto.sundayta.net) (213.239.45.136) by daedalus.apache.org with SMTP; 7 Feb 2003 22:14:31 -0000 Received: from [217.206.34.202] (helo=sundayta.com) by pluto.sundayta.net with esmtp (Exim 3.35 #1 (Debian)) id 18hGbX-0000GN-00 for ; Fri, 07 Feb 2003 22:04:16 +0000 Message-ID: <3E442FA6.5030407@sundayta.com> Date: Fri, 07 Feb 2003 22:13:58 +0000 From: David Warnock User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ojb-dev@db.apache.org Subject: Firebird and OJB core tables Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I have a problem with the full support for Firebird in OJB. Firebird has a maximum key length that is approx 200 bytes (varies with number and type of columns a bit). But 2 tables defined for the core tables use much longer index key lengths. I guess changing column lengths in OJB_HL_SEQ is not a problem given Firebird has max table and column length of 31 chars. But what about OJB_LOCKENTRY with OID_ VARCHAR (250) and TX_ID VARCHAR (50) in it's index? Can I reduce these lengths by 50? Note that I also have to enforce an asci char set for these to ensure that characters only take 1 byte (I use unicode as the default in most databases). I also have to enforce not null on all primary keys. Do these changes sound OK (I am only using PB and not ODMG at present so probably won't be needing these tables anyway)? Dave -- David Warnock, Sundayta Ltd. http://www.sundayta.com iDocSys for Document Management. VisibleResults for Fundraising. Development and Hosting of Web Applications and Sites.