Re: Aggregate function: Different results with jdbc and psql
От
Guillaume Cottenceau
Тема
Re: Aggregate function: Different results with jdbc and psql
Дата
Msg-id
878wt01umj.fsf@mnc.ch
Ответ на
Aggregate function: Different results with jdbc and psql (Tilman Rassy)
Список
Дерево обсуждения
Aggregate function: Different results with jdbc and psql Tilman Rassy <rassy@math.TU-Berlin.DE>
Re: Aggregate function: Different results with jdbc and psql Tom Lane <tgl@sss.pgh.pa.us>
Re: Aggregate function: Different results with jdbc and psql Tilman Rassy <rassy@math.TU-Berlin.DE>
Re: Aggregate function: Different results with jdbc and psql Tilman Rassy <rassy@math.TU-Berlin.DE>
Re: Aggregate function: Different results with jdbc and psql Guillaume Cottenceau <gc@mnc.ch>
Re: Aggregate function: Different results with jdbc and psql Tilman Rassy <rassy@math.TU-Berlin.DE>
Re: Aggregate function: Different results with jdbc and psql Guillaume Cottenceau <gc@mnc.ch>
Re: Aggregate function: Different results with jdbc and psql Tilman Rassy <rassy@math.TU-Berlin.DE>
Re: Aggregate function: Different results with jdbc and psql "Marc Mamin" <M.Mamin@intershop.de>
Re: Aggregate function: Different results with jdbc and psql Tilman Rassy <rassy@math.TU-Berlin.DE>
Re: Aggregate function: Different results with jdbc and psql "Marc Mamin" <M.Mamin@intershop.de>
Tilman Rassy writes: > Hello, > > I have the following problem: A certain query, i.e., > > SELECT * FROM user_worksheet_grades WHERE user_id = 23 AND worksheet_id = 105; > > gives > > worksheet_id | user_id | num_edited | num_corrected | grade > --------------+---------+------------+---------------+------- > 105 | 23 | 1 | 1 | 4 > (1 row) > > when I issue it in psql. When I use the same query from JDBC in Java, the > column "grade" is SQL NULL. Can you show the Java code (to the list)? Are you sure you connect to the database with the same user/password with psql and JDBC? -- Guillaume Cottenceau
В списке pgsql-jdbc по дате отправления
От: Tilman Rassy
Дата: