its sounds, like what you do, are bad. Also, you shouldn't name things like CREATE TABLE, TRUNCATE, COMMIT, etc.
Look at the set of settings for the correct creation and deletion of tables, read the api on how to do transactions. things like http://api13.cakephp.org/class/data-source#method-DataSourcebegin
also, the table name must be multiple for the cake in order to be able to do this automatically, so your example will not work.
You can get an instance of the model by doing
$Something = ClassRegistry::init(Inflector::classify($tableName . '_suffix'));
dogmatic69
source share