The process is called "cloning". A cutting of Cannabis with its stem in clean water will survive a few weeks. Long enough to show flowers before it expires. If you want it to root, you apply a rooting hormone to the stem, and place it in soil to develop roots. If you want flowers for sexing, you...