Hello personal...
I am beginning to use the iBATiS and I am with a problem.
how does to recover him/it number of the sequence generated by the
postgreSQL in an insert?

In the psql I use like this.

insert into customer (name)values('name_customer');
select currval ('sequence_name_sequence')

my structures of the table:
Table customer (
code serial,        -- is as sequence
name varchar(150));

how to do in the ibatis?
Thank you personal

Reply via email to