You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Edward Nesterov <ed...@quadrix.com> on 2001/08/16 20:53:03 UTC

ID_TABLE & new id generation

Hi everybody,

I would like to find out do I need "ID_TABLE" table in my schema
if I'm generating the new Ids using triggers and sequences ( Oracle ).

Thanks in advance.

Ed.



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: ID_TABLE & new id generation

Posted by John McNally <jm...@collab.net>.
No you do not need ID_TABLE when using sequences.  Note that if you are
triggering the sequence in insert statements you will not get the full
benefit of the OM/Peer layer, because there is no way to let the object
know what its pk is, but the om/peer classes can still be useful to a
degree.

john mcnally

Edward Nesterov wrote:
> 
> Hi everybody,
> 
> I would like to find out do I need "ID_TABLE" table in my schema
> if I'm generating the new Ids using triggers and sequences ( Oracle ).
> 
> Thanks in advance.
> 
> Ed.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: ID_TABLE & new id generation

Posted by Jon Stevens <jo...@latchkey.com>.
on 8/16/01 11:53 AM, "Edward Nesterov" <ed...@quadrix.com> wrote:

> Hi everybody,
> 
> I would like to find out do I need "ID_TABLE" table in my schema
> if I'm generating the new Ids using triggers and sequences ( Oracle ).
> 
> Thanks in advance.
> 
> Ed.

No.

-jon


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org