Bed Sharing

How long did baby share the bed with you? My daughter is approaching a year old pretty soon and hates her crib. I’m just curious to see if people bed shared a couple years then had success moving toddler to own room .