ObjectDB Database Search

101-150 of 200 results

CriteriaBuilder.replace(x,substring,replacement) - JPA Method

; Expression  x,     String  substring,     Expression  replacement ) Create an expression replacing every occurrence of a substring within a string . Parameters: x - string expression substring - the literal substring to replace replacement - the replacement

CriteriaBuilder.replace(x,substring,replacement) - JPA Method

; Expression  x,     Expression  substring,     String  replacement ) Create an expression replacing every occurrence of a substring within a string . Parameters: x - string expression substring - the literal substring to replace replacement - the replacement

InterfaceRef jakarta.persistence.Query

.0 Parameter getParameter ( String  name) Get the parameter object corresponding to the declared ... when the implementation does not support this use Since: JPA 2.0 Parameter getParameter ( String  name ... IllegalStateException - if the parameter has not been bound Since: JPA 2.0 Object getParameterValue ( String

InterfaceRef jakarta.persistence.TypedQuery

of results Inherited from: Query Since: JPA 2.0 Parameter getParameter ( String  name) Get the parameter ... : Query Since: JPA 2.0 Parameter getParameter ( String  name, Class  type) Get the parameter ... Since: JPA 2.0 Object getParameterValue ( String  name) Return the input value bound to the named

AnnotationRef jakarta.persistence.SequenceGenerator

numbers from the sequence. Since: JPA 1.0 String catalog default "" (Optional) The catalog ... which the sequence object is to start generating. Since: JPA 1.0 String name default "" (Optional) A unique ... attribute. Since: JPA 1.0 String options default "" (Optional) A SQL fragment appended to the generated DDL

AnnotationRef jakarta.persistence.SecondaryTable

column. {@snippet : Since: JPA 1.0 Public Annotation Attributes String catalog default "" (Optional ... generation is in effect. Since: JPA 3.2 String comment default "" (Optional) A comment to be applied ... generation is in effect. Since: JPA 2.1 String name default null (Required) The name of the table

AnnotationRef jakarta.persistence.Column

. These are only used if table generation is in effect. Since: JPA 3.2 String columnDefinition default ... dialect of the target database, and is not portable across databases. Since: JPA 1.0 String comment ... , for example, varchar or varbinary types. Since: JPA 1.0 String name default "" (Optional) The name

CriteriaBuilder.locate(x,pattern,from) - JPA Method

) Create expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located ... compared to the corresponding function in JPQL. Parameters: x - expression for string to be searched

CriteriaBuilder.locate(x,pattern) - JPA Method

of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned. Warning ... . Parameters: x - expression for string to be searched pattern - expression for string to be located

CriteriaBuilder.replace(x,substring,replacement) - JPA Method

;replacement ) Create an expression replacing every occurrence of a substring within a string . Parameters: x - string expression substring - the literal substring to replace replacement - the replacement string Return: expression for the resulting string Since: JPA 2.0

AnnotationRef jakarta.persistence.CollectionTable

Column Since: JPA 2.0 Public Annotation Attributes String catalog default "" (Optional) The catalog ... and referencedColumnName elements must be specified by each such JoinColumn annotation. Since: JPA 2.0 String name default ... an underscore. Since: JPA 2.0 String options default "" (Optional) A SQL fragment appended to the generated

AnnotationRef jakarta.persistence.MapKeyColumn

String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL ... varbinary types. Since: JPA 2.0 String name default "" (Optional) The name of the map key column. The table ... is nullable. Since: JPA 2.0 String options default "" (Optional) A SQL fragment appended to the generated DDL

CriteriaBuilder.concat(x,y) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression concat (    String  x,     Expression  y ) Create an expression for string concatenation. Parameters: x - string y - string expression Return: expression corresponding to concatenation Since: JPA 2.0

CriteriaBuilder.concat(x,y) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression concat (    Expression  x,     String  y ) Create an expression for string concatenation. Parameters: x - string expression y - string Return: expression corresponding to concatenation Since: JPA 2.0

InterfaceRef jakarta.persistence.spi.PersistenceUnitInfo

the persistence provider for accessing data outside a JTA transaction Since: JPA 1.0 String ... of the persistence provider implementation class Since: JPA 1.0 String getPersistenceUnitName () Returns ... to a jar file or directory Since: JPA 1.0 String getPersistenceXMLSchemaVersion () Returns

AnnotationRef jakarta.persistence.PrimaryKeyJoinColumn

Since: JPA 1.0 Public Annotation Attributes String columnDefinition default "" (Optional) The SQL fragment ... strategy will apply. Since: JPA 2.1 String name default "" (Optional) The name of the primary key ... for the referencing entity ( OneToOne mapping). Since: JPA 1.0 String options default "" (Optional) A SQL

AnnotationRef jakarta.persistence.NamedStoredProcedureQuery

hints.) Since: JPA 2.1 String name default null The name used to refer to the query ... 2.1 String procedureName default null The name of the stored procedure in the database. Since: JPA 2 ... . Since: JPA 2.1 String [] resultSetMappings default {} The names of one or more result set mappings, as defined in metadata. Since: JPA 2.1

EnumRef jakarta.persistence.criteria.CriteriaBuilder$Trimspec

.CriteriaBuilder$Trimspec Used to specify how strings are trimmed. Since: JPA 2.0 Enum Constants BOTH Trim ... type, in the order they are declared CriteriaBuilder.Trimspec valueOf ( String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used

ClassRef jakarta.persistence.LockTimeoutException

. Parameters: entity - the entity. Since: JPA 2.0 LockTimeoutException ( String  message ... - the detail message. Since: JPA 2.0 LockTimeoutException ( String  message, Throwable cause ... . Parameters: message - the detail message. cause - the cause. Since: JPA 2.0 LockTimeoutException ( String

ClassRef jakarta.persistence.PessimisticLockException

. Since: JPA 2.0 PessimisticLockException ( String  message) Constructs a new ... 2.0 PessimisticLockException ( String  message, Throwable cause) Constructs a new ... - the detail message. cause - the cause. Since: JPA 2.0 PessimisticLockException ( String  message

InterfaceRef jakarta.persistence.PersistenceUnitUtil

have been loaded. The (Object, String ) method should be used to determine the load state of an attribute. Not ... boolean isLoaded (Object entity,  String  attributeName) Determine the load state ... from the database Since: JPA 3.2 void load (Object entity,  String  attributeName) Load

InterfaceRef jakarta.persistence.EntityManagerFactory

EntityManagerFactory . Public Methods void addNamedEntityGraph ( String  graphName,  EntityGraph ... for the entity graph entityGraph - entity graph Since: JPA 2.1 void addNamedQuery ( String  name,  ... - if the entity manager factory has been closed Since: JPA 2.0 String getName () The name

ClassRef jakarta.persistence.OptimisticLockException

OptimisticLockException ( String  message) Constructs a new OptimisticLockException exception ... OptimisticLockException ( String  message, Throwable cause) Constructs a new OptimisticLockException ... . cause - the cause. Since: JPA 1.0 OptimisticLockException ( String  message, Throwable 

AnnotationRef jakarta.persistence.CheckConstraint

.check () Since: JPA 3.2 Public Annotation Attributes String constraint default null (Required) The native SQL expression to be checked. Since: JPA 3.2 String name default "" (Optional) The name of the constraint. Defaults to a provider-generated name. Since: JPA 3.2 String options default "" (Optional

ClassRef jakarta.persistence.Persistence

Since: JPA 3.2 EntityManagerFactory createEntityManagerFactory ( String  persistenceUnitName) Create ... createEntityManagerFactory ( String  persistenceUnitName, Map  properties) Create and return ... void generateSchema ( String  persistenceUnitName, Map  map) Create database schemas

CriteriaBuilder.notLike(x,pattern,escapeChar) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike (    Expression  x,     String  pattern,    char escapeChar ) Create ... - string expression pattern - string escapeChar - escape character Return: not-like predicate Since: JPA 2.0

CriteriaBuilder.notLike(x,pattern,escapeChar) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike (    Expression  x,     String  pattern,     Expression  escapeChar ... . Parameters: x - string expression pattern - string escapeChar - escape character expression Return: not-like predicate Since: JPA 2.0

AnnotationRef jakarta.persistence.OrderColumn

. Example: {@snippet : See Also: OrderBy Since: JPA 2.0 Public Annotation Attributes String ... the persistence provider. Since: JPA 2.0 String name default "" (Optional) The name of the ordering column ... . Since: JPA 2.0 String options default "" (Optional) A SQL fragment appended to the generated DDL

ClassRef jakarta.persistence.QueryTimeoutException

. Parameters: query - the query. Since: JPA 2.0 QueryTimeoutException ( String  message) Constructs ... - the detail message. Since: JPA 2.0 QueryTimeoutException ( String  message, Throwable cause ... . Parameters: message - the detail message. cause - the cause. Since: JPA 2.0 QueryTimeoutException ( String

CriteriaBuilder.concat(x,y) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression concat (    Expression  x,     Expression  y ) Create an expression for string concatenation. Parameters: x - string expression y - string expression Return: expression corresponding to concatenation Since: JPA 2.0

CriteriaBuilder.like(x,pattern) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression  x,     String  pattern ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string Return: like predicate Since: JPA 2.0

CriteriaBuilder.notLike(x,pattern) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike (    Expression  x,     String  pattern ) Create a predicate for testing whether the expression does not satisfy the given pattern. Parameters: x - string expression pattern - string Return: not-like predicate Since: JPA 2.0

CriteriaBuilder.like(x,pattern,escapeChar) - JPA Method

; Expression  x,     String  pattern,    char escapeChar ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string escapeChar - escape character Return: like predicate Since: JPA 2.0

EntityManager.createQuery(qlString) - JPA Method

JPA Method in jakarta.persistence.EntityManager Query createQuery (    String   ... . Parameters: qlString - a Jakarta Persistence query string Return: the new query instance Throws: IllegalArgumentException - if the query string is found to be invalid Since: JPA 1.0

CriteriaBuilder.like(x,pattern,escapeChar) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression  x,     String  pattern,     Expression  escapeChar ... - string expression pattern - string escapeChar - escape character expression Return: like predicate Since: JPA 2.0

AnnotationRef jakarta.persistence.ForeignKey

Annotation Attributes String foreignKeyDefinition default "" (Optional) The foreign key constraint definition. Since: JPA 2.1 String name default "" (Optional) The name of the foreign key constraint. Defaults to a provider-generated name. Since: JPA 2.1 String options default "" (Optional) A SQL fragment

AnnotationRef jakarta.persistence.UniqueConstraint

: Since: JPA 1.0 Public Annotation Attributes String [] columnNames default null (Required) The names of the column which make up the constraint. Since: JPA 1.0 String name default "" (Optional) The name of the constraint. Defaults to a provider-generated name. Since: JPA 2.0 String options default

InterfaceRef jakarta.persistence.criteria.ParameterExpression

conversion. Providers are required to support casting scalar expressions to String , and String expressions ... : Expression Since: JPA 3.2 String getName () Return the parameter name, or null if the parameter is not

EnumRef jakarta.persistence.EnumType

STRING Persist enumerated type property or field as a string . The string value of an enum instance

AnnotationRef jakarta.persistence.Index

.1 Public Annotation Attributes String columnList default null (Required) The columns included in the index, in order, following the BNF rule column_list given above. Since: JPA 2.1 String name default "" (Optional) The name of the index. Defaults to a provider-generated name. Since: JPA 2.1 String

AnnotationRef jakarta.persistence.NamedAttributeNode

Annotation Attributes String keySubgraph default "" (Optional) If the attribute references a Map type ... , they are referenced by this name. Since: JPA 2.1 String subgraph default "" (Optional) If the attribute ... due to inheritance, they are referenced by this name. Since: JPA 2.1 String value default null

EntityManager.createNativeQuery(sqlString,resultSetMapping) - JPA Method

JPA Method in jakarta.persistence.EntityManager Query createNativeQuery (    String  sqlString,     String  resultSetMapping ) Create an instance of Query for executing a native SQL query. Parameters: sqlString - a native SQL query string resultSetMapping - the name

AnnotationRef jakarta.persistence.DiscriminatorValue

representing the entity type. If the DiscriminatorType is STRING , the discriminator value default ... Attributes String value default null (Optional) The value that indicates that the row is an entity ... type. If the DiscriminatorType is STRING , the discriminator value default is the entity name. Since: JPA 1.0

EntityManager.createQuery(qlString,resultClass) - JPA Method

JPA Method in jakarta.persistence.EntityManager TypedQuery createQuery (    String   ... : qlString - a Jakarta Persistence query string resultClass - the type of the query result Return: the new query instance Throws: IllegalArgumentException - if the query string is found to be invalid or

CriteriaBuilder.concat(expressions) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression concat (   List  expressions ) Create an expression for string concatenation. If the given list of expressions is empty, returns an expression equivalent to literal("") . Parameters: expressions - string

EnumRef jakarta.persistence.criteria.Predicate$BooleanOperator

they are declared Predicate.BooleanOperator valueOf ( String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in

AnnotationAttrRef jakarta.persistence.DiscriminatorValue.value

JPA Annotation Attribute in jakarta.persistence.DiscriminatorValue String value default null (Optional) The value that indicates that the row is an entity of the annotated entity type ... function is used to generate a value representing the entity type. If the DiscriminatorType is STRING

InterfaceRef jakarta.persistence.criteria.Selection

Selection alias ( String  name) Assigns an alias to the selection item. Once assigned, an alias ... : selection item Since: JPA 2.0 String getAlias () Return the alias assigned to the tuple element or null

InterfaceRef jakarta.persistence.PersistenceUtil

has been specified have been loaded. The (Object, String ) method should be used to determine ... Since: JPA 2.0 boolean isLoaded (Object entity,  String  attributeName) Determine

ClassRef jakarta.persistence.EntityNotFoundException

EntityNotFoundException ( String  message) Constructs a new EntityNotFoundException exception ... EntityNotFoundException ( String  message, Exception cause) Constructs a new EntityNotFoundException