JCS 的使用

JCS的一个例子
http://www.mail-archive.com/turbine-jcs-user@jakarta.apache.org/msg00355.html


hibernate Doclet模板
http://www.matrix.org.cn/forum_view.asp?forum_id=17&view_id=1171

<?xml version="1.0" encoding="UTF-8"?>
<templates>
<template name="@hibernate.array" description="Defines a array" context="javadoc" enabled="true">@hibernate.array table="" where="" cascade="all:none:save-update:delete" schema=""</template>
<template name="@hibernate.bag" description="Defines a bag" context="javadoc" enabled="true">@hibernate.bag table="" order-by="" where="" lazy="false" cascade="all:none:save-update:delete" inverse="" schema=""</template>
<template name="@hibernate.class" description="Declare a persistent class" context="javadoc" enabled="true">@hibernate.class table="" dynamic-update="" dynamic-insert="" polymorphism="explicit:implicit" discriminator-value="" mutable="" schema="" proxy=""</template>
<template name="@hibernate.collection-element" description="Defines a collection-element" context="javadoc" enabled="true">@hibernate.collection-element column="" type="" length="" not-null="false" unique="false"</template>
<template name="@hibernate.collection-index" description="Defines a collection-index" context="javadoc" enabled="true">@hibernate.collection-index column="" type="" length=""</template>
<template name="@hibernate.collection-jcs-cache " description="Defines a @hibernate.collection-jcs-cache " context="javadoc" enabled="true">@hibernate.collection-jcs-cache usage="read-write:nonstrict-read-write:read-only"</template>
<template name="@hibernate.collection-key" description="Declares a collection key" context="javadoc" enabled="true">@hibernate.collection-key column=""</template>
<template name="@hibernate.collection-many-to-many" description="Defines a collection-many-to-many" context="javadoc" enabled="true">@hibernate.collection-many-to-many column="" class="" outer-join="true:false:auto"</template>
<template name="@hibernate.collection-one-to-many" description="Defines a collection-one-to-many" context="javadoc" enabled="true">@hibernate.collection-one-to-many class=""</template>
<template name="@hibernate.column" description="Customize column mapping" context="javadoc" enabled="true">@hibernate.column name="" length=""not-null="" unique="false" index="" unique-key="" sql-type=""</template><template name="@hibernate.component" description="Declares a component" context="javadoc" enabled="true">@hibernate.component class=""</template>
<template name="@hibernate.composite-element" description="Defines a composite-element" context="javadoc" enabled="true">@hibernate.composite-element class=""</template><template name="@hibernate.discriminator" description="Defines a discriminator" context="javadoc" enabled="true">@hibernate.discriminator column="false" type="" length="false"</template>
<template name="@hibernate.generator-param" description="Declare a named query for class" context="javadoc" enabled="true">@hibernate.generator-param name="" value=""</template><template name="@hibernate.id" description="Declares an identifier property" context="javadoc" enabled="true">@hibernate.id column="" type="" length="" unsaved-value="" generator-class="uuid.hex:uuid.string:increment:assigned:native:identity:sequence:hilo:seqhilo:foreign"</template>
<template name="@hibernate.jcs-cache" description="Enables caching" context="javadoc" enabled="true">@hibernate.jcs-cache usage="read-write: nonstrict-read-write:read-only"</template>
<template name="@hibernate.joined-subclass" description="Declare the current class as joined subclass " context="javadoc" enabled="true">@hibernate.joined-subclass proxy="" dynamic-update="" dynamic-insert="" schema=""</template>
<template name="@hibernate.joined-subclass-key" description="Declares a joined-subclass key " context="javadoc" enabled="true">@hibernate.joined-subclass-key column=""</template>
<template name="@hibernate.list" description="Defines a list" context="javadoc" enabled="true">@hibernate.list table="" where="" lazy="false" cascade="all:none:save-update:delete" schema=""</template>
<template name="@hibernate.many-to-one" description="Declares a many-to-one association" context="javadoc" enabled="true">@hibernate.many-to-one column="" class="" cascade="all:none:save-update:delete" not-null="" unique="false" outer-join="true:false:auto" insert="false" update="false"</template>
<template name="@hibernate.map" description="Defines a map" context="javadoc" enabled="true">@hibernate.map table="" sort="" order-by="" where="" lazy="false" cascade="all:none:save-update:delete" schema=""</template>
<template name="@hibernate.one-to-one" description="Declares a one-to-one association" context="javadoc" enabled="true">@hibernate.one-to-one class="" constrained="false" cascade="all:none:save-update:delete" outer-join="true:false:auto"</template>
<template name="@hibernate.primitive-array" description="Defines a primitive-array" context="javadoc" enabled="true">@hibernate.primitive-array table="" where="" cascade="all:none:save-update:delete" schema=""</template>
<template name="@hibernate.property" description="Defines a property" context="javadoc" enabled="true">@hibernate.property column="" type="" length="" not-null="" unique="false" insert="false" update="false"</template><template name="@hibernate.query" description="Declare a named query for class" context="javadoc" enabled="true">@hibernate.query name="" query=""</template>
<template name="@hibernate.set" description="Defines a set" context="javadoc" enabled="true">@hibernate.set table="" sort="" order-by="" where="" lazy="false" cascade="all:none:save-update:delete" inverse="" schema=""</template>
<template name="@hibernate.subclass" description="Declare the current class as subclass" context="javadoc" enabled="true">@hibernate.subclass dynamic-update="false" dynamic-insert="false" discriminator-value="" proxy=""</template>
<template name="@hibernate.timestamp" description="Declares a timestamp property" context="javadoc" enabled="true">@hibernate.timestamp column=""</template>
<template name="@hibernate.version" description="Declares a version property" context="javadoc" enabled="true">@hibernate.version column="" type="" Valid="integer:short:long:timestamp:calendar "</template>
</templates>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值