ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chevy <chetan.v.ya...@target.com>
Subject Re: [EXTERNAL] Re: Class objects are fetched as string when JDBC api is used
Date Wed, 09 Nov 2016 06:50:20 GMT
I am not printing it out directly but converting resultset to list and passing to my rest-api.
Overriding toString() provides me data on first level variables say class A but I have other
class objects (say B) list inside A which is returning empty list even if I override toString()
inside class B.


From: "vkulichenko [via Apache Ignite Users]" <ml-node+s70518n8799h70@n6.nabble.com>
Date: Wednesday, November 9, 2016 at 3:57 AM
To: "Chetan.V.Yadav" <Chetan.V.Yadav@target.com>
Subject: [EXTERNAL] Re: Class objects are fetched as string when JDBC api is used

To my knowledge, both JDBC driver and especially SqlFieldsQuery should return objects, not
strings. However, if you print out these object and you didn't override toString, then you
will get exactly what you shown in the output. Can this be the case?

If you reply to this email, your message will be added to the discussion below:
To unsubscribe from Class objects are fetched as string when JDBC api is used, click here<http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=8720&code=Y2hldGFuLnYueWFkYXZAdGFyZ2V0LmNvbXw4NzIwfC02OTIwMTYzODA=>.

View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Class-objects-are-fetched-as-string-when-JDBC-api-is-used-tp8720p8814.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
View raw message