You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <tu...@ws.apache.org> on 2007/07/27 19:58:18 UTC

[jira] Resolved: (TUSCANY-1416) PostgreSQL does not support returning generated keys

     [ https://issues.apache.org/jira/browse/TUSCANY-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende resolved TUSCANY-1416.
--------------------------------------

    Resolution: Fixed

> PostgreSQL does not support returning generated keys
> ----------------------------------------------------
>
>                 Key: TUSCANY-1416
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1416
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java DAS RDB
>    Affects Versions: Java-DAS-Next
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-DAS-Next
>
>
> See details here :
> http://www.mail-archive.com/tuscany-user%40ws.apache.org/msg01261.html
> Exception in thread "main" *java.lang.RuntimeException*: *
> org.postgresql.util.PSQLException*: Returning autogenerated keys is not
> supported.
> at org.apache.tuscany.das.rdb.impl.ReadCommandImpl.executeQuery(*
> ReadCommandImpl.java:65*)
> at org.apache.tuscany.samples.das.customer.CustomerClient.getCustomers(*
> CustomerClient.java:168*)
> at org.apache.tuscany.samples.das.customer.CustomerClient.main(*
> CustomerClient.java:131*)
> Caused by: *org.postgresql.util.PSQLException*: Returning autogenerated keys
> is not supported.
> at org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement(*
> AbstractJdbc3Connection.java:352*)
> at org.apache.tuscany.das.rdb.impl.ConnectionImpl.prepareStatement(*
> ConnectionImpl.java:97*)
> at org.apache.tuscany.das.rdb.impl.Statement.getPreparedStatement(*
> Statement.java:198*)
> at org.apache.tuscany.das.rdb.impl.Statement.executeQuery(*Statement.java:52
> *)
> at org.apache.tuscany.das.rdb.impl.ReadCommandImpl.executeQuery(*
> ReadCommandImpl.java:61*)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org