You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when there is a lot of data in the DB, the following takes a long time (2-3 mins) to return.
TypedQuery<org.cryptocoinpartners.schema.Trade> query = entityManager.createQuery(
"select t from Trade t where market=?1 and time=(select max(time) from Trade where market=?1)",
org.cryptocoinpartners.schema.Trade.class);
query.setParameter(1, market);
The text was updated successfully, but these errors were encountered:
when there is a lot of data in the DB, the following takes a long time (2-3 mins) to return.
TypedQuery<org.cryptocoinpartners.schema.Trade> query = entityManager.createQuery(
"select t from Trade t where market=?1 and time=(select max(time) from Trade where market=?1)",
org.cryptocoinpartners.schema.Trade.class);
query.setParameter(1, market);
The text was updated successfully, but these errors were encountered: