Jump to content
We've recently updated our Privacy Statement, available here ×

Which version run on jdk1.4 and oracle 8i


jiechu

Recommended Posts

Hi

I have a question for the version of oracle 8i. If I create a new report in IReport and oracle 8i, such as with the sql is "select
(case when $P{InputDate}=to_date('01/01/1970', 'mm/dd/yyyy')  then X.birthday else $P{InputDate} end) as trueBirthday
from (select birthday from A) X".

It will display "ORA-00932: inconsistent datatypes" and "at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)...

The enviroment is iReport 2.0.2, oracle client 10.2.0. In oracle, the column is Date type and in iReport the field is java.util.Date.

If the oracle is 9i or 10g, it works fine.

Does anybody know why it cannot work on oracle 8i and how to resolve it?

Many thanks.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...