mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
Merge branch 'custom-release-march-2018' of github.com:sleuthkit/autopsy into custom-release-march-2018
This commit is contained in:
commit
10a0813775
@ -176,9 +176,15 @@ public abstract class AbstractSqlEamDb implements EamDb {
|
|||||||
* @returns New Case class with populated database ID
|
* @returns New Case class with populated database ID
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public CorrelationCase newCase(CorrelationCase eamCase) throws EamDbException {
|
public synchronized CorrelationCase newCase(CorrelationCase eamCase) throws EamDbException {
|
||||||
Connection conn = connect();
|
|
||||||
|
// check if there is already an existing CorrelationCase for this Case
|
||||||
|
CorrelationCase cRCase = getCaseByUUID(eamCase.getCaseUUID());
|
||||||
|
if (cRCase != null) {
|
||||||
|
return cRCase;
|
||||||
|
}
|
||||||
|
|
||||||
|
Connection conn = connect();
|
||||||
PreparedStatement preparedStatement = null;
|
PreparedStatement preparedStatement = null;
|
||||||
|
|
||||||
String sql = "INSERT INTO cases(case_uid, org_id, case_name, creation_date, case_number, "
|
String sql = "INSERT INTO cases(case_uid, org_id, case_name, creation_date, case_number, "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user