Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

What other solutions are available? For a program that uses SQL statements as a config file? [closed]

$
0
0

I have to complete a javaSE program that I need to read the data from the config file. The required data is extracted from an unknown table and unknown fields - unknown to the program-.I also have a condition as input data.

My solution for writing the program was to ask the user SQL SELECT string as a configuration line of file :

<?xml version="1.0" encoding="UTF-8"?><config><line1><!--Enter SELECT  string without 'WHERE PrimaryKey=...'-->     SELECT unknownField1,unknownField2   FROM unknownTable  </line1></config>

Is this the right solution?


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>