]
Van Halbert commented on TEIID-3533:
------------------------------------
Here's the error message that is seen when the boolean value isn't specified (or
no default is set):
Error: Remote org.teiid.core.TeiidException: org.hibernate.search.bridge.BridgeException:
Exception while calling bridge#set
class: org.infinispan.query.remote.indexing.ProtobufValueWrapper
path:
SQLState: 38000
ErrorCode: 0
Infinispan-dsl-cache translator: can't insert value into BYTE and
BIGINTEGER columns
------------------------------------------------------------------------------------
Key: TEIID-3533
URL:
https://issues.jboss.org/browse/TEIID-3533
Project: Teiid
Issue Type: Bug
Components: Misc. Connectors
Affects Versions: 8.7.1.6_2
Reporter: Filip Elias
Assignee: Van Halbert
Fix For: 8.7.1.6_2, 8.12, 8.11.1
Attachments: server.log, testVDB.vdb
Sample query:
{code}
insert into smalla(intKey, byteNum) values(100,100);
insert into smalla(intKey, BIGINTEGERVALUE) values(100,100);
{code}
Exception:
{code}
[org.teiid.CONNECTOR] (Worker9_QueryProcessorQueue59) Connector worker process failed for
atomic-request=NuZ8Nt3h1bKx.20.0.13: java.lang.IllegalArgumentException: Conversion from
String to java.math.BigDecimal is not supported
at org.teiid.core.util.StringUtil.valueOf(StringUtil.java:797)
[teiid-common-core-8.7.1.6_2-redhat-2.jar:8.7.1.6_2-redhat-2]
at org.teiid.core.util.PropertiesUtils.setProperty(PropertiesUtils.java:792)
[teiid-common-core-8.7.1.6_2-redhat-2.jar:8.7.1.6_2-redhat-2]
at org.teiid.core.util.PropertiesUtils.setBeanProperty(PropertiesUtils.java:782)
[teiid-common-core-8.7.1.6_2-redhat-2.jar:8.7.1.6_2-redhat-2]
at
org.teiid.translator.infinispan.dsl.InfinispanUpdateExecution.handleInsert(InfinispanUpdateExecution.java:204)
{code}
The VDB and the server log is attached.