Unfortunately setTimeout is not implemented for JDBC/postgres. Is there some way I can simulate or workaround this? Functionally I want to execute the query and the then break if ...
How do I cancel a long running postgres query via JDBC or Java?
The usecase would be that an user starts a query on a postgres database
via a front end, but ...
I have some queries being run in a java program that makes use of a PostgreSQL database and some parts of an old version of JDataStore (the parts used to interact ...
I am trying to insert some rows in to a table... I am using postgressql-7.2.jar.
I get the following exception
org.postgresql.util.PSQLException: No results were returned by the query.
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:255)
I ...
I know that the only really correct way to protect SQL queries against SQL injection in Java is using PreparedStatements.
However, such a statement requires that the basic structure (selected attributes, joined ...
String query = "CREATE TABLE \ "EtherMap\".\ table_name\"( feature_name (20));"
Here feature_name is the variable that contains the column name
table_name is the variable that contains the name of the table
Ethermap is the ...
I'm trying to insert some files into a Postgres database. Since lots of duplication is expected, we put the files themselves into the file table, then link them to the section ...
I've got a situation building a data analysis tool where my users can write SQL query (including joins, calculations, etc) and I need to be provide options to the user based ...