Any party to a proceeding by habeas corpus, including the state when the district attorney appears therein, may appeal from the judgment of the court refusing to allow such writ or any judgment therein, in like manner and with like effect as in an action. No question once finally determined upon a proceeding by habeas corpus shall be reexamined upon another proceeding of the same kind.
ORS 34.710