This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bulk data operations

 
Preeti Prabhakar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am on the look out for the most suitable option to do bulk data operations.
I have a requirement where in bulk data will have to be copied and inserted into the same table by modifying one column. The challenge here is that the queries will be dynamic and will be built based upon some metadata. Also, it should be able to run on any database.
I was checking for a suitable java framework for this. Is spring batch framework a good choice for this?

Thanks in advance
 
Kathleen Angeles
Ranch Hand
Posts: 123
Firefox Browser Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring batch will help as a batch framework. Your issue is more on database processing.

Is there anything special with your db queries that need special consideration?
 
Preeti Prabhakar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Kathleen for the quick response.

The specific thing about queries is that the DB structure is highly configurable and table name, columns, joins etc will be built only during runtime.
Will this be supported by the spring batch framework?
 
Saifuddin Merchant
Ranch Hand
Posts: 607
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring batch can do anything you can do in a java program.

Like the good batch framework, it is it provides features like scalability, re-startability and a batch admin to start/stop jobs.

From your description it is very hard to say if you need spring batch features, (or batch features at all) - but if you do spring provides a good batch framework.

If you are asking for a personal opinion, from your description I would agree with Kathleen. i don't think you need a batch framework for your requirements, but it's hard to say without more details.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic