I think sql server uses @GeneratedValue(strategy=GenerationType.IDENTITY) You could try this instead of GenerationType.AUTO (though this should translate to the above)
Oliver On 09/09/2008, at 12:43 AM, Tim Perrett wrote: > > Hmmm, I've tried: > > @Id > @GeneratedValue(){val strategy = GenerationType.AUTO} > @Column(){val insertable = false} > var id : Long = _ > > But yet its still being included in the query, any ideas? > > Cheers, Tim > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---