Hi,
I'm getting the following compilation error:
bad operand types for binary operator '!='; first type: oracle.jbo.domain.Date; second type: <null type>
when I try to compare a Date object with null, for example:
public static Calendar jboDateToCalendar(Date d) {
if (d != null && d.getValue() != null) {
Calendar c = Calendar.getInstance();
c.setTime(d.getValue());
return c;
}
return null;
}
I'm using JDev 12.1.3. running with Java 1.7.0_75.
Does anyone have an idea? Never saw this error before.
Brackets don't help btw.
Thanks
Johannes