Fix event reading from database
Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
parent
e68e833e84
commit
c22c7ef971
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public class Event {
|
||||||
public static Event fromResultSet(ResultSet rs) throws SQLException {
|
public static Event fromResultSet(ResultSet rs) throws SQLException {
|
||||||
return new Event(
|
return new Event(
|
||||||
rs.getString(rs.findColumn("id")),
|
rs.getString(rs.findColumn("id")),
|
||||||
rs.getString(rs.findColumn("name")),
|
rs.getString(rs.findColumn("app_id")),
|
||||||
rs.getDate(rs.findColumn("date")),
|
rs.getDate(rs.findColumn("date")),
|
||||||
Event.InteractionType.valueOf(rs.getString(rs.findColumn("type"))),
|
Event.InteractionType.valueOf(rs.getString(rs.findColumn("type"))),
|
||||||
rs.getString(rs.findColumn("user_agent")),
|
rs.getString(rs.findColumn("user_agent")),
|
||||||
|
|
Loading…
Reference in a new issue