?? test4.java
字號:
package com.elan.forum.test;
import java.util.Iterator;
import java.util.List;
import org.hibernate.SQLQuery;
import org.hibernate.Session;
import org.hibernate.Transaction;
import com.elan.db.ElHbnDB;
import com.elan.forum.elf.El;
import com.elan.forum.model.ForumUser;
import com.elan.forum.model.view.Forumnewtopic;
import com.elan.forum.model.view.ForumnewtopicId;
public class Test4 {
public static ForumUser f = null;
public static void main(String[] args) throws Exception {
List list = El.getEl().getTopicMgr().getForumnewtopic();
for(int i = 0; i < list.size(); i++) {
Forumnewtopic f = (Forumnewtopic) list.get(i);
ForumnewtopicId fid = f.getId();
System.out.println(fid.getMdname());
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -