how to retrieve all the tables (tablemap) in the torque database

"[email protected]" <[email protected]> Tue, 18 Oct 2011 10:26:58 -0700
Newsgroups gmane.comp.jakarta.turbine.torque.user
Message-ID <CAOxxrjvn+cUw2g_7WQSfuiYfHShMe7E3r7rm+u6nojkhnkYsrQ@mail.gmail.com>
--bcaec521572b04404c04af96097f
Content-Type: text/plain; charset=ISO-8859-1

Hi there,

I'm trying to retrieve all the tables in the default database specified in
schema.xml file. I tried:

DatabaseMap dm =  Torque.getDatabaseMap();
dm.initialize();
System.out.println(dm.getTables().length);

but only a subset of tables are returned, am I doing something wrong here.
Torque version is 3.3.
Thanks in advnace!

David

--bcaec521572b04404c04af96097f--