summaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-01-09 13:54:52 +0000
committerVaadin Code Review <review@vaadin.com>2013-01-09 13:54:52 +0000
commit488259c57d55e5cfdc82f2e0197da3746f4413e1 (patch)
treee598548e72ee5eaf869e772176d84295257b55f5 /server/src
parent30f4d3ede40f95919a225a1f7f8bff182a1bf0e2 (diff)
parent952a77091aeb0820a4235077a14398c83a2827cc (diff)
downloadvaadin-framework-488259c57d55e5cfdc82f2e0197da3746f4413e1.tar.gz
vaadin-framework-488259c57d55e5cfdc82f2e0197da3746f4413e1.zip
Merge "Merge of (#10032) to Vaadin 7."
Diffstat (limited to 'server/src')
-rw-r--r--server/src/com/vaadin/data/util/sqlcontainer/SQLContainer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/data/util/sqlcontainer/SQLContainer.java b/server/src/com/vaadin/data/util/sqlcontainer/SQLContainer.java
index 742e68738a..f7f3e73a7f 100644
--- a/server/src/com/vaadin/data/util/sqlcontainer/SQLContainer.java
+++ b/server/src/com/vaadin/data/util/sqlcontainer/SQLContainer.java
@@ -1149,8 +1149,8 @@ public class SQLContainer implements Container, Container.Filterable,
try {
delegate.beginTransaction();
rs = delegate.getResults(0, 1);
- boolean resultExists = rs.next();
rsmd = rs.getMetaData();
+ boolean resultExists = rs.next();
Class<?> type = null;
for (int i = 1; i <= rsmd.getColumnCount(); i++) {
if (!isColumnIdentifierValid(rsmd.getColumnLabel(i))) {