From 94d33ad7c732f620c9e98502b896a65852479b7d Mon Sep 17 00:00:00 2001 From: Edoardo Vacchi Date: Fri, 13 Sep 2013 10:32:20 +0200 Subject: Class AbstractTransactionalQuery should be public (#12285) AbstractTransactionalQuery was not visible outside its package (default visibility). Added `public`. Making this class public avoids lots of boilerplate code when making alternate implementations of a QueryDelegate. A standard TableQuery does a lot of introspection on the DB schema. If the schema is known beforehand, alternate implementations may specify this information explicitly, and inherit from AbstractTransactionalQuery to reuse part of the implementation. Change-Id: I7d6b399ed7c755941ee9be7931a2ba80e812b5ab --- .../vaadin/data/util/sqlcontainer/query/AbstractTransactionalQuery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/src/com/vaadin/data/util/sqlcontainer/query/AbstractTransactionalQuery.java b/server/src/com/vaadin/data/util/sqlcontainer/query/AbstractTransactionalQuery.java index 3264118732..f36b583e07 100644 --- a/server/src/com/vaadin/data/util/sqlcontainer/query/AbstractTransactionalQuery.java +++ b/server/src/com/vaadin/data/util/sqlcontainer/query/AbstractTransactionalQuery.java @@ -31,7 +31,7 @@ import com.vaadin.data.util.sqlcontainer.connection.JDBCConnectionPool; * @author Vaadin Ltd * @since 6.8.9 */ -abstract class AbstractTransactionalQuery implements Serializable { +public abstract class AbstractTransactionalQuery implements Serializable { private JDBCConnectionPool connectionPool; private transient Connection activeConnection; -- cgit v1.2.3