ofbiz
java手拉手
分享java后端技术
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
EntityListIterator 必须在tranction 中
其他地方没有遇到过这个问题,多线程中遇到了。 所以我加了tranction ,这里有疑惑:为什么其他地方不加可以,在单开一个县城就必须包含在事务中 可能的 原因,主线程的其他地方开启了事物。代码`EntityListIterator eli = null; boolean beganTransaction = false; try {原创 2017-03-03 14:12:48 · 992 阅读 · 3 评论 -
ofbiz 里mini-lang 的查询用法
主键查询和关系的查询<entity-and list="productStoreGroupRollups" entity-name="ProductStoreGroupRollup" filter-by-date="true"> <field-map field-name="productStoreGroupId" from-field="productStoreGroup.productSto原创 2017-04-10 16:50:28 · 414 阅读 · 0 评论 -
在新版ofbiz 中引入quartz 遇到的问题
写在开头: 在ofbiz 中加入了quartz 功能,导入quartz 的jar包,基本quartz就可以使用了,quartz默认用的是内存存储 #org.quartz.jobStore.class: org.quartz.simpl.RAMJobStore 。我们肯定是想长期保存,便于下次使用 ,改成数据库存储的形式。配置写在quartz.properties ,quartz类库会去 classp原创 2017-06-22 16:14:31 · 437 阅读 · 1 评论 -
ofbiz service 参数验证
问题: service 的参数,不能 包含一些特殊字符,例如 < >等,验证的时候回不通过解决方案 使用 URLEncode.encode(参数),将参数编码后传递,传过去后再解码 失败:读代码发现,service验证前先解码了。最后,使用了ofbiz的 Base64 的encode 方式来编码就解不出来了原创 2017-07-16 21:37:47 · 443 阅读 · 0 评论
分享