For Oracle database tables, one typically creates a Sequence to
provide primary key values.  For example:

create table WIDGET (
    id Number(8,0) not null,
    name varchar2(50) not null,
    ...
    constraint WIDGET_PK primary key (id),
    ...
)
create sequence WIDGET_ID_SEQ

When creating records using Mapper, is there a convenient way to get
Mapper to automatically leverage the corresponding sequence to
populate the id column?

(Why Oracle doesn't do this automatically in 2009 like SQL Server,
Sybase, and other database systems, is beyond me...)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to