Date: Sun, 9 Apr 2000 14:28:58 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: girgen@partitur.se (Palle Girgensohn) Cc: freebsd-java@FreeBSD.ORG Subject: Re: Using Java to add records to a DB file Message-ID: <200004092128.OAA38750@bubba.whistle.com> In-Reply-To: <38ECF564.FF1CF779@partitur.se> from Palle Girgensohn at "Apr 6, 2000 10:36:52 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Palle Girgensohn writes: > I need to add records to a Berkeley DB file (the FreeBSD built > in, version 1?) > > While I can find a java interface for the sleepycat.com versions > 2 & 3, the version 1.85 (which has a different API) is hardly > covered by that Java code. > > Has anyone seen or done anything like this? Really, all I need is > to insert a record, nothing more. I've thought about writing such a thing. The first problem is that the dbopen(3) routines call malloc(3) directly, which can confuse any Java runtime rather quickly. So the first step would be 'extracting' these calls in the dbopen(3) stuff to (optionally) go through a user-supplied function vector. Shouldn't be too hard. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004092128.OAA38750>