
hibernate
文章平均质量分 81
curiousby
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Java 注解 阐释 hibernate ORM
@Table("student") public class Filter { @Column("id") private int stuId; @Column("name") private String stuName; @Column("email") private String email; public int getStuId() { return stuId; }2015-07-24 09:35:36 · 114 阅读 · 0 评论 -
hibernate exception (cannot simultaneously fetch multiple bags)
der.entity.EntityLoader.<init>(EntityLoader.java:119) at org.hibernate.loader.entity.EntityLoader.<init>(EntityLoader.java:71) at org.hibernate.loader.entity.EntityLoader.<init>(EntityLoader.java:54) at org.h2017-12-28 15:07:28 · 150 阅读 · 0 评论 -
springboot,hibernate,exception no session 问题解决
ication_is_service as applicat3_0_, applicatio0_.application_key as applicat4_0_, applicatio0_.application_name as applicat5_0_, applicatio0_.application_secret as applicat6_0_, applicatio0_.application_type as applicat7_0_, applicatio0_.developer_id as de2017-12-25 18:38:11 · 417 阅读 · 0 评论 -
springmvc hibernate 权限管理 权限位 权限码
ame` varchar(255) DEFAULT NULL, `right_pos` int(11) DEFAULT NULL, `right_url` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 CREATE TABLE `t_role` ( `id` int(11) NOT NULL AUTO_INCREMENT,2016-11-22 10:20:52 · 213 阅读 · 0 评论 -
hibernate alias 使用
ean(MenuVo.class) 并非 内链接 ,注解内链接请看上面博客 package com.cailing.menu.entity; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationT2016-04-19 16:01:15 · 472 阅读 · 0 评论 -
hibernate 自连接 注解 item parentItem ( 非级联删除 , 级联查询)
sponses with characteristics not acceptable according to the request "accept" headers () @org.hibernate.annotations.Proxy(lazy = false) 解决该bug: hibernate load() get() bug ,,session 提前 close 问题 package com.cmcc.cailing.entity; im2016-04-13 14:32:52 · 418 阅读 · 0 评论 -
spring + struts + hibernate demo
LSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">2015-12-07 11:09:18 · 164 阅读 · 0 评论 -
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class> </filter> <filter-mapping> <filter-name>hibernateOpenSessionInViewFilter</filter-nam原创 2015-11-06 18:08:05 · 135 阅读 · 0 评论 -
hibernate blob 对象序列化保存
elp.entity; import java.io.Serializable; import java.sql.Blob; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import jav2015-11-06 17:30:34 · 234 阅读 · 0 评论 -
hibernate 使用
Session; import org.hibernate.criterion.CriteriaSpecification; import org.hibernate.criterion.Criterion; import org.hibernate.criterion.Disjunction; import org.hibernate.criterion.MatchMode; import org.hibernate.criterion.Order; import org.hibernate.2015-09-01 12:22:40 · 125 阅读 · 0 评论 -
hibernate 报错 SQL Error: 1062, SQLState: 23000
ask : ===================== scheduled ==================== 2018-04-12 10:50:35.164 INFO 10708 --- [cTaskExecutor-5] s.s.govZone.linstener.EventListener : ========================showandshare.spider.govZone.event.CityEvent[source=showandshare.sp2018-04-12 13:56:10 · 1038 阅读 · 0 评论