Get orderAdapter to work with db