File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Need to run db scripts using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Need to run db scripts using java" Watch "Need to run db scripts using java" New topic

Need to run db scripts using java

Venkata Sirish
Ranch Hand

Joined: Apr 09, 2007
Posts: 112
Hi ranchers,

This is venkat.

Currently iam in need of developing a swing widget kind of interface through which i need to copy a file from one location to another location(app server location) and restart the weblogic server. can i achieve this using java ?.

Also i need to run initial db scripts.

The file to be transfered and script files are packed in a jar file. upon clicking the jar file i need to open a swing interface which prompts the user to select the path of DB server and finally i need to run the db scripts onto that server.

Can any one please help me to automate the above two manual functionalities.

Thanks for your time.

Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Please do not post the same question more than once.

[How To Ask Questions On JavaRanch]
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

This is not an ORM question, and it is a dup. So I am closing this thread.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Need to run db scripts using java
It's not a secret anymore!