• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Bulk data operations

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 123
Firefox Browser Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 608
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic