Hi Dushan, Thanks for reporting this. We will fix this in the upcoming release (IOT-3.1.0).
Thanks Geeth On Sat, Apr 29, 2017 at 10:39 PM, Dushan Abeyruwan <[email protected]> wrote: > > [2017-04-29 10:08:16,113] [IoT-Core] ERROR - DeviceTypePluginDAO Error > occurred while adding the device '000000000000000' to the AD_DEVICE db. > org.h2.jdbc.JdbcSQLException: Value too long for column "DEVICE_MODEL > VARCHAR(45) DEFAULT NULL": "'Google Nexus 6 - 5.0.0 - API 21 - > 1440x2560_1-2' (47)"; SQL statement: > INSERT INTO AD_DEVICE(DEVICE_ID , GCM_TOKEN, DEVICE_INFO, IMEI, IMSI, > OS_VERSION, DEVICE_MODEL, VENDOR, LATITUDE, LONGITUDE, SERIAL, MAC_ADDRESS, > DEVICE_NAME, OS_BUILD_DATE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, > ?) [22001-175] > at org.h2.message.DbException.getJdbcSQLException(DbException.java:332) > at org.h2.message.DbException.get(DbException.java:172) > at org.h2.table.Column.validateConvertUpdateSequence(Column.java:317) > at org.h2.table.Table.validateConvertUpdate > -- > Dushan Abeyruwan | Senior Technical Lead > Technical Support,MV > PMC Member Apache Synpase > WSO2 Inc. http://wso2.com/ > Blog:*http://www.dushantech.com/ <http://www.dushantech.com/>* > LinkedIn:*https://www.linkedin.com/in/dushanabeyruwan > <https://www.linkedin.com/in/dushanabeyruwan>* > Mobile:(001)408-791-9312 > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Geeth Munasinghe* *WSO2, Inc. http://wso2.com <http://wso2.com/> * *lean.enterprise.middleware.* email: [email protected] phone:(+94) 777911226 <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
