- 博客(5)
- 资源 (6)
- 收藏
- 关注
原创 Duplicate entry '1-9' for key 'PRIMARY'
2015-4-21 16:58:13 org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptionsWARN: SQL Error: 1062, SQLState: 230002015-4-21 16:58:13 org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExcept
2015-04-21 17:01:56 21453 1
转载 实体类注解错误:Could not determine type for: java.util.Set
今天配置实体类注解时,出现以下错误: Caused by: org.hibernate.MappingException: Could not determine type for: java.util.Set, at table: test_plan, for columns: [org.hibernate.mapping.Column(routing_case)]
2015-04-20 13:38:12 7559 1
原创 org.hibernate.AnnotationException: No identifier specified for entity
@Id注解应该放在get方法前,错把@Id放在了set方法上,出现以上异常。
2015-04-16 19:36:24 1121
原创 关于异常: org.hibernate.HibernateException: No Session found for current thread
org.hibernate.HibernateException: No Session found for current thread在service类前加上 @Transactional。
2015-04-16 17:29:06 583
原创 关于<c:forEach>取得集合数量的问题
网上看到这个问题其中使用了:http://java.sun.com/jsp/jstl/functions"prefix="fn"%>用其length属性可以获得集合数量:${fn:length(list)} (fn后面是冒号)其中的list就是标签中items属性的值试了一下:直接用集合的size方法也行。
2015-04-16 16:26:28 19610
java并发编程实战(含随书源码)
2017-11-06
PL-2303 USB TO 232 win7 可用驱动
2011-08-26
FusionChartsFree
2009-07-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人