function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
oaklandoakland 

Dataloader: Provision database spring beans when calling ProcessRunner in a Java standalone

A few questions:

 

   I can get Dataloader to use database-config.xml file when running Dataloader from the command line -  and ONLY when the database-config.xml file is in the execution home folder.

 

   Is this done by design to make it so developers can't write Java programs that call

com.salesforce.dataloader.process.ProcessRunner ?

 

Questions:

 

1. Is there a property can be used to designate the folder/location of the database-config.xml file within a Java standalone that uses com.salesforce.dataloader.process.ProcessRunner?

 

2. Is it possible to provision the data-config-Spring-beans and ProcessRunner uses when called by a Java method? Can this be done by creating a Spring Context on the local host?

 

Thanks.

 

em/Oakland

 

 

Ashish_SFDCAshish_SFDC

Hi Emmett, 

 

I dont think anyone has come so far with this. Please post this request on our Idea Exchange, Product management will look into it and provide work around or Consider for Future Releases based on the technical capability and  votes: https://success.salesforce.com/ideaPost 

Also post it on http://stackoverflow.com/ where we find lot of developers interacting and may come up with some advise. 

 

Regards,

Ashish

  

Some related links: 

http://wiki.developerforce.com/page/Using_Data_Loader_from_the_command_line

Pg #42 https://login.salesforce.com/help/doc/en/salesforce_data_loader.pdf

https://login.salesforce.com/help/doc/en/loader_params.htm

http://docs.database.com/dbcom/en-us/data_loader/command_line_create_config_file.htm?version=184.0

http://force201.wordpress.com/2010/10/15/scripting-the-apex-data-loader-via-ant/

http://docs.database.com/dbcom/en-us/db_help/command_line_create_config_file.htm?version=184.0