![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibernate
文章平均质量分 77
haofeng88885678
这个作者很懒,什么都没留下…
展开
-
hibernate连接数据库报错
ORA-01017: invalid username/password; logon deniedException in thread "main" org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.han...原创 2009-07-27 15:47:06 · 239 阅读 · 0 评论 -
hibernate Dap
Java代码package com.haofeng.dao; import java.io.Serializable; import java.lang.reflect.ParameterizedType; import java.util.List; import org.hibernate.Se...原创 2009-07-29 11:17:51 · 100 阅读 · 0 评论 -
Hibernate 泛型Dao
Hibernate泛型DAO编写Spring+Hibernate框架下的应用,总是离不了编写一个通用的泛型GenericHibernateDao。查阅了网上不少的GenericHibernateDao实现,归纳整理为如下实现,供后续编码参考。首先定义接口泛型DAO接口 GenericDaopackage com.th.huz;import java.io.Seriali...原创 2009-07-29 11:48:37 · 104 阅读 · 0 评论 -
Hibernate题目
1)一般情况下,关系数据模型与对象模型之间有哪些匹配关系(多选)A)表对应类B)记录对应对象C)表的字段对应类的属性D)表之间的参考关系对应类之间的依赖关系(2)以下关于SessionFactory的说法哪些正确?(多选)A)对于每个数据库事务,应该创建一个SessionFactory对象B)一个SessionFactory对象对应一个数据库存储源。C)Sess...原创 2009-08-22 13:30:34 · 102 阅读 · 0 评论