
276 Cal.App.2d 178 (1969)
THE PEOPLE, Plaintiff and Respondent,
v.
JERRY IVENDITTI, Defendant and Appellant.
Crim. No. 15671. 
California Court of Appeals. Second Dist., Div. Four.  
Sept. 17, 1969.
 Donald F. Roeschke, under appointment by the Court of Appeal, for Defendant and Appellant.
 Thomas C. Lynch, Attorney General, William E. James, Assistant Attorney General, and Robert J. Polis, Deputy Attorney General, for Plaintiff and Respondent.
 DUNN, J.
 Pursuant to the provisions of section 3100.6 of the Welfare and Institutions Code, the district attorney filed a petition for commitment of appellant as a narcotic drug addict. In due course appellant was arraigned and the matter was set for hearing. At such hearing on November 21, 1967, appellant was represented by private counsel who stated: "I would offer the following stipulation: That for the purpose of this hearing and this hearing only that counsel has talked and has advised his client and that he will stipulate that the doctors' reports may come into evidence, and that the evidence of those reports is that he is either in imminent danger by repeated use of becoming addicted to the use of heroin, or is already addicted to the use of heroin." Thereafter the court stated that: "Based upon the evidence before it, the Court will find that this patient is a narcotic addict or in imminent danger of becoming addicted as a result of his repeated use of narcotic substances." He ordered appellant committed. Immediately thereafter appellant requested a jury trial under Welfare and Institutions Code, section 3108. Such trial ultimately was set. On that occasion appellant personally waived a jury and, through his counsel, agreed "... that the entire matter be submitted on the compiled file which includes the doctors' reports ..." Appellant was again ordered committed.
 [1a] Appellant's sole contention on this appeal  [fn. 1] is that no "hearing" took place on November 21, 1967, and that he did not "personally" waive a hearing. Based on In re Gonzales (1966) 246 Cal.App.2d 296 [54 Cal.Rptr. 689], he claims *180 the absence of a hearing is a jurisdictional defect entitling him to reversal, irrespective of the fact that a later trial of the same issues took place.
 We find no merit in this contention. The hearing provided for in Welfare and Institutions Code, section 3100 et seq. did take place. Appellant, through his counsel, merely dispensed with the necessity to call witnesses. Evidence in the form of reports was received by stipulation and, based thereon, the court drew its findings and conclusions. [2] "A 'hearing' is generally understood to be a proceeding where evidence is taken to the end of determining an issue of fact and a decision made on the basis of that evidence." (People v. Pennington (1967) 66 Cal.2d 508, 521 [58 Cal.Rptr. 374, 426 P.2d 942].) The required hearing took place.
 [1b] This case does not fit within the framework of Gonzales, which held that the failure to serve the petitioner with a notice required by statute defeated the court's jurisdiction and that a subsequent jury trial could not cure such jurisdictional defect. In other words, jurisdiction was never vested in the court. No such jurisdictional point is here involved. Appellant received statutory notice and, with his counsel, appeared in November on the date set for hearing. Even if such hearing were improperly waived, as claimed, jurisdiction to hear the matter remained with the court.  [fn. 2]
 For the foregoing reasons we conclude none of appellant's rights were violated and his commitment was properly ordered. Such order is affirmed.
 Files, P. J., and Kingsley, J., concurred.
NOTES
[fn. 1]  1. The commitment order is appealable:people v. Murphy (1969) 70 Cal.2d 109, 114-115 [74 Cal.Rptr. 65, 448 P.2d 945]; In re De La O (1963) 59 Cal.2d 128, 156 [28 Cal.Rptr. 489, 387 P.2d 793, 98 A.L.R.2d 705], cert. denied, 374 U.S. 856 [10 L.Ed.2d 1076, 83 S.Ct. 1027]).
[fn. 2]  2. Unlike Gonzales where a jury trial followed the hearing, appellant here waived a jury and asked the court again to pass upon his addiction. At the time this occurred, Welfare and Institutions Code section 3108 had been amended to allow a second hearing with a jury, only. Accordingly, the trial court should have refused again to hear it, though there is no apparent harm to appellant as a result. See: People v. Davis (1969) 273 Cal.App.2d 257 [77 Cal.Rptr. 903].
