Tagged Questions
1
vote
1answer
30 views
Advice needed to understand cause of java.sql.SQLException: No suitable driver found for jdbc:postgresql error
I am writing a web application and I am trying to use hibernate to connect to a PostgreSQL 8.4.13 database in my project. I have been unsuccessful so far, I get the following error ...
0
votes
3answers
25 views
java [deprecation] readLine() in DataInputStream has been deprecated?
I wrote a java sever socket,it could connect postgresql and return values,but when I compile javac -deprecation SQLServer.java
And why warning cannot work?
It didn't have any error.How can I fix it?
...
0
votes
2answers
30 views
how do i pass a cursor as parameter to stored procedure and catch it back in java
I have a stored procedure
CREATE OR REPLACE FUNCTION fun_retrieve_vector_receipt_payment_details(character varying, integer, character varying, character varying, character varying, refcursor) ...
0
votes
0answers
51 views
CDI + JPA + EJB + JTA + JSF --JBoss-Kitchen Example with PostgreSQL?
I am trying to learn the new technologies CDI + JPA + EJB + JTA + JSF so, i have downloaded the sample project from JBoss-Community--> jboss-as-kitchensink(from JBoss in my Eclipse juno).
I am Trying ...
0
votes
1answer
24 views
How to use LO datatype with postgresql?
What I'm currently trying to do:
I am using a software with Postgresql as the backend DB. The software supplies an API that uses a web service to communicate with the software/DB. I am trying to ...
-1
votes
0answers
16 views
Guidelines for the Development of Web GIS Portal for Searching Data from Database [on hold]
I am starting my Career as a GIS Developer. I need help on Development of Web GIS Portal in which we have to Search Data from Database from my webpage and Zoom to that place.
This is the First Step i ...
0
votes
0answers
15 views
Sonar C++ project setup
I am running a Linux machine with PostGre SQL Db and Tomcat 7 WS. I had modified the sonar-project.properties and sonar-runner.properties file but it says JDBC connection failed if I try to execute ...
-1
votes
1answer
46 views
Mobile website html5 with back end java? [on hold]
I am new to html5 but i know Java, c#, c++ pretty well.
I need to make a simple ordering type website for school. My professor suggested using html5. I need this website to run on all phones, ipad, ...
0
votes
0answers
27 views
How composite key in postgres affect hibernate performance? Shell I use artificial primary key instead?
In my application I use spring 3.2.4, hibernate 4.2.5, postgres 9.2.2. Tables are mapped through entity annotation and created through hibernate.hbm2ddl.auto=update in postgres.
The application ...
0
votes
1answer
36 views
Configure two PostgreSQL database(fail over mechanism) using Spring 3
I am using Tomcat JDBC API(org.apache.tomcat.jdbc.pool.DataSource) to connect to my PostgreSQL database from Spring configuration file as shown below. I got a new requirement to configure two ...
2
votes
1answer
43 views
What is the JDBC type for ctid in postgres?
I cannot seem to set the proper type in a prepared statement. This code:
String sql = "delete from foo where ctid = ?";
PreparedStatement deleteStmt = conn.prepareStatement( sql );
...
-1
votes
0answers
21 views
Jasper Report JAVA swing with postgresql [closed]
I have been searching the code to generate a report from java swing desktop application with back end PostgreSQL. I preferred jasper to do that. But i am stuck with some errors. can any one give me a ...
0
votes
1answer
58 views
How are passwords and salts combined with MD5 in Java and Postgres SQL?
I'm having some trouble using salts with MD5. I'm using both SQL (with Postgres 9.2) and Java, and I can't figure out how the salt and the unencrypted password are being combined. Here's the Java ...
0
votes
0answers
24 views
Hibernate and PostgreSQL char type compatibility issue
I have a Customers(one) <-> OrderRecords(many) relation in the database, and OrderRecords have foreign key to reference Customers' id.
CREATE TABLE customers (cid VARCHAR(8) PRIMARY KEY, name ...
0
votes
2answers
20 views
java.util.Date in net.java.ao.Entity
I have a problem with saving data. Need to have Date field in my entity, but get error
org.postgresql.util.PSQLException: ERROR: column "TIME" cannot be cast to type timestamp without time zone
my ...