com.transferwise.tasks.dao.PostgresTaskSqlMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tw-tasks-core Show documentation
Show all versions of tw-tasks-core Show documentation
Transferwise Tasks Executor - Fire and forget until Alert.
The newest version!
package com.transferwise.tasks.dao;
import java.util.UUID;
public class PostgresTaskSqlMapper implements ITaskSqlMapper {
@Override
public UUID sqlTaskIdToUuid(Object object) {
return (UUID) object;
}
@Override
public Object uuidToSqlTaskId(UUID uuid) {
return uuid;
}
}