R: R: SequenceManagerHighLowImpl: trouble on rc3 - SOLVED?

2003-06-03 Thread Farnea Massimiliano
a,

Just to check: are you saying that it is possible to use the latest JDBC 
driver (that comes with Oracle 9.x) with Oracle 8.1.7?  Do you have a 
link to more information about possible issues doing this?

Thanks,


I'm using the classes12-g.zip (i'm still on JDK1.3) JDBC Driver for Oracle
9.2 on a Oracle 8.1.7 db, and by now it seems to work. Anyway I'm planning
to do a full migration to Oracle9, so I think that I shall not explore
deeply this issue.
My application is using OJB and Turbine and I simply replaced the old
classes12.jar with the new driver.



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



R: SequenceManagerHighLowImpl: trouble on rc3

2003-05-29 Thread Farnea Massimiliano

Hi,

strange!
Could you post a test case or add a test to one of
the existing test cases to reproduce
your problem?


Yes it's strange, I noticed a couple of thing ... that could be wrong:

First of all, the problem seems the storing of the HighLowSequence object.
The maxKey attribute is a 'long' now, so in the repository-internal.xml the 
field descriptor of this attribute should be:

field-descriptor
name=maxKey
column=MAX_KEY
jdbc-type=BIGINT
/


instead of

field-descriptor
 name=maxKey
 column=MAX_KEY
 jdbc-type=INTEGER
/


Anyway, using BIGINT the first store of the sequence works fine but the
followings doesn't work and I got a ClassCastException on a
java.lang.Integer object.

Now I'm playing with some debug on the sequence classes to understand where
this type mismatch could be generated.

I'll try to setup a test case for this issue

Thanks again

Massimiliano Farnea

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