Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Automatically Starting/Connecting a Derby Database When Application is Run?

807605Jul 21 2007 — edited Aug 10 2007
whenever i run my application i first have to manually start my database. what i want is for my derby database to start automatically when i run my application. i found an article about starting derby databases but im really confused. heres the article
http://docs.sun.com/app/docs/doc/819-4707/6n6re4ime?a=view
i looked at Starting and Stopping the Derby Database, Derby Utility Scripts and To Configure Your Environment to Run the Derby Utility Scripts. any1 know where i have to put
start-database [--dbhost 0.0.0.0] [--dbport 1527] [--dbhome path/derby]
and
stop-database [--dbhost 0.0.0.0] [--dbport 1527]
?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2007
Added on Jul 21 2007
15 comments
372 views