Do you know How I can take a dump from db (oracle10g) by some javacode or sql statement.
1) exceute a select * SQL command2) get field names and info by getmetadata on resultset3) crate "create table" statement from metadata4) iterate result set and craate insertstatementsadd result of 3,4 to your dump file
Try the command line utility pair expdp/impdp