Skip to content

Commit

Permalink
fix compile error with SqlKind.
Browse files Browse the repository at this point in the history
  • Loading branch information
HidekiSugimoto189 committed Apr 8, 2019
1 parent 35a0a8d commit a820911
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/jp/co/future/uroborosql/SqlEntityQueryImpl.java
Expand Up @@ -197,7 +197,7 @@ public <T> T sum(final String col) {
return (T) mappingColumn
.getValue(this.entityHandler.doSelect(agent(), context(), this.entityType).findFirst().get());
} catch (final SQLException e) {
throw new EntitySqlRuntimeException(EntityProcKind.SELECT, e);
throw new EntitySqlRuntimeException(SqlKind.SELECT, e);
}
}

Expand All @@ -221,7 +221,7 @@ public <T> T min(final String col) {
return (T) mappingColumn
.getValue(this.entityHandler.doSelect(agent(), context(), this.entityType).findFirst().get());
} catch (SQLException e) {
throw new EntitySqlRuntimeException(EntityProcKind.SELECT, e);
throw new EntitySqlRuntimeException(SqlKind.SELECT, e);
}
}

Expand All @@ -245,7 +245,7 @@ public <T> T max(final String col) {
return (T) mappingColumn
.getValue(this.entityHandler.doSelect(agent(), context(), this.entityType).findFirst().get());
} catch (SQLException e) {
throw new EntitySqlRuntimeException(EntityProcKind.SELECT, e);
throw new EntitySqlRuntimeException(SqlKind.SELECT, e);
}
}

Expand All @@ -267,7 +267,7 @@ public void exists(final Runnable runnable) {
runnable.run();
}
} catch (final SQLException e) {
throw new EntitySqlRuntimeException(EntityProcKind.SELECT, e);
throw new EntitySqlRuntimeException(SqlKind.SELECT, e);
}
}

Expand All @@ -289,7 +289,7 @@ public void notExists(final Runnable runnable) {
runnable.run();
}
} catch (final SQLException e) {
throw new EntitySqlRuntimeException(EntityProcKind.SELECT, e);
throw new EntitySqlRuntimeException(SqlKind.SELECT, e);
}
}

Expand Down

0 comments on commit a820911

Please sign in to comment.