-
-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
philipp.delmonego
committed
Nov 14, 2023
1 parent
792f46f
commit df5207c
Showing
4 changed files
with
38 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,17 +2,17 @@ | |
|
||
import javax.persistence.*; | ||
|
||
|
||
/** @author [email protected] KSASAN */ | ||
@Access(AccessType.FIELD) | ||
@Entity | ||
@Table(name = "cars") | ||
@NamedQuery( name="findById", query = "select c from CarInformation c where c.id=:id") | ||
@NamedQuery(name = "findById", query = "select c from CarInformation c where c.id=:id") | ||
public class CarInformation { | ||
|
||
@Id | ||
@GeneratedValue(strategy = GenerationType.IDENTITY) | ||
private int id; | ||
|
||
private String name; | ||
|
||
@Column(name = "IMAGE") | ||
|
3 changes: 1 addition & 2 deletions
3
src/main/java/org/sasanlabs/service/vulnerability/sqlInjection/CarInformationRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters