11 2020 档案

criteria级联查询 一对一但双向关联
摘要:有这么一个关系映射 我需要使用ROE(降序)排列,然后再把stock查出来,然后就可以遍历得到stock在这个查询结果中的排名 Roe(多方) 双向 Stock 双向 Hydm 方案 1使用stock作为查询主体,添加hydm作为条件,然后使用roe的reportValue作为查询条件,然后再用ro 阅读全文

posted @ 2020-11-24 15:27 不打鱼光晒网 阅读(230) 评论(0) 推荐(0) 编辑

Criteria Query常用的查询限制方法 eq gt lt le in like allEq and or isNull isNotNull asc desc
摘要:近期正在使用Criteria Criteria Query常用的查询限制方法 Restrictions.eq() equal,= Restrictions.allEq() 参数为Map对象,使用key/value进行多个等于的对比,相当于多个Restrictions.eq()的效果 Restrict 阅读全文

posted @ 2020-11-24 10:57 不打鱼光晒网 阅读(1071) 评论(0) 推荐(0) 编辑

【easyexcel项目】基于maven的工程使用netbeans调试的时候每次都要unpacking,非常慢
摘要:先看日志,大概花费3分钟完成这些内容,记得之前不会这样解压包的 JPDA Listening Start... JPDA Address: DESKTOP-T5U6SOU:29976 Port:29976 cd E:\heyi\JAVA桌面程序\easyexcel; "JAVA_HOME=C:\\P 阅读全文

posted @ 2020-11-23 15:30 不打鱼光晒网 阅读(646) 评论(0) 推荐(0) 编辑

org.hibernate.ObjectNotFoundException: No row with the given identifier exists
摘要:一个一对一的关联,无法插入数据,报错 org.hibernate.ObjectNotFoundException: No row with the given identifier exists 出错前,在数据表中删除了一个字段,这个字段在程序中也被删除了, 所以暂不清楚 后来clean之后重新de 阅读全文

posted @ 2020-11-23 13:26 不打鱼光晒网 阅读(154) 评论(0) 推荐(0) 编辑

org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing
摘要:Exception in thread "AWT-EventQueue-0" org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient in 阅读全文

posted @ 2020-11-21 10:50 不打鱼光晒网 阅读(173) 评论(0) 推荐(0) 编辑

Unable to resolve name [org.hibernate.connection.C3P0ConnectionProvider] as strategy [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]
摘要:Caused by: org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable to resolve name [org.hibernate.connection.C3P0ConnectionProvide 阅读全文

posted @ 2020-11-12 13:11 不打鱼光晒网 阅读(778) 评论(0) 推荐(0) 编辑

Caused by: org.hibernate.HibernateException: Could not instantiate connection provider [org.hibernate.connection.C3P0ConnectionProvider]
摘要:Caused by: org.hibernate.HibernateException: Could not instantiate connection provider [org.hibernate.connection.C3P0ConnectionProvider] 错误原因和解决办法看这个 阅读全文

posted @ 2020-11-12 10:57 不打鱼光晒网 阅读(443) 评论(0) 推荐(0) 编辑

Exception in thread "AWT-EventQueue-0" org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]
摘要:Exception in thread "AWT-EventQueue-0" org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.conne 阅读全文

posted @ 2020-11-12 10:51 不打鱼光晒网 阅读(165) 评论(0) 推荐(0) 编辑

stm32cubemx无法配置使用HSE
摘要:需要先在pin配置中配置RCC 然后就可以了 阅读全文

posted @ 2020-11-11 15:45 不打鱼光晒网 阅读(1644) 评论(0) 推荐(0) 编辑

W25X10CL串行flash的坑
摘要:hold不接高电平(这里说的是悬空)可能会无法读取数,芯片识别不到,数据也读不到 供电手册说-0.6到+4.6,所以算下来直接怼usb的5v供电也是可以正常读写(仅供应急时使用) 还有一个接好无法识别的情况,暂时没搞定原因 阅读全文

posted @ 2020-11-06 09:16 不打鱼光晒网 阅读(248) 评论(0) 推荐(0) 编辑

easyexcel无对象读取excel好上手高性能优于poi
摘要:<!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel --> <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> <vers 阅读全文

posted @ 2020-11-05 13:12 不打鱼光晒网 阅读(1529) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示