• Post Reply Bookmark Topic Watch Topic
  • New Topic

help

 
geeta anjali
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to run sql backup file from front end(java code)?

normally we run in sql command client with 'source' but that is not working from front end
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "front end"?

Normally we run SQL in Java using JDBC, and we access files using the java.io package.
 
Shobhit Khandelwal
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can run any file from front end(java code) using classes from java.io package. It an be .sql file also.
 
Fatih Keles
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by sql backup file? Do you wish to init a database backup from java code? What is your database vendor? Database backup tools are vendor specific.

Regards,

Fatih.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!
Please UseAMeaningfulSubjectLine
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!