[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Unable to compile with ajc
|
Here ajc should be the same as javac. Try importing CLOB or qualifying reference thereto. E.g.,
import oracle.sql.CLOB;
...
CLOB clob = CLOB.createTemporary(conn,false,CLOB.DURATION_CALL)
Wes
> ------------Original Message------------
> From: Kaushik S <kaushik_spock@xxxxxxxxx>
> To: aspectj-users@xxxxxxxxxxx
> Date: Mon, Jul-26-2004 3:05 PM
> Subject: [aspectj-users] Unable to compile with ajc
>
> Hi,
>
> I have defined an aspect to log all exceptions raised
> in the application. In the application i have a
> DBUtils class that has a bunch of DB utilities. One of
> the statements in the code is
>
> oracle.sql.CLOB clob =
> CLOB.createTemporary(conn,false,CLOB.DURATION_CALL);
>
> When i compile this class with ajc it gives me
> "CLOB.DURATION_CALL cannot be resolved" error even
> though it is in classpath. I tried in both cmd prompt
> and ajdt and eclipse but am getting same error. But it
> compiles properly with javac compiler.
>
> Can you please let me know why i am getting this error
> and what i would need to do in order to fix it ?
>
> Thanks in Advance.
>
> Thanks
> Kaushik
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
>