|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
how to user the attribute" valueMode"?hello,
everyone:
i have a little difficult in
understanding the load xml definition.there is a importDefinition lag in the
load examples and
the follow is the
code:
<importDefinition name="RelationBooks" tableName="BOOKLINKS"
logMode="normal" objectIDIncrement="27"
>
<valueColumns> <valueColumn sourceColumnName="KEYVALUE" targetTableName="BOOKLINKS" targetColumnName="KEYVALUE" targetTableID="0" valueMode="Key"/>
<valueColumn sourceColumnName="TYPEKEY" targetTableName="BOOKS" targetColumnName="KEYVALUE" targetTableID="1" valueMode="Key"/>
<valueColumn sourceColumnName="BOOKKEY" targetTableName="BOOKLINKS" targetColumnName="KEYVALUE" targetTableID="2" valueMode="Key"/>
<valueColumn sourceColumnName="BOOKTYPEKEY" targetTableName="BOOKS" targetColumnName="KEYVALUE" targetTableID="3" valueMode="Key"/>
</valueColumns> <relationColumns>
<relationColumn relationSourceTableName="BOOKLINKS" relationSourceTableID="2" relationTargetTableName="BOOKLINKS" relationTargetColumnName="BOOKLINKSOID" relationTargetTableID="0"
relationMode="Overwrite" defaultValue="SELECT oid FROM
BOOKLINKS WHERE KEYVALUE='HOME'"/>
</relationColumns>
<tables>
<table tableName="BOOKS" tableID="1" insert="false" tableMode="Cache" oidLogic="true"/> <table tableName="BOOKLINKS" tableID="0" insert="false" tableMode="Cache" oidLogic="true"/> <table tableName="BOOKS" tableID="3" insert="false" tableMode="Cache" oidLogic="true"/> <table tableName="BOOKLINKS" tableID="2" insert="false" tableMode="Cache" oidLogic="true"/> </tables> </importDefinition>
I can not understand what
these code affect the load process? Especially the attribute "valueMode",such
as:
<valueColumn sourceColumnName="BOOKTYPEKEY" targetTableName="BOOKS" targetColumnName="KEYVALUE" targetTableID="3" valueMode="Key"/>.
and the document only tells
that ‘Key mode’ - defines key column of the target table used for selection
of rows , and what
does this mean?
I appreciate your time and
attention sincerely.
Eric
-- You receive this message as a subscriber of the octopus@... mailing list. To unsubscribe: mailto:octopus-unsubscribe@... For general help: mailto:sympa@...?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
| Free embeddable forum powered by Nabble | Forum Help |