How can i export data from a javaDB ( found under services tab in netbeans) into a text file? i'm looking for the easiest possible code. (also i want to use this code in a jframe but means of a button).Can someone please help.
2 Answers
Sure there is. There are a number of stored procedures called SYSCS_UTIL.SYSCS_[IMPORT|EXPORT]_* for this kind of thing.
More info can be found in the Derby Reference Manual
and Derby Server and Administration Guide
Esp. the section called "Running import and export procedures from JDBC"