Out of range value for column error

HI ,

i am getting below error.I am doing a validation for phone number  is...if(len(ri!NewAccountDetails.PhoneNumber)<11, {},"Enter 10 digits only") and storing the value in data store.

if i am giving ohonenumber 10 digits i am getting below error.help me on this.

an error occurred while trying to write to the entity “Newrequest” [id=e423e5e0-a8e0-49a5-b302-1e94daa84282@16567,
 type=NewAccountDetails (id=5182)] (data store: Account Store). Details: org.hibernate.exception.DataException: could not insert: [NewAccountDetailsDT4918]: com.mysql.jdbc.MysqlDataTruncation:
 Data truncation: Out of range value for column 'phonenumber' at row 1 Data:
TypedValue[it=5182,v={<null>,xxxx,9648837673,,<null>,,<null>,,Savings}]

Thanks,

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data