Please help on OJB+Xdoclet+Torque

2005-06-15 Thread dyp
Hello, all. We are developing web-application for cocoon with ojb and trying to generate all ojb and sql stuff from the source java files. We use ojb 1.0.1, xdoclet-ojb-module-1.2.2, torque-gen-3.1.1 and mysql. == PROBLEM == The plot: We have java classes with xdoclet tags. From those we generate

OJB 1.0.3 error reading Oracle LONG through reference

2005-06-15 Thread Ravi Aramanethota
Hi I am trying to upgrade our application from OJB 0.97 to OJB 1.0.3. When I try to read objects with database column type LONG in oracle I get the exception "java.sql.SQLException: Stream has already been closed". This happens only when this abject is retrieved as reference from other obj

Please help on OJB+Xdoclet+Torque

2005-06-15 Thread dyp
Hello, all. We are developing web-application for cocoon with ojb and trying to generate all ojb and sql stuff from the source java files. We use ojb 1.0.1, xdoclet-ojb-module-1.2.2, torque-gen-3.1.1 and mysql. == PROBLEM == The plot: We have java classes with xdoclet tags. From those we generate

repository.xml extending

2005-06-15 Thread Stas Ostapenko
Hi ! I need to add some custom XML code into repository.xml. OJB begin to work without problems only after patching org.apache.ojb.broker.metadata.RepositoryTags. What is the best way to implement it ? Thanks.

primary key problem sql server

2005-06-15 Thread Alessandro Colantoni
Hi I'm using ojb 1.0.1 with sql server. When I store an object, and then I delete it directly on the db I can't insert it a second time. Before storing I use to check if an object with the same key exists. ojb doesn't detect any object with the same key (correctly... I deleted it) But when stori