// Path: src/main/java/io/jvoid/metadata/model/JExecution.java
// @Data
// public class JExecution implements JEntity<Long> {
// 
//     private Long id;
//     private Long timestamp;
//     
// }
// 
// Path: src/main/java/io/jvoid/metadata/repositories/ExecutionsRepository.java
// @Singleton
// public class ExecutionsRepository extends AbstractRepository<JExecution, Long> {
// 
//     private ResultSetHandler<JExecution> objectHandler = new BeanHandler<>(JExecution.class);
// 
//     @Inject
//     public ExecutionsRepository(MetadataDatabase database) {
//         super(database);
//     }
// 
//     @Override
//     public JExecution findById(Long id) {
//         return query("SELECT * FROM executions WHERE id = ?", objectHandler, id);
//     }
// 
//     @Override
//     public JExecution add(JExecution execution) {
//         assertNull(execution.getId());
//         long id = executeInsert("INSERT INTO executions (timestamp) VALUES (?)", execution.getTimestamp());
//         execution.setId(id);
//         return execution;
//     }
// 
// }


import javax.inject.Inject;
import io.jvoid.metadata.model.JExecution;
import io.jvoid.metadata.repositories.ExecutionsRepository;
package io.jvoid.test.metadata.repositories;



public class ExecutionsRepositoryTest extends AbstractBaseRepositoryTest<JExecution, Long, ExecutionsRepository> {

    @Inject
    private ExecutionsRepository executionsRepository;

    @Override
    protected JExecution prepareForCreation() {
        JExecution jexec = new JExecution();
        jexec.setTimestamp(System.nanoTime());
        return jexec;
    }

    @Override
// Path: src/main/java/io/jvoid/metadata/model/JExecution.java
// @Data
// public class JExecution implements JEntity<Long> {
// 
//     private Long id;
//     private Long timestamp;
//     
// }
// 
// Path: src/main/java/io/jvoid/metadata/repositories/ExecutionsRepository.java
// @Singleton
// public class ExecutionsRepository extends AbstractRepository<JExecution, Long> {
// 
//     private ResultSetHandler<JExecution> objectHandler = new BeanHandler<>(JExecution.class);
// 
//     @Inject
//     public ExecutionsRepository(MetadataDatabase database) {
//         super(database);
//     }
// 
//     @Override
//     public JExecution findById(Long id) {
//         return query("SELECT * FROM executions WHERE id = ?", objectHandler, id);
//     }
// 
//     @Override
//     public JExecution add(JExecution execution) {
//         assertNull(execution.getId());
//         long id = executeInsert("INSERT INTO executions (timestamp) VALUES (?)", execution.getTimestamp());
//         execution.setId(id);
//         return execution;
//     }
// 
// }


// Path: src/test/java/io/jvoid/test/metadata/repositories/ExecutionsRepositoryTest.java
import javax.inject.Inject;
import io.jvoid.metadata.model.JExecution;
import io.jvoid.metadata.repositories.ExecutionsRepository;

package io.jvoid.test.metadata.repositories;



public class ExecutionsRepositoryTest extends AbstractBaseRepositoryTest<JExecution, Long, ExecutionsRepository> {

    @Inject
    private ExecutionsRepository executionsRepository;

    @Override
    protected JExecution prepareForCreation() {
        JExecution jexec = new JExecution();
        jexec.setTimestamp(System.nanoTime());
        return jexec;
    }

    @Override
    protected ExecutionsRepository getRepo() {