SmartClient Version: v10.0p_2014-12-17/EVAL Deployment (expires 2015.02.15_07.40.12) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
Hello, I've got a DataSourceField defined like this:
When I edit this field on a grid, in the sql update operation the value is quoted, and oracle raises an error:
the table column is defined as:
Hello, I've got a DataSourceField defined like this:
Code:
<field sqlType="decimal" name="BUDGET_FATTURATO" type="localeFloat" format=",##0.00 €"></field>
Code:
2014-12-23 16:35:42,874 DEBUG RPCManager Request #1 (DSRequest) payload: { criteria:{ ID_REC:847087 }, values:{ ID_REC:847087, BUDGET_FATTURATO:123654.36 }, operationConfig:{ dataSource:"JPC_REPORT_BUDGET", operationType:"update", textMatchStyle:"exact" }, componentId:"gestioneReportBudgetGrid", appID:"builtinApplication", operation:"JPC_REPORT_BUDGET_update", oldValues:{ SETTORE_2:"126", SETTORE:"102", DESCRIZIONE_SETTORE:"Tribuna G.Boniperti", ID_REC:847087, CREATOR:"cbosticco", STAGIONE:"2014/2015", ID_LISTINO_FK:579087, TIPO_LISTINO:"JPC", BUDGET_POSTI:0, DESCRIZIONE_SETTORE_2:"Tribuna G.Boniperti", ID_SETTORE_2_FK:579130, BUDGET_FATTURATO:0, CREATOR_TIMESTAMP:new Date(1419348314000), ID_STAGIONE_FK:579086, LISTINO:"Listino JPC 2014/2015", MODIFIER_TIMESTAMP:new Date(1419348314000), MODIFIER:"cbosticco", ID_SETTORE_FK:579113 } } 2014-12-23 16:35:42,874 INFO IDACall Performing 1 operation(s) 2014-12-23 16:35:42,874 DEBUG DeclarativeSecurity Processing security checks for DataSource null, field null 2014-12-23 16:35:42,874 DEBUG DeclarativeSecurity DataSource JPC_REPORT_BUDGET is not in the pre-checked list, processing... 2014-12-23 16:35:42,874 DEBUG AppBase [builtinApplication.JPC_REPORT_BUDGET_update] No userTypes defined, allowing anyone access to all operations for this application 2014-12-23 16:35:42,874 DEBUG AppBase [builtinApplication.JPC_REPORT_BUDGET_update] No public zero-argument method named '_JPC_REPORT_BUDGET_update' found, performing generic datasource operation 2014-12-23 16:35:42,874 DEBUG BasicDataSource [builtinApplication.JPC_REPORT_BUDGET_update] Validating 1 'JPC_REPORT_BUDGET's at path '' 2014-12-23 16:35:42,874 DEBUG BasicDataSource [builtinApplication.JPC_REPORT_BUDGET_update] Validating a 'JPC_REPORT_BUDGET' at path '' 2014-12-23 16:35:42,875 DEBUG BasicDataSource [builtinApplication.JPC_REPORT_BUDGET_update] for field: MODIFIERadding automatically generated lengthRange validator for length:200 2014-12-23 16:35:42,875 DEBUG BasicDataSource [builtinApplication.JPC_REPORT_BUDGET_update] Done validating 1 'JPC_REPORT_BUDGET's at path '': 1ms (avg 1) 2014-12-23 16:35:42,875 DEBUG DataSource [builtinApplication.JPC_REPORT_BUDGET_update] post-validation valueSet: [ { ID_REC:847087, BUDGET_FATTURATO:123654.36, MODIFIER:"cbosticco", MODIFIER_TIMESTAMP:new Date(1419348942874) } ] 2014-12-23 16:35:42,875 INFO SQLDataSource [builtinApplication.JPC_REPORT_BUDGET_update] Performing update operation with criteria: {ID_REC:847087} values: {ID_REC:847087,BUDGET_FATTURATO:123654.36,MODIFIER:"cbosticco",MODIFIER_TIMESTAMP:new Date(1419348942874)} 2014-12-23 16:35:42,880 DEBUG PoolableSQLConnectionFactory [builtinApplication.JPC_REPORT_BUDGET_update] makeObject() created an unpooled Connection '1038709505' 2014-12-23 16:35:42,880 DEBUG SQLConnectionManager [builtinApplication.JPC_REPORT_BUDGET_update] Borrowed connection '1038709505' 2014-12-23 16:35:42,880 DEBUG SQLTransaction [builtinApplication.JPC_REPORT_BUDGET_update] Started new dbJpcEP transaction "1038709505" 2014-12-23 16:35:42,880 DEBUG SQLDriver [builtinApplication.JPC_REPORT_BUDGET_update] About to execute SQL update in 'dbJpcEP' using connection'1038709505' 2014-12-23 16:35:42,880 INFO SQLDriver [builtinApplication.JPC_REPORT_BUDGET_update] Executing SQL update on 'dbJpcEP': UPDATE DBSALES.JPC_REPORT_BUDGET SET BUDGET_FATTURATO='123654.36', MODIFIER='cbosticco', MODIFIER_TIMESTAMP=TO_DATE('2014-12-23 16:35:42','YYYY-MM-DD HH24:MI:SS') WHERE (JPC_REPORT_BUDGET.ID_REC=847087) 2014-12-23 16:35:42,888 DEBUG SQLDriver [builtinApplication.JPC_REPORT_BUDGET_update] FAILED to execute SQL update in 'dbJpcEP' using connection'1038709505' 2014-12-23 16:35:42,888 DEBUG DSRequest freeOnExecute is false for request of type update on DataSource JPC_REPORT_BUDGET - not freeing resources! 2014-12-23 16:35:42,888 WARN RequestContext dsRequest.execute() failed: java.sql.SQLSyntaxErrorException: ORA-01722: numero non valido
Code:
BUDGET_FATTURATO NUMBER DEFAULT 0 NOT NULL
Comment