Niels Nes wrote:
On Tue, Feb 05, 2008 at 02:30:21PM +0100, Michael wrote:
Hi folks,
I just installed MonetDB.
what platform? what version?
I tried to run the simplest examples and failed. :-( The MAL Reference does not semm really helpful though to me.
what console are you using? On linux consider the following session trace:
prompt> mserver5 # MonetDB server v5.3.0, based on kernel v1.21.0 # Serving database 'demo' # Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked # Copyright (c) 1993-2007 CWI, all rights reserved # Visit http://monetdb.cwi.nl/ for further information #warning: please don't forget to set your vault key! #(see /ufs/mk/monet5//Linux/etc/monetdb5.conf) # Listening for connection requests on mapi:monetdb://127.0.0.1:50000/
io.print("hello world"); [ "hello world" ]
the source distribution contains hundreds of MAL programs for inspiration.
My questions is, is it possible to use the DB as an embedded server with a Java application? The exampled displayed a C example only. Is it possible to communicate to the server with MAL?
I want to write a backend for the Apache Directory Server. I want MonetDB to be it. I want to transform LDAP requests to MAL and get results back form the server.
Is this possible at all with this DB? FYI: I am a C illiterate
Interesting project. Using MAL at the java/jdbc layer is however only supported with a fixed set of rules. The most important one being, you have to take care of sending the right 'result sets' from the server, ie sent correct tabular results.
Embedding of monetdb is only possible with C code. So if wrapping using jni (or so) is possible then monet could run with java as well.
Could you point us to the examples which failed for you, probably we should improve the documentation.
Niels
Mike -- <NO> OOXML - Say NO To Microsoft Office broken standard http://www.noooxml.org
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users