Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: yanweibing/bboss

Tags

v5.8.0

Toggle v5.8.0's commit message
改进request listener,增加获取httpservletrequest静态方法

v5.7.2

Toggle v5.7.2's commit message
调整版本号为6.1.5

json工具方法改进:解决集合对象转换不起作用问题,增加数组转换方法
		List<Po> dd = new ArrayList<Po>();
		Po p = new Po();
		p.setId("id");
		p.setName("name");
		dd.add(p);
		p = new Po();
		p.setId("id1");
		p.setName("name1");
		dd.add(p);;
		String json = SimpleStringUtil.object2json(dd);
		dd =  (List<Po>) StringUtil.json2ObjectWithType(json,new JsonTypeReference<List<Po>>(){});
		System.out.println(dd);
		dd = SimpleStringUtil.json2ListObject(json,Po.class);
		System.out.println(dd);
		Set<Po> se = SimpleStringUtil.json2LSetObject(json,Po.class);
		Po[] a = SimpleStringUtil.json2LArrayObject(json,Po.class);
		json2ListObject("",Po.class);

v5.6.6

Toggle v5.6.6's commit message
修复bug:

动态通过ESIndex设置索引名称和索引type不起作用bug
数据同步中context动态设置索引名称和索引type不起作用bug

v5.2.1

Toggle v5.2.1's commit message
跨域访问filter功能完善

v5.1.2

Toggle v5.1.2's commit message
解决mvc weblogic兼容性问题

完善框架启动控制台输出日志信息
修改elasticsearch版本号

v5.1.1

Toggle v5.1.1's commit message
更新版本号和框架依赖

v5.0.3.7.9

Toggle v5.0.3.7.9's commit message
<!--

			采用hostname校验器,证书中使用的alias必须与hostname一致,例如:
			alias为bboss,则服务访问地址必须为:
				https://bboss:8443/xmlrequest/xml/echohttpjson.page
		    如果不指定hostnameVerifier,默认为:SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER
		-->

v5.0.3.6

Toggle v5.0.3.6's commit message
Merge remote-tracking branch 'origin/5.0.5'

v5.0.2.9

Toggle v5.0.2.9's commit message
Merge remote-tracking branch 'origin/5.0.2'

v5.0.2

Toggle v5.0.2's commit message
持久层增加一组updateByKeys操作方法,批量更新记录,支持的key类型有int,string,long,short,使用示例:

public void deleteBatchSmUser(String[] userIds,String user_deltype)
throws SmUserException {
		TransactionManager tm = new TransactionManager();
		try {
			tm.begin();
			if(user_deltype == null ||
user_deltype.equals("0"))//逻辑删除,采用批量更新方法,对应得SQL语句为:
			{
				executor.updateByKeys("logicDeleteUsers", userIds);
			}
			else
			{
				executor.deleteByKeys("deleteByKey", userIds);//物理删除
			}
			tm.commit();
		} catch (Throwable e) {

			throw new SmUserException("batch delete SmUser failed::userIds=" +
userIds, e);
		} finally {
			tm.release();
		}

	}
	对应得批量更新sql配置-logicDeleteUsers
	<property name="logicDeleteUsers">
		<![CDATA[
			update td_sm_user set USER_ISVALID=0  where USER_ID=?
		]]>
	</property>