> Afterwards called "build prepare-testdb". > Resulting error: "Failed to execute CREATE TABLE OBJ_DMAP_ENTRIES(ID NUMBER NOT > NULL, DMAP_ID NUMBER NOT NULL, KEY_OID LONG RAW, VALUE_OID LONG RAW) > [torque-insert-sql] java.sql.SQLException: ORA-01754 a table may contain only > one column of type LONG
> Ok, this message is as clear as can be. Should i use another version of JB > rather than 0.97 or should i change an XML-file (which one?) containing the > definition of OBJ_DMAP_ENTRIES? If i�m utterly clueless (other possibility) > excuse me please, i just started on this. Easiest fix is to edit these two files: src/schema/ojbcore-schema.xml < <column name="KEY_OID" type="LONGVARBINARY"/> < <column name="VALUE_OID" type="LONGVARBINARY"/> --- > <column name="KEY_OID" type="VARBINARY"/> > <column name="VALUE_OID" type="VARBINARY"/> src/test/org/apache/ojb/repository_internal.xml < column="KEY_OID" < jdbc-type="LONGVARBINARY" --- > column="KEY_OID" > jdbc-type="BLOB" < column="VALUE_OID" < jdbc-type="LONGVARBINARY" --- > column="VALUE_OID" > jdbc-type="BLOB" -- Best regards, David -- To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>
