Hmmm...darn portability. Who thought of it anyway ?
Right - the problems as I see it then :
1)Can't use native language like Oracle PL because you want the app to talk to multiple vendors.
2) sql API contains no method for testing table existence
3) Can't rely on SQL because different vendors implement different standards of SQL - cannot rely on ANSI SQL to be implemented by all vendors with which JDBC app will interface.
So - what's left ... as far as I can see, only a ropey patch :
Write a method that executes an SQL SELECT statement from the table which may or may not exist. Depending on the DBMS, this will then either throw an exception (which you would catch with SQLException I think), or return no rows - in either case set a boolean to false, else true.
This probably would work - but bear in mind it is ropey !
Ben