Column order in table generation is different than the column order in the scala class
15 views
Skip to first unread message
Andrijan Jelovic
unread,
May 31, 2019, 4:48:49 PM5/31/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Squeryl
Hi,
Is it possible to keep the column order in CustomTypesMode when generating table columns? As an example, my scala class has the id field as the first value of the case class constructor, but it ends up being specified in the MS SQL database as the 14th column in the database. Is there a way to force the order of the columns equivalent between the database and the Scala program?