Tabnine Logo
Index
Code IndexAdd Tabnine to your IDE (free)

How to use
Index
in
org.batoo.jpa.annotations

Best Java code snippets using org.batoo.jpa.annotations.Index (Showing top 10 results out of 315)

origin: BatooOrg/BatooJPA

/**
 * @param locator
 *            the java locator
 * @param annotation
 *            the annotation
 * 
 * @since 2.0.0
 */
public IndexMetadataImpl(AbstractLocator locator, Index annotation) {
  super();
  this.locator = locator;
  this.name = annotation.name();
  this.columnNames = annotation.columns();
  this.table = annotation.table();
}
origin: org.batoo.jpa/parser

/**
 * @param locator
 *            the java locator
 * @param annotation
 *            the annotation
 * @param name
 *            field column name
 * 
 * @since 2.0.0
 */
public IndexMetadataImpl(AbstractLocator locator, Index annotation, String name) {
  super();
  this.locator = locator;
  this.name = annotation.name();
  this.columnNames = new String[] { name };
  this.table = annotation.table();
}
origin: com.querydsl/querydsl-jpa

/**
 * The Class Department.
 */
@Entity
@Table(name = "department_")
public class Department {
  @ManyToOne
  Company company;

  @OneToMany
  @Index(name = "_index")
  List<Employee> employees;

  @Id
  int id;

  String name;
}

origin: BatooOrg/BatooJPA

/**
 * @param locator
 *            the java locator
 * @param annotation
 *            the annotation
 * @param name
 *            field column name
 * 
 * @since 2.0.0
 */
public IndexMetadataImpl(AbstractLocator locator, Index annotation, String name) {
  super();
  this.locator = locator;
  this.name = annotation.name();
  this.columnNames = new String[] { name };
  this.table = annotation.table();
}
origin: com.mysema.querydsl/querydsl-jpa

/**
 * The Class Department.
 */
@Entity
@Table(name="department_")
public class Department {
  @ManyToOne
  Company company;

  @OneToMany
  @Index(name = "_index")
  List<Employee> employees;

  @Id
  int id;
  
  String name;
}

origin: org.batoo.jpa/parser

/**
 * @param locator
 *            the java locator
 * @param annotation
 *            the annotation
 * 
 * @since 2.0.0
 */
public IndexMetadataImpl(AbstractLocator locator, Index annotation) {
  super();
  this.locator = locator;
  this.name = annotation.name();
  this.columnNames = annotation.columns();
  this.table = annotation.table();
}
origin: org.batoo.jpa/batoo-jpa

/**
 * @param locator
 *            the java locator
 * @param annotation
 *            the annotation
 * @param name
 *            field column name
 * 
 * @since 2.0.0
 */
public IndexMetadataImpl(AbstractLocator locator, Index annotation, String name) {
  super();
  this.locator = locator;
  this.name = annotation.name();
  this.columnNames = new String[] { name };
  this.table = annotation.table();
}
origin: com.querydsl/querydsl-jpa

@Index(name = "_index")
public List<Department> departments;
origin: org.batoo.jpa/batoo-jpa

/**
 * @param locator
 *            the java locator
 * @param annotation
 *            the annotation
 * 
 * @since 2.0.0
 */
public IndexMetadataImpl(AbstractLocator locator, Index annotation) {
  super();
  this.locator = locator;
  this.name = annotation.name();
  this.columnNames = annotation.columns();
  this.table = annotation.table();
}
origin: com.mysema.querydsl/querydsl-jpa

@Index(name = "_index")
public List<Department> departments;
org.batoo.jpa.annotationsIndex

Most used methods

  • <init>
  • columns
  • name
  • table

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now