wood burning stoves*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Author

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.

Regards,
Venkat
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

Please do not post the same question more than once.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to run db scripts using java
 
Similar Threads
NX: Core distributed computing concept and locking
Need a help regarding .....
db location
Run .sql file using JDBC or any java API
Need a Java Installer