# Salesforce driver - json data

**URL:** <https://community.cdata.com/t/salesforce-driver-json-data/606>\
**Category:** CData Drivers\
**Tags:** question, salesforce, driver\
**Created:** [January 24, 2024, 12:57pm UTC](https://community.cdata.com/t/salesforce-driver-json-data/606 "2024-01-24T12:57:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![carmel.ron](https://avatars.discourse-cdn.com/v4/letter/c/f07891/32.png) [@carmel.ron](https://community.cdata.com/u/carmel.ron)\
**Post date:** [January 24, 2024, 12:57pm UTC](https://community.cdata.com/t/salesforce-driver-json-data/606/1 "2024-01-24T12:57:09Z")

</div>

I upgraded the Salesforce JDBC&nbsp; driver from version 21 to 23.

There is a difference in behavior between the 2 versions :

I execute this query and get different results:

> SELECT User.Name FROM User

On version 23:

{  
&nbsp; “Name”: “Carmel”  
}

* * *

On version 21:

“Carmel”

Is this the expected behavior? Is there a fix for it?

---

<div class="post-metadata">

**Author:** ![Ethem\_Q](https://sea3.discourse-cdn.com/cdata/user_avatar/community.cdata.com/ethem_q/32/1997_2.png) [@Ethem\_Q](https://community.cdata.com/u/Ethem_Q)\
**Post date:** [January 26, 2024, 11:13pm UTC](https://community.cdata.com/t/salesforce-driver-json-data/606/2 "2024-01-26T23:13:42Z")

</div>

Hi @carmel.ron

What you are seeing is not the default behavior of the JDBC driver for Salesforce however this could happen when changing the configuration settings on how to represent certain columns. To be more specific, you can get the data for the Name column in JSON format when setting the following hidden connection properties in Other:

_Other=AggregateCompoundFields=True;AggregateCompoundFieldsFormat=JSON;_

Can you confirm if you have set these properties in your connection configuration?

Either way, if you don’t want to get the data for these type of columns in JSON format you can set the AggregateCompoundFieldsFormat to NONE as below:

_Other=AggregateCompoundFields=True;AggregateCompoundFieldsFormat=NONE;_

In case that making these changes does not change the behavior we might need to investigate further on the matter. Feel free to reach out to our support team at [support@cdata.con](mailto:support@cdata.con) or submit a support ticket [here](https://www.cdata.com/support/submit.aspx).
