81,092
社区成员
发帖
与我相关
我的任务
分享
package tc;
import java.util.Iterator;
import org.hibernate.cfg.Configuration;
public class GetTableName {
public void show(){
Configuration cf = new Configuration();
Iterator it = cf.getTableMappings();
while(it.hasNext()){
String s = (String)it.next();
System.out.println(s);
}
}
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}