It looks the same for mnesia and odbc backend. If so, could you please write a function which is returning such a default record and just use this function in both cases?