Hi Jeremy, this depends on the database. RIFE delegates the identifier field number to whatever the database provides for that (auto increment, sequence, ...). You have to ask yourself what you need the '1' for, since the number of the identifier only serves to identify, not to order. There can be gaps, for instance. Nothing is guaranteed regarding which row gets which number. If you need a specific logic for a numeric column, it's best to add a dedicated column for that. If this logic is ordering, RIFE has support for that through the ordinal(true) constraint, and the ContentQueryManager.
Hope this helps, Geert On 6/19/07, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: > > Hi All, > I have followed the wiki and I'm using MetaData to create a > database table. I would like to have the table created to start with > 1 for the identifier field instead of 0. More searching of the wiki > and the source reveals nothing. Can someone help me figure out how to > have my identifier field start with something other than 0? > > Take care, > > Jeremy > > > > -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~---
