• Post Reply Bookmark Topic Watch Topic
  • New Topic

java api for Bulk Copy?  RSS feed

 
laxman kadhir
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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

thanks in advance.
 
Ramasubbhu Allur Kuppusamy
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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...
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That would be a custom extension in the specific JDBC drivers for your database engine.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!