<commit_before>package org.mindtrails.domain.jsPsych;

import lombok.Data;
import org.mindtrails.domain.Exportable;

import javax.persistence.*;

/**
 * Created by dan on 2/8/17.
 */
@Entity
@Table(name="JsPsychTrial")
@Data
@Exportable
public class JsPsychTrial {

    @TableGenerator(name = "QUESTION_GEN", table = "ID_GEN", pkColumnName = "GEN_NAME", valueColumnName = "GEN_VAL", allocationSize = 1)
    @Id
    @GeneratedValue(strategy = GenerationType.TABLE, generator = "QUESTION_GEN")
    private int id;

    private double rt;
    @Lob
    private String stimulus;
    private String button_pressed;
    private String trial_type;
    private int trial_index;
    private double time_elapsed;
    private String internal_node_id;
    private boolean correct;

    private long participantId;
    private String session;
    private String study;
    @Column (name = "conditioning")
    private String condition;
    private String device;

}
<commit_msg>Ran into a problem with deletes because the JsPsychTrial had an Integer unique id, but all other endpoints have a Long id.<commit_after>package org.mindtrails.domain.jsPsych;

import lombok.Data;
import org.mindtrails.domain.Exportable;

import javax.persistence.*;

/**
 * Created by dan on 2/8/17.
 */
@Entity
@Table(name="JsPsychTrial")
@Data
@Exportable
public class JsPsychTrial {

    @TableGenerator(name = "QUESTION_GEN", table = "ID_GEN", pkColumnName = "GEN_NAME", valueColumnName = "GEN_VAL", allocationSize = 1)
    @Id
    @GeneratedValue(strategy = GenerationType.TABLE, generator = "QUESTION_GEN")
    private long id;

    private double rt;
    @Lob
    private String stimulus;
    private String button_pressed;
    private String trial_type;
    private int trial_index;
    private double time_elapsed;
    private String internal_node_id;
    private boolean correct;

    private long participantId;
    private String session;
    private String study;
    @Column (name = "conditioning")
    private String condition;
    private String device;

}

{'fraction_non_alphanumeric': 0.08742632612966601, 'fraction_numerical': 0.004911591355599214, 'mean_word_length': 3.9562043795620436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4153969', 'n_tokens_mistral': 632, 'n_tokens_neox': 593, 'n_words': 183}