Is it possible to example use:
String sql = "DELETE field FROM table1, table2 WHERE field='x', field='y'";
To delete multiple fields from multiple tables? I ask because I am using creating a clean up method that will go through and delete all references to an object in all of my database tables when I delete that object and it seems easier to add everything into one sql statement as opposed to building a separate sql for each table and then executing each one individually. If one statement isn't possible is there another solutions? Such as building an sql array perhaps and then executing all with one command?