主题 : ${arti.title} 表达式
级别: 秀才
UID: 587
积分:19 加为好友
威望: 0 精华: 0
主题:3 回复:3
注册时间:2009-08-24
在线时长:0
1#   发表于:2009-11-04 14:26:34  IP:222.2.*.*
请问这个EL表达式的arti是和那个文件里bean的名称对应呢?
级别: 举人
UID: 650
积分:110 加为好友
威望: 0 精华: 0
主题:6 回复:55
注册时间:2009-08-31
在线时长:0
2#   发表于:2009-11-11 15:38:31  IP:124.198.*.*
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >

<hibernate-mapping package="com.jeecms.article.entity">
<class
name="Article"
table="ARTI_ARTICLE"
>
<meta attribute="sync-DAO">false</meta>
<cache usage="read-write"/>
<id
name="id"
type="java.lang.Long"
column="ARTICLE_ID"
>
<generator class="native"/>
</id>

<property
name="title"
column="TITLE"
type="string"
not-null="false"
length="255"
/>
<property
name="shortTitle"
column="SHORT_TITLE"
type="string"
not-null="false"
length="255"
/>
<property
name="titleImg"
column="TITLE_IMG"
type="string"
not-null="false"
length="100"
/>
<property
name="contentImg"
column="CONTENT_IMG"
type="string"
not-null="false"
length="100"
/>
<property
name="titleColor"
column="TITLE_COLOR"
type="string"
not-null="false"
length="10"
/>
<property
name="description"
column="DESCRIPTION"
type="string"
not-null="false"
length="255"
/>
<property
name="tags"
column="TAGS"
type="string"
not-null="false"
length="255"
/>
<property
name="author"
column="AUTHOR"
type="string"
not-null="false"
length="100"
/>
<property
name="origin"
column="ORIGIN"
type="string"
not-null="false"
length="100"
/>
<property
name="sortDate"
column="SORT_DATE"
type="timestamp"
not-null="true"
/>
<property
name="releaseDate"
column="RELEASE_DATE"
type="timestamp"
not-null="true"
/>
<property
name="releaseSysDate"
column="RELEASE_SYS_DATE"
type="timestamp"
not-null="true"
/>
<property
name="checkTime"
column="CHECK_TIME"
type="timestamp"
not-null="false"
/>
<property
name="disableTime"
column="DISABLE_TIME"
type="timestamp"
not-null="false"
/>
<property
name="visitTotal"
column="VISIT_TOTAL"
type="java.lang.Long"
not-null="true"
length="19"
/>
<property
name="visitToday"
column="VISIT_TODAY"
type="java.lang.Long"
not-null="true"
length="19"
/>
<property
name="visitWeek"
column="VISIT_WEEK"
type="java.lang.Long"
not-null="true"
length="19"
/>
<property
name="visitMonth"
column="VISIT_MONTH"
type="java.lang.Long"
not-null="true"
length="19"
/>
<property
name="visitQuarter"
column="VISIT_QUARTER"
type="java.lang.Long"
not-null="true"
length="19"
/>
<property
name="visitYear"
column="VISIT_YEAR"
type="java.lang.Long"
not-null="true"
length="19"
/>
<property
name="statDate"
column="STAT_DATE"
type="date"
not-null="false"
/>
<property
name="outerUrl"
column="OUTER_URL"
type="string"
not-null="false"
length="255"
/>
<property
name="contentResPath"
column="CONTENT_RES_PATH"
type="string"
not-null="false"
length="200"
/>
<property
name="pageCount"
column="PAGE_COUNT"
type="integer"
not-null="false"
length="10"
/>
<property
name="tplContent"
column="TPL_CONTENT"
type="string"
not-null="false"
length="100"
/>
<property
name="checkStep"
column="CHECK_STEP"
type="integer"
not-null="true"
length="10"
/>
<property
name="topLevel"
column="TOP_LEVEL"
type="integer"
not-null="true"
length="10"
/>
<property
name="commentCount"
column="COMMENT_COUNT"
type="integer"
not-null="true"
length="10"
/>
<property
name="checkOpinion"
column="CHECK_OPINION"
type="string"
not-null="false"
length="255"
/>
<property
name="relatedIds"
column="RELATED_IDS"
type="string"
not-null="false"
length="255"
/>
<property
name="hasTitleImg"
column="HAS_TITLEIMG"
type="java.lang.Boolean"
not-null="true"
/>
<property
name="allowComment"
column="ALLOW_COMMENT"
type="java.lang.Boolean"
not-null="true"
/>
<property
name="bold"
column="IS_BOLD"
type="java.lang.Boolean"
not-null="true"
/>
<property
name="draft"
column="IS_DRAFT"
type="java.lang.Boolean"
not-null="true"
/>
<property
name="recommend"
column="IS_RECOMMEND"
type="java.lang.Boolean"
not-null="true"
/>
<property
name="check"
column="IS_CHECK"
type="java.lang.Boolean"
not-null="true"
/>
<property
name="disabled"
column="IS_DISABLED"
type="java.lang.Boolean"
not-null="true"
/>
<property
name="reject"
column="IS_REJECT"
type="java.lang.Boolean"
not-null="true"
/>
<property
name="param1"
column="PARAM1"
type="string"
not-null="false"
length="255"
/>
<property
name="param2"
column="PARAM2"
type="string"
not-null="false"
length="255"
/>
<property
name="param3"
column="PARAM3"
type="string"
not-null="false"
length="255"
/>
<property
name="defStr1"
column="DEF_STRING_1"
type="string"
not-null="false"
length="255"
/>
<property
name="defStr2"
column="DEF_STRING_2"
type="string"
not-null="false"
length="255"
/>
<property
name="defStr3"
column="DEF_STRING_3"
type="string"
not-null="false"
length="255"
/>
<property
name="defStr4"
column="DEF_STRING_4"
type="string"
not-null="false"
length="255"
/>
<property
name="defStr5"
column="DEF_STRING_5"
type="string"
not-null="false"
length="255"
/>
<property
name="defStr6"
column="DEF_STRING_6"
type="string"
not-null="false"
length="255"
/>
<property
name="defStr7"
column="DEF_STRING_7"
type="string"
not-null="false"
length="255"
/>
<property
name="defStr8"
column="DEF_STRING_8"
type="string"
not-null="false"
length="255"
/>
<property
name="defStr9"
column="DEF_STRING_9"
type="string"
not-null="false"
length="255"
/>
<property
name="defLong1"
column="DEF_LONG_1"
type="java.lang.Long"
not-null="false"
length="19"
/>
<property
name="defLong2"
column="DEF_LONG_2"
type="java.lang.Long"
not-null="false"
length="19"
/>
<property
name="defLong3"
column="DEF_LONG_3"
type="java.lang.Long"
not-null="false"
length="19"
/>
<property
name="defLong4"
column="DEF_LONG_4"
type="java.lang.Long"
not-null="false"
length="19"
/>
<property
name="defLong5"
column="DEF_LONG_5"
type="java.lang.Long"
not-null="false"
length="19"
/>
<property
name="defMoney1"
column="DEF_MONEY1"
type="big_decimal"
not-null="false"
length="12"
/>
<property
name="defMoney2"
column="DEF_MONEY2"
type="big_decimal"
not-null="false"
length="12"
/>
<property
name="defMoney3"
column="DEF_MONEY3"
type="big_decimal"
not-null="false"
length="12"
/>
<property
name="defDate1"
column="DEF_DATE1"
type="timestamp"
not-null="false"
/>
<property
name="defDate2"
column="DEF_DATE2"
type="timestamp"
not-null="false"
/>
<property
name="defDate3"
column="DEF_DATE3"
type="timestamp"
not-null="false"
/>
<property
name="defBool1"
column="DEF_BOOL1"
type="java.lang.Boolean"
not-null="false"
/>
<property
name="defBool2"
column="DEF_BOOL2"
type="java.lang.Boolean"
not-null="false"
/>
<property
name="defBool3"
column="DEF_BOOL3"
type="java.lang.Boolean"
not-null="false"
/>
<many-to-one
name="next"
column="NEXT_ID"
class="Article"
not-null="false"
/>
<many-to-one
name="pre"
column="PRE_ID"
class="Article"
not-null="false"
/>
<many-to-one
name="contentCtg"
column="CTTCTG_ID"
class="com.jeecms.cms.entity.ContentCtg"
not-null="true"
>
</many-to-one>
<many-to-one
name="adminDisable"
column="ADMIN_DISABLE"
class="com.jeecms.cms.entity.CmsAdmin"
not-null="false"
>
</many-to-one>
<many-to-one
name="group"
column="GROUP_ID"
class="com.jeecms.cms.entity.CmsMemberGroup"
not-null="false"
>
</many-to-one>
<many-to-one
name="channel"
column="CHANNEL_ID"
class="com.jeecms.cms.entity.CmsChannel"
not-null="true"
>
</many-to-one>
<many-to-one
name="website"
column="WEBSITE_ID"
class="com.jeecms.core.entity.Website"
not-null="true"
>
</many-to-one>
<many-to-one
name="config"
column="CONFIG_ID"
class="com.jeecms.cms.entity.CmsConfig"
not-null="true"
>
</many-to-one>
<many-to-one
name="adminCheck"
column="ADMIN_CHECK"
class="com.jeecms.cms.entity.CmsAdmin"
not-null="false"
>
</many-to-one>
<many-to-one
name="adminInput"
column="ADMIN_INPUT"
class="com.jeecms.cms.entity.CmsAdmin"
not-null="false"
>
</many-to-one>
<many-to-one
name="member"
column="MEMBER_ID"
class="com.jeecms.cms.entity.CmsMember"
not-null="false"
>
</many-to-one>
<set
name="attachments"
table="ARTI_ARTICLE_ATTACHMENT"
cascade="all-delete-orphan"
>
<cache usage="read-write"/>
<key column="ARTICLE_ID"/>
<many-to-many column="ATTACHMENT_ID" class="com.jeecms.core.entity.Attachment"/>
</set>
</class>
</hibernate-mapping>
明码标价,童叟无欺
1 共1页