You need to sign in to do that
Don't have an account?
jvaloto
Create an SObject object from a search SQL
Hello,
I am building a JAVA application, and I use WSC, but is dynamic, I do not use Account[] or Lead[], I have to create a SObject to pass in my connection.
connection.upsert(externalIDFieldName, sObjects)
I have my search in SQL:
PreparedStatement ps = ConexaoSQL.conectaBanco().prepareStatement("SELECT TOP 1 Id_Salesforce, LastName, Company FROM lead");
Now I have to create an SObject starting from this research.
Could someone help me?