Published: Jan 03 2014 / 14:21
I would be embarrassed to post garbage code like this. SELECT * FROM TABLE to decide if the table exists and catch and throw a general Exception? WTF. There's a method getMetaData() in JDBC. Look it up and learn something.
Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.
Advertising - Terms of Service - Privacy - © 1997-2014, DZone, Inc.