or, you could try @GeneratedValue(strategy = GenerationType.AUTO, generator = "system-guid") @GenericGenerator(name = "system-guid", strategy = "guid")
with or without the Microsoft driver <property name="driverClassName"> <value>com.microsoft.sqlserver.jdbc.SQLServerDriver</value> </property> and the pom entry <!dependency> <groupId>MSSQLDriver</groupId> <artifactId>sqljdbc</artifactId> <version>1.1.1501.101</version> </dependency> On 09/09/2008, at 4:05 AM, Oliver Lambert wrote: > 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 -~----------~----~----~----~------~----~------~--~---