Messing around with mysql

After setting up a couple of VOs, I proceeded to run the adf model tester. upon which I received the following exception.

java.lang.ClassCastException: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection

A search on the otn forums turned up:

https://forums.oracle.com/forums/thread.jspa?threadID=2409602&tstart=15

Key to correcting this is to swich the jbo.SQLBuilder attribute in am config wizard to be SQL92 instead of Oracle. See screen cap.

 

Also, filtering, sorting on an af:table component seems to only work if the Vo is Eo based.

Advertisements

About wesfang

www.linkedin.com/in/wesfang/ https://twitter.com/wesleyfang
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s