On April 23, 1963, the plaintiff William J. Riley applied to the defendant for a permit to conduct a liquor package store in Enfield. On June 3, 1963, the plaintiff Harry F. Preston made a similar application for a package store liquor permit in Norwalk. The Great Atlаntic and Pacific Tea Company, henceforth called the company, was the backer on each application. Section 30-48a of the General Statutes was passed by the 1963 General *244 Assembly and became effective оn June 24, 1963. The text of the section is printed in the footnote. 1 In July, 1963, the defendant refused to accept, and returned, both applications for the stated reason that § 30-48a prohibits “any backer from having an interest in more than two alcoholic bеverage retail permits.” A “backer” is defined by § 30-1 (3), quoted in the footnote. 2 Riley, Preston and the company promptly applied for hearings before the defendant on their applications. The defendant denied them a hearing, and the applicants appealed to the Court of Common Pleas on the ground that the refusal to accept the applications was illegal, arbitrary and an abuse of discretion.
After each appeal was returned to court, the рlaintiffs filed a substituted complaint in each case setting forth the appeal in a first count and adding a second *245 count seeking an injunction restraining the defendant from invoking any of the provisions of § 30-48a and a declaratory judgment determining the rights of thе parties. The Preston action was then ordered transferred from Fairfield County, where it was pending, to Hartford County, where the Riley action was pending and where the two actions were thereafter heard together because the issues werе identical. The trial court found the issue on the appeal under the first count in each case in favor of the defendant, and the plaintiffs in neither ease have appealed from that judgment. On the issues under the second count in each case, however, the trial court rendered a declaratory judgment that § 30-48a is unconstitutional but did not grant injunctive relief. From that judgment the defendant has appealed in each case, and, pursuant to stipulation of the parties, the cases come here on a single appeal record.
Thus, the only issue before us is the portion of the judgment declaring § 30-48a unconstitutional. We are constrained to notice, however, the inconsistency between that portion of the judgment аnd the remaining portion, which determined the appeal phase of the case in favor of the defendants. The judgment should admit of a consistent construction as a whole. See
Harrison
v.
Union & New Haven Trust Co.,
We turn now to the defendant’s appeal from the judgment on the second count declaring § 30-48a unconstitutional. The error assigned is that, as a matter of law, and owing to the trial court’s еrroneous conclusions from the subordinate facts, the statute violates no constitutional rights of the plaintiffs and is a valid regulation of the liquor traffic.
The allegations of the second count in each complaint are substantially the same. In addition to reciting, the provisions of $ 30-48a in full, they state that the company holds more than two permits issued by the defendant and is authorized to sell packaged liquor for off-premises consumption in various of its stores located throughout the state, and that the defendant intends to enforce § 30-48a, which is unconstitutional because it deprives the plaintiffs of property without due process of law, is arbitrary, unreasonable, discriminatory, class legislation and lacking a basis in public necessity. Finally it is alleged that enforcement will result in injury to the plaintiffs.
The trial court’s finding of the subordinate facts proved in support of these allegations is not disputed. It is found that the company made each application as a backer of Riley and Prеston, who were to be the company’s permittees; that the plaintiffs are suitable applicants, the premises are suitable, and the plaintiffs meet all statutory requirements applicable prior to the effective date of § 30-48a; and that the company is already the backer *247 of fifty-seven other package store permittees in Connecticut. The rest of the subordinate facts found relate to the terms and effective date of § 30-48a and the action taken by the сommission under it as already related.
In order to be entitled to injunctive relief the plaintiffs were required to allege and prove irreparable injury.
Theurkauf
v.
Miller,
We next observe that the trial court has not found that the enforcement of the statute will result in any injury to the plaintiffs. Proof of such injury is essential to an attack on the constitutionality of § 30-48a.
Coyle
v.
Housing Authority,
Of greatest significance, however, since the plain
*248
tiffs seek to have the question of constitutionality determined in a declaratory judgment action, is the question of parties. The only parties in these cases are Riley, Preston, the company and the defendant commission. The declaratory judgment action under which the plaintiffs have chosen to proceed is a special statutory procеeding in which we are not limited by the issues joined or the claims of counsel.
Bania
v.
New Hartford,
It is fundamental that a declaratory judgment will not be rendered upon the complaint of any person unless all persons hаving an interest in the subject matter of the complaint are parties to the action or have reasonable notice thereof. Practice Book § 309 (d);
Connecticut Society of Architects, Inc.
v.
Bank Building & Equipment Corporation,
Regardless of the merits of the attack made here, *250 the claim that a statute is unconstitutional is always important. It is always one which we prefer, if possible, to decide. The issue must, however, be presented for decision in a manner to affect only those who have had an opportunity to be heard. While the issue in this case could, as already indicated, have been properly decided if raised as a part of the appeal under the first count, the plaintiffs’ failure so to raise it or to take any apрeal from the judgment on that count has effectively removed that avenue of approach. For reasons already stated, also, there is no issue on injunctive relief before us to which a constitutional question could attach. The question is presented only in the faulty declaratory judgment method which prohibits determination.
There is error as to the second count only in each case, the judgment for the plaintiffs in each case under the second count is set aside and the сase is remanded with direction to dismiss the second count of the complaint in each case for lack of jurisdiction.
In this opinion the other judges concurred.
Notes
“Sec. 30-48a. limitation on interest in retail permits. (a) On and after June 24, 1963, no person and no backer, as defined in section 30-1, shall, except as hereinafter provided, acquire an interest in more than two alcoholic beverage retail permits, but nothing herein shall require any such person who has, on June 24, 1963, such interest in more than two such permits to surrender, dispose of оr release his interest in any such permit or permits nor shall it affect his right to continue to hold, use and renew such permits. (b) Retail permits for the purposes of subsection (a) of this section are defined as follows: Package store liquor permit, package store beer permit, druggist liquor permit and druggist beer permit. (e) Membership in any organization which is or may become the holder of a club permit shall not constitute acquisition of an interest in a retail permit. (d) Any person who violates any provision of this section or of any regulation issued pursuant hereto shall be fined not less than fifty dollars nor more than two hundred fifty dollars and any permit issued in violation of this section shall be revoked.”
“See. 30-1. definitions. ... (3) 'Backer’ means, except in cases where the permittee is himself the proprietor, the proprietor of any business or club, incorporated or unincorporated, engaged in the manufacture or sale of alcoholic liquor, in which business a permittee is associated, whether as employee, agent or part owner.”
