Plain Old SQL servlet
Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
src/main
.classpath
.gitignore
.project
README.txt
pom.xml

README.txt

Plain Old SQL servlet

Place a properties file in /etc/posql/posql.properties

tomcat.user=admin
tomcat.password=
tomcat.url=http://localhost:8080/manager

mvn jetty:run 

access at http://localhost:8080/posql/selection

For every database you want to allow access to create a file
/etc/posql/<dbname>.properties

dbBaseUrl=jdbc:mysql://localhost:3306/                                                                                            
driver=com.mysql.jdbc.Driver
user=root                                                                                                     
password=pwd