db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wzhao6898@gmail.com" <wzhao6...@gmail.com>
Subject how to retrieve all the tables (tablemap) in the torque database
Date Tue, 18 Oct 2011 17:26:58 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message