On 16/03/11 09:18, Rudi Lutz wrote:
Hi!
    I have installed Jena and SDB 1.3.3 and am trying to configure it to work
with MySQL. As far as I can tell everything is configured properly. However
when I run the SDB test suite in testing/testing/manifest-sdb.ttl I get 6
errors and a failure. The failure is a Unicode error that lots of people
seem to get, but the others are "Null bridge" errors whatever they are. Can
anyone suggest a way round this. I have seen a vague suggestion (doing a
Google search) that there may be a patch. Anyone know anything about this?

Try this:

http://openjena.org/repo-dev/com/hp/hpl/jena/sdb/1.3.4-SNAPSHOT/

it's the development build of SDB and has (should have ...) that issue fixed.

Or should I use an earlier version of SDB?

Thanks very much for any help/advice

Regards,
            Rudi

PS I running this on a Mac Air
PPS Here is the output from the test suits:

Test: Unicode-5
------------------- Unicode-5
**** Expected (Standard engine)-------------------------------------------
| p                    | o                |
===========================================
|<http://example/p27>  | "Left arrow:←"   |
|<http://example/p24>  | "E-acute:é"      |
|<http://example/p25>  | "Alpha:α"        |
|<http://example/p26>  | "Arabic 123:١٢٣" |
-------------------------------------------
**** Got (SDB engine)
-------------------------------------------
| p                    | o                |
===========================================
|<http://example/p27>  | "Left arrow:?"   |
|<http://example/p25>  | "Alpha:?"        |
|<http://example/p26>  | "Arabic 123:???" |
|<http://example/p24>  | "E-acute:é"      |
-------------------------------------------
** Failure:  Unicode-5(com.hp.hpl.jena.sdb.test.junit.QueryTestSDB)
   Results sets not the same

This means the database, server or JDBC connection is not set to UTF-8.

If you have control of the server, set it to work in UTF-8 by default.

If you don't, make sure the DB is UTF-8 and also the JDBC connection itself (the DB setting does not affect the connection - the default server setting does)

http://openjena.org/wiki/SDB/NotesMySQL

        Andy

  • SDB Errors Rudi Lutz
    • Re: SDB Errors Andy Seaborne

Reply via email to