`
maishj
  • 浏览: 84039 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
<一>表说明: 当在启动ActiveMQ时,先判断表是否存在,如果不存在,将去创建表,如下: (1)ACTIVEMQ_ACKS:持久订阅者列表 1.CONTAINER:类型://主题 如:topic://basicInfo.topic 2.SUB_DEST:应该是描述,与1内容相同 3.CLIENT_ID:持久订阅者的标志ID,必须唯一 ...
仓促总结下。 //clientID必须唯一 conn.setClientID(clientID); //参数1:发送主题目的地,参数2:持久订阅者名字,参数3:消息过滤条件,参数4:是否只接收同一clientID的信息,默认false MessageConsumer consumer=session.createDurableSubscriber((Topic) destination,subName,"selector = apple",noLocal);
hql="from AskBuy as a where a.userID = ? order by ? desc "; Query query=session.createQuery(hql); query.setParameter(0, userId); query.setParameter(1,time); query.setMaxResults(5); 查询出来 排序无效. 纠结好久都没法解决,最后用拼字符串,改成 hql="from AskBuy as a where a.userID = ? o ...
还报了no session之类信息,发现定义的AOP中 <aop:pointcut id="allManagerMethoUserHome" expression="execution(* com.service.*.*Service.*(..))"/> 路径不正确,改正即可
JSP页面报错:Null value was assigned to a property of primitive type setter of com.founder.common.pojo.AskBuy.del_tag 控制台报错信息: Servlet.service() for servlet default threw exception java.lang.IllegalArgumentException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.Nat ...
菜单》工具——首选项——Oracle下 登陆历史, 定义:存储历史,还有带口令存储打勾就可以以后登陆保持用户名密码; 固定用户:>taobao          abc/123@db      taobao表示一组,包括了用户名abc密码123数据库db, 要多组就按这格式继续分,以后登陆就很方便
Global site tag (gtag.js) - Google Analytics