dbadapter: store whole string, not only c-string