共 78 篇文章 |
|
原文地址:http://docs.jboss.org/drools/release/6.2.0.Final/drools-docs/html_single/index.html.原文前面所有的步骤都可以省略,直接从安装eclipse插件开始,安装地址是:http://docs.jboss.org/drools/release/6.2.0.Final/drools-docs/html_single/index.html.><kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule">... 阅398 转2 评0 公众公开 18-03-07 09:58 |
JRE和JDK的区别。JDK是整个Java的核心,包括了Java运行环境(JRE),一堆Java工具tools.jar和Java标准类库 (rt.jar)。如果安装了JDK,你的电脑就有两套JRE(JRE本身和JDK中的JRE),前面这套比后面那套少了Server端的Java虚拟机。就是JDK里的工具几乎是用Java所编写,所以也是Java应用 程序,因此要使用JDK所附的工具来开发Java程序,也必须要自行... 阅19 转1 评0 公众公开 17-10-23 11:29 |
var Product = new Schema({ image : { type : String }, description : { type : String }, price : { type : Number, require : true }, probability : { type : Number, require : true }, status :{ type : Number, require : true, default : 1 }, categoryId:{ type:String, require:true }, name : { type :String, require : true }},{... 阅170 转0 评0 公众公开 17-07-12 14:07 |
8天学通MongoDB.看过上一篇,相信大家都会知道如何开启mongodb了,这篇就细说下其中的增删查改,首先当我们用上一篇同样的方式打开mongodb,突然。这个可是mongodb创造出来的“词”,大家还记得update方法的第一次参数是“查询条件”吗?,那么这个upsert操作就是说:如果我。在mongodb中如果匹配多条,默认的情况下只更新第一条,那么如果我们... 阅14 转1 评0 公众公开 17-04-05 09:14 |
阅226 转2 评0 公众公开 17-03-31 11:04 |
阅19 转0 评0 公众公开 17-03-22 09:48 |
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> </ex... 阅290 转1 评0 公众公开 17-03-22 09:26 |
基于注解的Spring MVC与JPA如何解决实体的延时加载问题。<bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"><property name="entityManagerFactory" ref="entityManagerFactory" /></bean><tx:annotation-driven transaction-manager=&... 阅123 转0 评0 公众公开 17-03-09 13:55 |
So you can either use JPA named queries through a naming convention (see Using JPA NamedQueries for more information) or rather annotate your query method with @Query (see Using @Query for details).The following example demonstrates one use case for the #{#entityName} expression in a query string where you want to def... 阅440 转1 评0 公众公开 17-03-08 17:23 |
使用log4j为Tomcat输出日志。Tomcat通用日志如上所述,在catalina.out文件中的大部分数据都是通过调用Commons Logging接口产生的,Commons Logging可以让你在运行期对日志输出细节进行控制,并允许使用多种后台日志系统,Tomcat标准发行版使用SimpleLog作为日志系统,SimpleLog将所有的内容都输出到标准错误输出,对于Tomcat来说,默认被重定向... 阅899 转1 评0 公众公开 16-12-29 19:37 |