[Mulgara-general] Mulgara + JRDF

Andrae Muys andrae at netymon.com
Mon Jul 2 13:02:29 UTC 2007


On 23/06/2007, at 1:40 AM, Paul Gearon wrote:

> No, I'm sorry.  I don't know what's happened here.
>
> What I *can* tell you is that JRDF is currently deprecated.  It had  
> some issues with ACID compliance, so it got left behind while the  
> transaction architecture was re-worked.  However, we use the JRDF  
> structures internally, and there is a need for a programmatic  
> interface, so we will be re-enabling it at some point.  But there  
> are higher priority items for us at the moment.
>
It's probably worth noting that the primary ACID problems were  
resolved with the transaction-fixs earlier this year.  However there  
remain problems with blank-node round-tripping in the client-side  
jrdf interfaces - however the server-side interfaces should be ok AFAIK.

> That said, it there no way you can use the ItqlInterpreterBean and  
> issue TQL queries?  This *does* work, and it works for client/ 
> server.  The structures you get back are accessibly  
> programmatically, and are built to scale better.  There isn't  
> anything you can do in JRDF that you can't also do with TQL.

As Paul mentions, most people using Mulgara are using via the query  
interface - either iTQL or directly via the Query API.  If you think  
there is something you need to do via this interface but can't see  
how, let us know as this is considered the primary interface to Mulgara.

> On 6/22/07, Valeriano Sandrucci <vsand74 at hotmail.com> wrote:
> To solve my problems with Mulgara + JRDF I tried to rebuild the  
> code (as
> described in Mulgara documentation).
>
> In particular I used the client-jrdf-dist ant target but I got the  
> following error:
>

> C:\Programmi\Java\mulgara-1.0.0\src\jar\util\java\org\mulgara\util 
> \ResultSetMetaDataImpl.java :63:  
> org.mulgara.util.ResultSetMetaDataImpl is not abstract and does not  
> override abstract method isWrapperFor(java.lang.Class<?>) in  
> java.sql.Wrapper

> javac] C:\Programmi\Java\mulgara-1.0.0\src\jar\util\java\org\mulgara 
> \util\TestResultSet.java :62: org.mulgara.util.TestResultSet is not  
> abstract and does not override abstract method updateNClob 
> (java.lang.String,java.io.Reader) in java.sql.ResultSet

> javac] C:\Programmi\Java\mulgara-1.0.0\src\jar\util\java\org\mulgara 
> \util\UIDGeneratorUnitTest.java :227: warning: non-varargs call of  
> varargs method with inexact argument type for last parameter;

> javac] C:\Programmi\Java\mulgara-1.0.0\src\jar\util\java\org\mulgara 
> \util\UIDGeneratorUnitTest.java :230: warning: non-varargs call of  
> varargs method with inexact argument type for last parameter;

> Where did I go wrong? Is it possible that there are compiler errors?
First, what version of java are you using to compile this?

What is the command line you are using to perform the compile?

I must admit to being slightly bemused seeing ResultSetMetaDataImpl  
and TestResultSet turn up here, as far as I can recall these  
interfaces were deprecated a while back - so it is possible they have  
slipped through and a non-regression tested compile target might have  
uncovered deadcode here.

I'm not sure what's happening with the UIDGeneratorUnitTest, if you  
can get me a compile line and a java version I'll take a look.

Andrae

-- 
Andrae Muys
andrae at netymon.com
Mulgara Consultant
Netymon Pty Ltd





More information about the Mulgara-general mailing list