code: public Object conv2DBGeometry(Geometry jtsGeom, Connection connection) {
  		int srid = jtsGeom.getSRID();
  		WKTWriter writer = new WKTWriter();
  		String wkt = writer.write(jtsGeom);
  		return srid + "|" + wkt;
  	}
docs: Converts a JTS <code>Geometry</code> to a native geometry object.
  
  @param jtsGeom
  JTS Geometry to convert
  @param connection
  the current database connection
  @return native database geometry object corresponding to jtsGeom.