diff options
author | Edoardo Vacchi <uncommonnonsense@gmail.com> | 2013-09-13 10:32:20 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-03-12 08:28:23 +0000 |
commit | 94d33ad7c732f620c9e98502b896a65852479b7d (patch) | |
tree | 7c159c7ca2b9b7439abd43aaffb2c144cd40276f | |
parent | 97622fd7232a87a3ba37e6042177cf2d623cedbd (diff) | |
download | vaadin-framework-94d33ad7c732f620c9e98502b896a65852479b7d.tar.gz vaadin-framework-94d33ad7c732f620c9e98502b896a65852479b7d.zip |
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
-rw-r--r-- | server/src/com/vaadin/data/util/sqlcontainer/query/AbstractTransactionalQuery.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |