XML处理 1.How to create xml ? XDocument customer = new XDocument( new XDeclaration("1.0", "UTF-16", "yes"), new XElement("customer", new XAttribute("id" ...
分类:
其他好文 时间:
2020-06-02 10:58:49
阅读次数:
56
Enterprise Architect UML建模 原作者:joinclear 原博客地址: http://www.cnblogs.com/joinclear UML建模 前言 UML建模资料已经很多了,有人想用有人不用,有人会用也有人不会用,本文只是作者的一篇UML建模总结,不想去写太细,因为真 ...
分类:
其他好文 时间:
2020-06-01 11:56:48
阅读次数:
87
* @RequestMapping 》用于将url跟方法进行绑定,通过访问指定url执行相应的方法 @RequestMapping("/getCustList") public ModelAndView getCustList(){ List<Customer> list = customerSer ...
分类:
移动开发 时间:
2020-05-30 12:36:06
阅读次数:
71
1) 最简单的形式 SQL 代码 --经确认customers表中所有customer_id小于1000均为'北京' --1000以内的均是公司走向全国之前的本城市的老客户:) update customers set city_name='北京' where customer_id<1000 2) ...
分类:
数据库 时间:
2020-05-28 13:37:27
阅读次数:
70
方法名限定查询 方法名限定查询是对JPQL的再封装 按照SpringData提供的方法名定义方法,不需要配置JPQL语句即可完成查询 在IDEA中都有相应的提示 他会按照方法字符判断 public Customer findByCustName(String custName); 然后开始测试 @T ...
分类:
编程语言 时间:
2020-05-27 22:02:03
阅读次数:
96
有时我们在查询某个实体的时候,给定的条件是不固定的,这时就需要动态构建相应的查询语句,在Spring Data JPA中可以通过JpaSpecificationExecutor接口查询。相比JPQL,其优势是类型安全,更加的面向对象。 import java.util.List; import or ...
分类:
其他好文 时间:
2020-05-27 20:55:55
阅读次数:
92
Kafka最初考虑的问题是,customer应该从brokes拉取消息还是brokers将消息推送到consumer,也就是pull还push。在这方面,Kafka遵循了一种大部分消息系统共同的传统的设计:producer将消息推送到broker,consumer从broker拉取消息。 一些消息系 ...
分类:
其他好文 时间:
2020-05-27 09:22:10
阅读次数:
405
showRec:function(obj){window.formData=null;layer.open({type:2,title:‘客户信息‘,content:‘customerShow.jsp‘,maxmin:true,area:layui.setter.area_percent,offset:‘t‘,btn:[‘关闭‘],success:function(layero,index){wi
分类:
其他好文 时间:
2020-05-26 23:25:49
阅读次数:
99
Kafa consumer消费消息时,向broker发出fetch请求去消费特定分区的消息,consumer指定消息在日志中的偏移量(offset),就可以消费从这个位置开始的消息,customer拥有了offset的控制权,可以向后回滚去重新消费之前的消息,这是很有意义的 ...
分类:
其他好文 时间:
2020-05-26 21:58:05
阅读次数:
373
1)首先我们应该启动dubbo的服务注册中心 那我们如何开启dubbo的监控中心呢?我记得我们直接java -jar打开监控中心的jar包就行了,但是我们需要对监控中心的地址进行配置 2)创建三个项目,一个接口项目,一个privider项目,一个customer项目 接口项目只需创建一个manven ...
分类:
其他好文 时间:
2020-05-25 12:42:27
阅读次数:
64