Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

java api for Bulk Copy?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I want to know is there any java api's supporting Bulk copy.

thanks in advance.
 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your question is not clear. I guess, you may be referring to "copying the state of an object to another object of the same Class type" . If that is the case, then there is a method called clone() in the Object Class that has to be overridden by the Class of the object in consideration.
First, if the class of this object does not implement the interface Cloneable, then a CloneNotSupportedException is thrown.
There are two kinds of cloning "Shallow Cloning" and "Deep Cloning".
Further reading is recommended at the following link.
http://www.java.sun.com/j2se/1.3/docs/api/java/lang/Object.html
[ June 14, 2006: Message edited by: Ramasubbhu Allur Kuppusamy ]
 
laxman kadhir
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for ur reply.
But am actually referring to copying multiple rows from a database for e.g. Sybase.

So for executing that BCP (Bulk Copy Protocol)command is there any java api's available ?

I think i said it clear...

thanks in advance for all ur suggestions...
 
laxman kadhir
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for ur reply.
But am actually referring to copying multiple rows from a database for e.g. Sybase.

So for executing that BCP (Bulk Copy Protocol)command is there any java api's available ?

I think i said it clear...

thanks in advance for all ur suggestions...
 
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That would be a custom extension in the specific JDBC drivers for your database engine.
 
Trust God, but always tether your camel... to this tiny ad.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic