- 浏览: 54043 次
- 性别:
- 来自: 深圳
最新评论
-
wanglu271991027:
改成4.3也不能下啊
jBPM 4 Maven Dependencies -
liangfeng366:
怎么我的下不下来呢。。
1-5-24 下午03时23分23秒: ...
jBPM 4 Maven Dependencies -
makemyownlife:
恩 最近也在看这个方面的东东 好
ibatis3 Configuration -
magibt:
后面两个改成4.3吧
jBPM 4 Maven Dependencies -
magibt:
good job
jBPM 4 Maven Dependencies
文章列表
private static string ReplaceEx(string original,
string pattern, string replacement)
{
int count, position0, position1;
count = position0 = position1 = 0;
string upperString = original.ToUpper();
string upperPattern = pattern.ToUpper();
int inc = (original.Len ...
User <-> Address:
Address是User的子对象。OneToOne is set on address field in User entity.
case 1. 没有设置CascadeType, only persist User: -> TransientException will be thrown, it said there are transient object.
case 2. CascadeType is not set, persist User, persist Address -> successful. sql: 1. ...
<dependency>
<groupId>org.jbpm.jbpm4</groupId>
<artifactId>jbpm-api</artifactId>
<version>4.3</version>
</dependency>
<dependency>
<groupId>org.jbpm.jbpm4</groupId>
...
1.Create project with maven
2.add in pom.xml
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>2.2.4</version>
</dependency>
< ...
- 2009-10-27 18:18
- 浏览 2948
- 评论(0)
Configuring a JBoss + Spring + JPA (Hibernate) + JTA web application
http://www.swview.org/node/214
Here's how one might go about deploying a Spring application in JBoss (4.something) that uses JPA with Hibernate as the provider for persistence and JTA for transaction demarcation.
1. Define the S ...
- 2009-10-22 15:26
- 浏览 2249
- 评论(0)
http://erich.soomsam.net/2007/04/24/spring-jpa-and-jta-with-hibernate-and-jotm/
have been struggling for a couple of hours today to modify a Spring JPA configuration with a single datasource, Hibernate as the JPA provider and the JpaTransactionManager to a configuration with two XA datasources, Hibe ...
- 2009-10-20 10:04
- 浏览 8104
- 评论(0)
http://www.blogjava.net/agapple/archive/2008/10/23/236142.html
http://www.diybl.com/course/3_program/java/javajs/20090213/155337.html
http://www.jboss.org/community/wiki/ClassLoadingconfiguration
- 2009-10-15 22:35
- 浏览 1009
- 评论(0)
1.Create DataSource in WEB-INF/, filename: mysql-ds.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- See http://www.jboss.org/community/wiki/Multiple1PC for information about local-tx-datasource -->
<!-- $Id: mysql-ds.xml 88948 2009-05-15 14:09:08Z jesper.peder ...
- 2009-10-15 18:51
- 浏览 1628
- 评论(0)
jboss recipe of the day
By default the persistence unit are available in the java: Context. If you wish to make them available also in the global naming Context you have to add two properties to your persistence.xml configuration file:
view plaincopy to clipboardprint?
<persistence>
&l ...
- 2009-10-15 18:34
- 浏览 1270
- 评论(0)
<component-scan> 无法在jboss5.1as下使用
需要另外扩展applcationcontext.
https://anonsvn.jboss.org/repos/jbossas/projects/spring-int/trunk/
http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213444
https://jira ...
- 2009-10-15 14:51
- 浏览 1307
- 评论(0)
1. 部署时排除xml-apis-1.0.b2.jar, 这个包被dom4j依赖. 会导致struts2无法解析xml config.
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.0.b2</version>
<type>jar</type>
...
- 2009-10-13 18:46
- 浏览 1728
- 评论(0)
<default-config>
<!--当连接池中的连接耗尽的时候c3p0一次同时获取的连接数。Default: 3 -->
<property name="acquireIncrement">3</property>
<!--定义在从数据库获取新连接失败后重复尝试的次数。Default: 30 -->
<property name="acquireRetryAttempts">30</property>
<!--两次连接中间隔时间,单位毫秒。De ...
- 2009-09-15 12:07
- 浏览 1121
- 评论(0)
摘要:mysql从3.23.15版本以后提供数据库复制功能,而以前,数据库双机热备还仅是大型数据库的专利,利用该功能可以实现两个数据库同步,主从模式,互相备份模式的功能。
MYSQL5.0双机热备
原文网址:http://blog.csdn.net/lgjlry/archi ...
- 2009-09-13 20:27
- 浏览 7235
- 评论(0)
白领恶梦
1.背口诀记单词
辞职不编software(软件) *
很多时间spare(剩余的)
把钓具来prepare(准备)
坐船忘带fare(船费)
引起一场warfare(交战) *
被扔河里是nightmare(恶梦) *
2.识音标,记单词
software n.软件application software(应用软件),软设备,语言设备,程序系统。
spare adj.多余的, 空闲的,瘦的, 贫乏的, 备用的;v.节约, 吝惜,宽恕, 抽出,出让,免除;n.节省,备用之物;[习语] spare no efforts( ...
- 2009-08-26 11:53
- 浏览 1474
- 评论(0)
1.用maven 创建项目(俺 用netbeans).
2.在pom.xml添加和修改.
dependencies:
<dependencies>
<dependency>
<groupId>org.apache.ibatis</groupId>
<artifactId>ibatis-sqlmap</artifactId>
<version>3.0-beta-2</version>
</dep ...
- 2009-08-25 14:36
- 浏览 3092
- 评论(1)