ibatis « postgresql « Java Database Q&A





1. Howto return ids on Inserts with Ibatis ( with RETURNING keyword )    stackoverflow.com

I'm using iBatis/Java and Postgres 8.3. When I do an insert in ibatis i need the id returned.
I use the following table for describing my question:
CREATE TABLE sometable ( id serial NOT ...

2. RETURNING id probl?em with insert Postgres 8.4    stackoverflow.com

Iam trying to do an insert for return generated id INSERT RETURNING id. In postgres editor it work without problems, but in code execution - java 1.6 with iBatis 3 (8.4 ...

3. Inserting int[] into PostgreSql with iBatis    stackoverflow.com

... is there an easy way to insert a Java int[] into PostgreSql with the help of iBatis? (the older one, not the new MyBatis) Not sure if I DO need a ...

4. PostgreSQL - integer[] best practice    stackoverflow.com

Working on a web app lately I decided to use integer[] in the data model. Having 2 tables, one with articles' data and a second with tags (tag id and description), ...