- 博客(5)
- 问答 (1)
- 收藏
- 关注
hibernate中的lazy load还真麻烦
To lazily load a related class, you must configure the or association element that references the class to use lazy loading. Youmust also disable proxying for the referenced class. For example, yo...
2008-02-01 15:13:25
267
在ORM中,many-to-one和one-to-many
在ORM中,one-to-one和many-to-one都是最简单的(关键就是最后的那个[color=red][b]xx-to-one[/b][/color]),他们都表示以下的类对应关系:public class PendingOrder { private Address deliveryAddress private Restaurant restaurant;}...
2008-01-25 13:54:15
439
hibernate的初始配置
This is an example of a typical Hibernate startup procedure, in one line of code,using automatic configuration file detection:SessionFactory sessionFactory =new Configuration().configure().build...
2007-12-25 14:38:37
153
NODE自动节点需要在ACTION中手动执行leave动作
public void execute(ExecutionContext executionContext) throws Exception { log.info("###############################################"); log.info("### updating the accounting books"); l...
2007-12-06 15:23:15
211
JBPM配置文件修改稿,仅供参考,不过肯定可以用啦
最大的问题就是忘记把hibernate.cfg.xml放在\jbpm\WEB-INF\classes目录下,导致页面报找不到标签的错误。
2007-12-05 11:08:54
142
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人