<commit_before>package devopsdistilled.operp.server.data.entity.items;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.OneToMany;

import devopsdistilled.operp.server.data.entity.Entiti;

@Entity
public class Product extends Entiti<Long> {

	private static final long serialVersionUID = -3781064523477859914L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long productId;

	@Column(unique = true)
	private String productName;

	@OneToMany(mappedBy = "product")
	private List<Item> items;

	@ManyToMany
	@JoinTable(name = "ProductCategory")
	private List<Category> categories;<commit_msg>Solve merge conflicts<commit_after>package devopsdistilled.operp.server.data.entity.items;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.OneToMany;

import devopsdistilled.operp.server.data.entity.Entiti;

@Entity
public class Product extends Entiti<Long> {

	private static final long serialVersionUID = -3781064523477859914L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long productId;

	@Column(unique = true)
	private String productName;

	@OneToMany(mappedBy = "product")
	private List<Item> items;

	@ManyToMany(fetch=FetchType.EAGER)
	@JoinTable(name = "ProductCategory")
	private List<Category> categories;
{'fraction_non_alphanumeric': 0.09376754632229085, 'fraction_numerical': 0.02133632790567097, 'mean_word_length': 6.747826086956522, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5566344', 'n_tokens_mistral': 561, 'n_tokens_neox': 545, 'n_words': 115}