Hi,
-I using SmartClient Version: v10.1d_2014-08-13/EVAL Deployment (expires 2014.10.12_06.45.02) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
-I have encountered problem with response of Hibernate datasource after record updating.
-Updated record not visible after updating.
-DataSource : ListItem
-Returned response is after fetch ;
{
liste:853,
listeNm:"deneme2",
parent:7407,
parentNm:"a3",
id:9641,
dbFlag:null,
status:true,
value:"deneme2_1"
}
Returned response is after update ;
data:{
liste:854,
listeNm:"deneme3",
parent:9643,
parentNm:"deneme2_3",
id:9646,
dbFlag:null,
status:true,
value:"deneme3_1"
}
.
.
.
relatedUpdates:[
{
affectedRows:0,
dataSource:"Liste",
isDSResponse:true,
invalidateCache:false,
status:0,
operationType:"update",
data:{
id:854,
dbFlag:"0",
status:true,
department:{
dbFlag:"0",
status:true,
webAddress:"",
initialDesc:"",
parent:null,
city:{
.
.
....
.
.
.
-Extra updated records come to client from server through with relatedUpdates node,
but extra updated records come from server don't come with fetch format.
-ListItem.ds.xml;
<DataSource
allowAdvancedCriteria="true"
dropExtraFields="true"
ID="ListItem"
criteriaPolicy = "dropOnChange"
serverType="hibernate"
schemaBean="com.edu.edusphere.server.hibernate.ListItem"
beanClassName="com.edu.edusphere.server.hibernate.ListItem"
autoDeriveSchema="false"
>
<fields>
<field primaryKey="true" name="id" type="sequence"></field>
<field name="value" type="text" ></field>
<field name="status" type="boolean"></field>
<field name="dbFlag" type="any"></field>
<field name="liste" foreignKey ="Liste.id" displayField="listeNm"/>
<field name="listeNm" type="text" hidden="true" includeFrom="Liste.name"/>
<field name="parent" foreignKey ="ListItem.id" displayField="parentNm"/>
<field name="parentNm" type="text" hidden="true" includeFrom="ListItem.value"/>
</fields>
</DataSource>
-Client logs;
14:44:13.185:XRP3:WARN:ResultSet:isc_ResultSet_1 (created by: isc_ListGrid_1):getRange(2, 3): start beyond end of rows, returning empty list
14:44:13.277:XRP3:WARN:Log:findByKeys: passed record does not have a value for key field 'id'
14:44:13.281:XRP3:WARN:Log:findByKeys: passed record does not have a value for key field 'id'
15:13:55.821:XRP7:WARN:ResultSet:isc_ResultSet_0 (created by: isc_ListGrid_0):getRange(2, 3): start beyond end of rows, returning empty list
15:13:55.825:XRP7:WARN:Log:findByKeys: passed record does not have a value for key field 'id'
15:13:55.826:XRP7:WARN:ResultSet:isc_ResultSet_2 (created by: isc_PickListMenu_0):getRange(2, 3): start beyond end of rows, returning empty list
15:55:13.024:XRP1:WARN:Log:findByKeys: passed record does not have a value for key field 'id'
15:55:13.026:XRP1:WARN:Log:findByKeys: passed record does not have a value for key field 'id'
-What is solution of this problem? Or How to close the "relatedUpdates" feature
Thank you for your help.
-I using SmartClient Version: v10.1d_2014-08-13/EVAL Deployment (expires 2014.10.12_06.45.02) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
-I have encountered problem with response of Hibernate datasource after record updating.
-Updated record not visible after updating.
-DataSource : ListItem
-Returned response is after fetch ;
{
liste:853,
listeNm:"deneme2",
parent:7407,
parentNm:"a3",
id:9641,
dbFlag:null,
status:true,
value:"deneme2_1"
}
Returned response is after update ;
data:{
liste:854,
listeNm:"deneme3",
parent:9643,
parentNm:"deneme2_3",
id:9646,
dbFlag:null,
status:true,
value:"deneme3_1"
}
.
.
.
relatedUpdates:[
{
affectedRows:0,
dataSource:"Liste",
isDSResponse:true,
invalidateCache:false,
status:0,
operationType:"update",
data:{
id:854,
dbFlag:"0",
status:true,
department:{
dbFlag:"0",
status:true,
webAddress:"",
initialDesc:"",
parent:null,
city:{
.
.
....
.
.
.
-Extra updated records come to client from server through with relatedUpdates node,
but extra updated records come from server don't come with fetch format.
-ListItem.ds.xml;
<DataSource
allowAdvancedCriteria="true"
dropExtraFields="true"
ID="ListItem"
criteriaPolicy = "dropOnChange"
serverType="hibernate"
schemaBean="com.edu.edusphere.server.hibernate.ListItem"
beanClassName="com.edu.edusphere.server.hibernate.ListItem"
autoDeriveSchema="false"
>
<fields>
<field primaryKey="true" name="id" type="sequence"></field>
<field name="value" type="text" ></field>
<field name="status" type="boolean"></field>
<field name="dbFlag" type="any"></field>
<field name="liste" foreignKey ="Liste.id" displayField="listeNm"/>
<field name="listeNm" type="text" hidden="true" includeFrom="Liste.name"/>
<field name="parent" foreignKey ="ListItem.id" displayField="parentNm"/>
<field name="parentNm" type="text" hidden="true" includeFrom="ListItem.value"/>
</fields>
</DataSource>
-Client logs;
14:44:13.185:XRP3:WARN:ResultSet:isc_ResultSet_1 (created by: isc_ListGrid_1):getRange(2, 3): start beyond end of rows, returning empty list
14:44:13.277:XRP3:WARN:Log:findByKeys: passed record does not have a value for key field 'id'
14:44:13.281:XRP3:WARN:Log:findByKeys: passed record does not have a value for key field 'id'
15:13:55.821:XRP7:WARN:ResultSet:isc_ResultSet_0 (created by: isc_ListGrid_0):getRange(2, 3): start beyond end of rows, returning empty list
15:13:55.825:XRP7:WARN:Log:findByKeys: passed record does not have a value for key field 'id'
15:13:55.826:XRP7:WARN:ResultSet:isc_ResultSet_2 (created by: isc_PickListMenu_0):getRange(2, 3): start beyond end of rows, returning empty list
15:55:13.024:XRP1:WARN:Log:findByKeys: passed record does not have a value for key field 'id'
15:55:13.026:XRP1:WARN:Log:findByKeys: passed record does not have a value for key field 'id'
-What is solution of this problem? Or How to close the "relatedUpdates" feature
Thank you for your help.