Pouziti autoincrementu

Honza Pazdziora adelton na informatics.muni.cz
Úterý Červen 17 11:16:20 CEST 2003


On Tue, Jun 17, 2003 at 10:41:59AM +0200, Karel Zak wrote:
> > 
> > V JDBC 3.0 to je getGeneratedKeys().
> 
>  No tak vo co vlasne de? :-)

Voto, ze i pokud si nad tabulkou v Oraclu napisu trigger, aby mi do
primarniho klice cpal pri insertu sekvence.nextval, tak mi (rekl bych)
getGeneratedKeys() tuhle hodnotu nevrati.

-- 
------------------------------------------------------------------------
 Honza Pazdziora | adelton na fi.muni.cz | http://www.fi.muni.cz/~adelton/
 .project: Perl, mod_perl, DBI, Oracle, auth. WWW servers, XML/XSL, ...
		Only self-confident people can be simple.


Další informace o konferenci Databases