Hi Gerhard,

thanks again!
Checked in your fixes.

regards,
Armin

Gerhard Grosse wrote:
Hi Armin,

Thanks for the quick fix.

I had to add one change in
org.apache.ojb.broker.metadata.torque.TorqueFieldGenerator.java:

+ import org.apache.ojb.broker.metadata.JdbcType; (line 58)
- int jdbcType = descriptor.getColumnJdbcType(); (line 109)
+ int jdbcType = descriptor.getJdbcType().getType(); (line 109)

then everything in the main source tree compiled perfectly.

There are still some 1.4 dependencies in the junit test source, for
example:
import java.util.logging.Level in org.apache.ojb.p6spy.CountLogger.java.


But I can do without the testcases at the moment, so I'm fine for now.

Thanks again,
Gerhard

On Tue, 09 Dec 2003 20:24:41 +0100, Armin Waibel
<[EMAIL PROTECTED]> wrote:


Hi Gerhard,

Gerhard Grosse wrote:


Hi all,

I just checked out CVS Head and I'm getting compile errors in
org.apache.ojb.broker.util.SqlTypeHelper.java: The methods
CallableStatement.get<Type>(int) are present only since JDK 1.4.

I hope this does not mean that OJB is dropping JDK 1.3 support? Are
there plans/ideas to fix this?

doh! You are right I think CallableStatement methods were introduced to support stored procedures.
I checked in a fix to avoid this. Please get latest CVS version of OJB again.
Thanks for the hint!


regards,
Armin


Thanks!
Gerhard


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to