自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

红流

一颗炽热的心耕耘于红色流域

  • 博客(6)
  • 资源 (3)
  • 收藏
  • 关注

原创 JPA'Many2Many

Many2Many关系: Document(主动)(被动)KMFile class Document主动关联设置:指定中间表,及字段。 @ManyToMany(fetch=FetchType.LAZY, cascade={CascadeType.PERSIST}, targetEntity=KMFile.class) @JoinTable(inverseJoinColumns={@Join

2009-03-25 01:13:00 888

原创 riena

DescriptionThe Riena platform will be the foundation for building multi-tier enterprise client/server applications. As such Riena will broaden the usage of the service oriented architecture of OSG

2009-03-16 15:27:00 783

原创 superclass使用visitor模式

被访问者希望在超类中统一接收visitor访问,但不做任何处理的情况下,visitor访问的方法是访问超类参数的方法。 解决这种情况有两种方法:1)被访问者具体overwrite接收visitor的访问方法2)超类使用反射 第一种方法,如果被访问的子类太多,很罗嗦。第二种方法,简洁,但有性能问题。 增加子类,不要忘记增加visitor的访问接口。 第二种

2009-03-11 13:18:00 552

原创 EMF's teneo代码库

host:   dev.eclipse.org repository:   /cvsroot/modelingmodule:   org.eclipse.emf/org.eclipse.emf.teneouser/password:   anonymous/anonymous  

2009-03-10 15:27:00 588

原创 JPA模型的代码生成

EMF这把大刀,官方工具未完善,对jpa的支持不满意,尚待些时日吧。 本文描述如何生成自己需要的jpa模型,通过annotation。1)构建模型元数据2)使用JET生成模板3)生成JPA模型4)JPA模型生成数据表 meta-->your jpa(annotation) model-->database 代码结构:   1)EModel

2009-03-10 10:39:00 866

原创 eclipse bundle类加载器

     Eclipse各bundle使用各自的class loader,若需要引用其他bundle类来动态创建实例,则需要使用类所在的bundle的class loader。    下面实例演示如何使用其它bundle类。    当前plugin为rpc服务器,需要使用其它任意使用了rpc的bundle类。实现方式:在本plugin定义扩展点,定义出class loader接口--Biz

2009-03-10 10:13:00 1804

BeanShell2.0b5源码

Java Bean Shell 2.0b5 源码,官方最新更新时间2005年6月,已停止开发。

2017-12-20

spring-reactor jars

spring reactor 编译包 https://github.com/reactor/reactor

2013-09-01

NumToWords 数字金额转换为英文

数字金额(元、分)转为英文, 使用示例: String ret=new NumToWords().convert(123450.6789); 返回值:(四舍五入123450.68) one hundred and twenty three thousand four hundred and fifty dollars and 68 cents

2012-07-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除