SQL database parameters should save at where?

Ads
 

SQL database parameters should save at where?

Hi,

Currently the information regarding the SQL databases are hard coded into the script, Assuming the script will be running for very long time, I like to move the SQL database parameters to the file and read using JAVA I/O

and allow user to edit the file, if there is a database changed (hostname, username or password)

It should not have any problem, but with this changes. it meant this file will be read for every loading of servlet...

Is this the smarter way to use in the "real system" and will the reading on the local file shorten the disk scetor life span?

View Answers

Ads









Related Tutorials/Questions & Answers:
SQL database parameters should save at where?
what is proper way to save pictures in SQl database and call it through JSP ?
Advertisements
SQL IN Parameters
Why Should I Learn SQL?
Why Should I Learn SQL?
Why Should I Learn SQL?
Why Should I Learn SQL?
Should I learn SQL or MySQL first
Should I learn SQL or MySQL first
sql database
supplying values to in parameters of stored procedure in ms sql and displaying out parameters
database(sql)
How to save database data into excelsheet using hibernate
Transfer Data to Sql Database
how to import excel sheet into mysql database and save it as a table in database
Import Data to SQL database in Java
What should I learn first SQL or Java?
SQL Alter Database
Insert image from user using and save in database
Create Database in SQL,SQL Tutorial
How save,get picture from database in my jsp page?
Save profile and image to mysql database, and view the image in another jsp page
i want to save image on server folder. and i want to save URL of this folder and name of image in database
How to save excel sheet into mysql database using blob or clob
How to save form fields into the MySql Database without submit button in jsp?
Migrating sql database to Access through coding
ModuleNotFoundError: No module named 'sql-database-service'
How i upload file and save that record in database using JSP?
save multiple records into database using jsp/servlet mvc
Uploading a Profile with image[file] into a sql database
Upload Image and save in database using jsp-servlet mvc

Ads