Opened 14 years ago

Closed 14 years ago

#303 closed defect (fixed)

Invalid character when connecting to external database

Reported by: zoerb Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.6.0
Component: GAST Version: v2.6.0RC2
Keywords: Cc:

Description

I was trying to hook up GeoNetwork to an Oracle database using gast, but got this error: "ORA-00911: invalid character". To replicate: in gast, fill in the Configuration -> DBMS information, then go to Database -> Setup, and click Setup. You will see it creating all of the tables, but when it gets to "Filling database tables", the invalid character error is thrown. I found that the problem was that gast tries to send the sql commands with semicolons on the end, due to a simple error in DatabaseLib.java. The attached patch fixes this.

Attachments (1)

geonetwork-patch (450 bytes ) - added by zoerb 14 years ago.
Patch

Download all attachments as: .zip

Change History (3)

by zoerb, 14 years ago

Attachment: geonetwork-patch added

Patch

comment:1 by zoerb, 14 years ago

Version: v2.6.0RC1v2.6.0RC2

comment:2 by mcoudert, 14 years ago

Resolution: fixed
Status: newclosed

Committed revision 6554.

Note: See TracTickets for help on using tickets.