Load tPostgresqlOutput_1

One Star

Load tPostgresqlOutput_1

By making the load occurs the error below:

Exception in component tPostgresqlOutput_1
java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could not create instance of net.sourceforge.jtds.jdbc.BlobImpl - net.sourceforge.jtds.jdbc.BlobImpl
    at teste.pedidodevenda_0_1.PedidoDeVenda$row2Struct.readValuesData(PedidoDeVenda.java:12444)
    at org.talend.designer.components.lookup.persistent.AbstractOrderedBeanLookup.loadDataValues(AbstractOrderedBeanLookup.java:225)
    at org.talend.designer.components.lookup.persistent.OrderedBeanLookupMatchLast.next(OrderedBeanLookupMatchLast.java:254)
    at org.talend.designer.components.lookup.persistent.PersistentSortedLookupManager.next(PersistentSortedLookupManager.java:593)
    at teste.pedidodevenda_0_1.PedidoDeVenda.tMSSqlInput_1Process(PedidoDeVenda.java:10613)
    at teste.pedidodevenda_0_1.PedidoDeVenda.runJobInTOS(PedidoDeVenda.java:16356)
    at teste.pedidodevenda_0_1.PedidoDeVenda.main(PedidoDeVenda.java:16213)
Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of net.sourceforge.jtds.jdbc.BlobImpl - net.sourceforge.jtds.jdbc.BlobImpl
    at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:342)
    at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239)
    at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
    at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
    at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
    at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at teste.pedidodevenda_0_1.PedidoDeVenda$row2Struct.readValuesData(PedidoDeVenda.java:12327)
    ... 6 more
Caused by: java.lang.InstantiationException: net.sourceforge.jtds.jdbc.BlobImpl
    at java.lang.Class.newInstance(Unknown Source)
    at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334)
    ... 13 more

Help me!
Seventeen Stars

Re: Load tPostgresqlOutput_1

You have a BLOB field in your result set. The only way to get these fields is using the Java type Object and the custom component tLOBDownload from Talend Exchange. If you do not indent to get this field, remove it from the query and schema.
The build-in components from Talend does not support BLOBs.
One Star

Re: Load tPostgresqlOutput_1

I can not understand how the use of this component could help me how to use it.
thanks