论坛首页 Java企业应用论坛

基于iBatis的开源分布式数据访问层

浏览 17255 次
精华帖 (2) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2011-03-28  
http://code.alibabatech.com/wiki/display/cobarclient/Home

这个东西其实已经出来很长时间了,思路和成型也比其它相似的东西要早一些,公司近期才准备开源,所以就放出来了, 当然,不一定完美,东西比较简单, 所以开源出来希望能集思广益, 欢迎使用,拍砖,提意见

主要features:
1- data access support with horizontal or vertical partitions.
2- support 2-master active HA deployment infrustructure, of course, the applications still can choose other 3- HA solutions, like the ones specific to destination databases(e.g. RAC of Oracle).
4- Data aggregation support, currently only simple data merge functionality is available.
5- Local database transaction support(Currently, such requirement is fulfilled by using “Best Efforts 1PC Pattern” ).
6- SQL auditing, analysis, etc. [1]

公司要求文档和网站一概英文,所以看英文费力的,可以check out代码出来, 然后通过maven编译,之后可以在target/docs目录下找到一份中文的完整文档(实际上中文和英文各准备了一份)

GL&HF
   发表时间:2011-03-28  
Missing artifact javax.jms:jms:jar:1.1:compile
0 请登录后投票
   发表时间:2011-03-29  
Missing:
----------
1) javax.jms:jms:jar:1.1

  Try downloading the file manually from:
      http://java.sun.com/products/jms/docs.html

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.jms -DartifactId=jms -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=javax.jms -DartifactId=jms -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
  1) com.alibaba.cobar:cobar-client:jar:1.0.3
  2) log4j:log4j:jar:1.2.15
  3) javax.jms:jms:jar:1.1

----------
1 required artifact is missing.

for artifact:
  com.alibaba.cobar:cobar-client:jar:1.0.3
0 请登录后投票
   发表时间:2011-03-29  
对于这个比较感兴趣。。能否提供example 出来。。如果有详细的文档,介绍下具体实现就好了。。
0 请登录后投票
   发表时间:2011-03-29  
fujohnwang 写道
http://code.alibabatech.com/wiki/display/cobarclient/Home

这个东西其实已经出来很长时间了,思路和成型也比其它相似的东西要早一些,公司近期才准备开源,所以就放出来了, 当然,不一定完美,东西比较简单, 所以开源出来希望能集思广益, 欢迎使用,拍砖,提意见

主要features:
1- data access support with horizontal or vertical partitions.
2- support 2-master active HA deployment infrustructure, of course, the applications still can choose other 3- HA solutions, like the ones specific to destination databases(e.g. RAC of Oracle).
4- Data aggregation support, currently only simple data merge functionality is available.
5- Local database transaction support(Currently, such requirement is fulfilled by using “Best Efforts 1PC Pattern” ).
6- SQL auditing, analysis, etc. [1]

公司要求文档和网站一概英文,所以看英文费力的,可以check out代码出来, 然后通过maven编译,之后可以在target/docs目录下找到一份中文的完整文档(实际上中文和英文各准备了一份)

GL&HF



兄弟  你阿里的??
0 请登录后投票
   发表时间:2011-03-29   最后修改:2011-03-29
看看看看看看看看看看
0 请登录后投票
   发表时间:2011-03-29  
楼主以前在英极?
0 请登录后投票
   发表时间:2011-03-29   最后修改:2011-03-29
我用得是公司内部的settings.xml,可能本地有这些dependencies了,所以没注意到这个问题,不好意思
已经更新pom, 各位可以重新update或者recheckout代码,然后重新编译
0 请登录后投票
   发表时间:2011-03-29   最后修改:2011-03-29
泛舟天下 写道
楼主以前在英极?

はい
0 请登录后投票
   发表时间:2011-03-29   最后修改:2011-03-29
还是有错,本地的一些依赖没有修改完成,下面是日志


[INFO] Failed to resolve artifact.

Missing:
----------
1) com.h2database:h2:jar:1.2.130

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.h2database -DartifactId=h2 -Dversion=1.2.130 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=com.h2database -DartifactId=h2 -Dversion=1.2.130 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
  1) com.alibaba.cobar:cobar-client:jar:1.0.3
  2) com.h2database:h2:jar:1.2.130

2) mysql:mysql-connector-java:jar:5.1.12

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=mysql -DartifactId=mysql-connector-java -Dversion=5.1.12 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=mysql -DartifactId=mysql-connector-java -Dversion=5.1.12 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
  1) com.alibaba.cobar:cobar-client:jar:1.0.3
  2) mysql:mysql-connector-java:jar:5.1.12

3) org.testng:testng:jar:jdk15:5.11

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.testng -DartifactId=testng -Dversion=5.11 -Dclassifier=jdk15 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.testng -DartifactId=testng -Dversion=5.11 -Dclassifier=jdk15 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
  1) com.alibaba.cobar:cobar-client:jar:1.0.3
  2) org.testng:testng:jar:jdk15:5.11

----------
3 required artifacts are missing.

for artifact:
  com.alibaba.cobar:cobar-client:jar:1.0.3
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics