cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Add action not working????
Date Thu, 01 Mar 2001 13:40:42 GMT
Allan Erskine wrote:
> 
> how are your database tables set up?  On my postgres database I was using
> the serial (autonumbering) type for my id column and had this problem
> 
> Try changing the keys element in employee.xml to read
>     <keys>
>       <key param="employee" dbcol="id" type="int" mode="automatic"/>
>     </keys>
> 
> or whatever's appropriate for your database.

Another thing is to make sure that your Driver allows you to use
explicit transactions.  I know that SQLServer2000 the database
can handle them, but the JdbcOdbcBridge driver won't.  You really
need a JDBC 2.0 compliant driver.

Mime
View raw message