Serial key

Поиск
Список
Период
Сортировка
От Bhushan Bhangale
Тема Serial key
Дата
Msg-id C9590F897BFAD7119E63000BCD682083C66D58@lmnukpriv.lastminute.com
обсуждение исходный текст
Ответы Re: Serial key
Список pgsql-jdbc
Hi,

I have a table in which the primary key is of type SERIAL. I insert a record
and then I want the generated id because of this, so that I can use the id
to insert records in child table.

I know about a solution in which generate a id before hand and then use the
id to insert in table and also in child tables.

The other stuff which I read in JDK 1.4 is of getGeneratedKeys().

The problem is I have to use JDK 1.3.1.

Is there any solution for this problem?

Thanks
Bhushan

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: crystal reports varchar = string length 0 in jdbc but
Следующее
От: "Chris Smith"
Дата:
Сообщение: Re: Serial key