• 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
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

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.
 
Opportunity is missed by most people because it is dressed in overalls and looks like work - Edison. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic