Internal Website Search
101-150 of 200 resultsGeneral Performance Issues Illustrated with a Specific Method listPatientsByIDsWithBasicData( String ids) { Long st = new Date().getTime(); System.out.println ... ().equals("")) { return cs; } String jpql; Map m; m = new HashMap(); jpql = "select new lk.gov ... (cascade = CascadeType.ALL,fetch = FetchType.EAGER) private Person person; @Index private String phn | |
javax.persistence.AttributeOverride; protected String address; public Integer getId() { ... } public void setId(Integer id) { ... } public String getAddress() { ... } public void setAddress( String address) { ... } } @Entity ... { protected String street; protected String city; protected String state; @Embedded protected Zipcode | |
javax.persistence.criteria.Join from: From Since: JPA 2.0 Join join ( String attributeName) Create an inner join to the specified ... Inherited from: From Since: JPA 2.0 Join join ( String attributeName, JoinType jt) Create ... CollectionJoin joinCollection ( String attributeName) Create an inner join to the specified | |
javax.persistence.StoredProcedureQuery getOutputParameterValue ( String parameterName) Retrieve a value passed back from the procedure ... getParameter ( String name) Get the parameter object corresponding to the declared parameter ... does not support this use Inherited from: Query Since: JPA 2.0 Parameter getParameter ( String   | |
javax.persistence.CollectionTable elements apply. Example: @Embeddable public class Address { protected String street; protected String city; protected String state; ... } @Entity public class Person { @Id protected String ssn; protected String name; protected Address home; ... @ElementCollection // use default table (PERSON_NICKNAMES | |
javax.persistence.Embeddable class PhoneNumber { protected String areaCode; protected String localNumber; @ManyToOne PhoneServiceProvider provider; ... } @Entity public class PhoneServiceProvider { @Id protected String name; ... } Example 3: @Embeddable public class Address { protected String street; protected String city | |
javax.persistence.TableGenerator.0 String catalog default "" (Optional) The catalog of the table. Defaults to the default catalog ... . Since: JPA 1.0 String name default null (Required) A unique generator name that can be referenced by one or more classes to be the generator for id values. Since: JPA 1.0 String pkColumnName default | |
javax.persistence.Query of results Since: JPA 2.0 Parameter getParameter ( String name) Get the parameter object corresponding ... ( String name, Class type) Get the parameter object corresponding to the declared ... getParameterValue ( String name) Return the input value bound to the named parameter. (Note | |
javax.persistence.TypedQuery Since: JPA 2.0 Parameter getParameter ( String name) Get the parameter object corresponding ... getParameter ( String name, Class type) Get the parameter object corresponding ... getParameterValue ( String name) Return the input value bound to the named parameter. (Note | |
javax.persistence.DiscriminatorColumn" and the discriminator type to DiscriminatorType. STRING . Example: @Entity @Table(name="CUST") @Inheritance(strategy=SINGLE_TABLE) @DiscriminatorColumn(name="DISC", discriminatorType= STRING , length ... { ... } See Also: DiscriminatorValue Since: JPA 1.0 Public Annotation Attributes String columnDefinition default | |
javax.persistence.OrderBy { protected String street; protected String city; protected String state; @Embedded protected Zipcode zipcode; } @Embeddable public class Zipcode { protected String zip; protected String plusFour; } See Also: OrderColumn Since: JPA 1.0 Public Annotation Attributes String value default "" An orderby | |
javax.persistence.MapKeyJoinColumn VideoStore { @Id int id; String name; Address location; ... @ElementCollection @CollectionTable(name ... id; String title; ... } Example 3: @Entity public class Student { @Id int studentId; ... @ManyToMany ... enrollment; ... } See Also: ForeignKey Since: JPA 2.0 Public Annotation Attributes String | |
javax.persistence.Column values apply. Example 1: @Column(name="DESC", nullable=false, length=512) public String getDescription ... _DETAIL") @Lob public String getDescription() { return description; } Example 3: @Column(name="ORDER ... ; } Since: JPA 1.0 Public Annotation Attributes String columnDefinition default "" (Optional) The SQL fragment | |
CriteriaBuilder.locate(x,pattern,from) - JPA Method; Expression x, String pattern, int from ) 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 is not found, 0 | |
CriteriaBuilder.locate(x,pattern) - JPA Method; Expression x, String pattern ) 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 is not found, 0 is returned. Parameters: x | |
javax.persistence.EntityGraph - if the EntityGraph has been statically defined Since: JPA 2.1 void addAttributeNodes ( String ... attributeName ... - if this EntityGraph has been statically defined Since: JPA 2.1 Subgraph addKeySubgraph ( String   ... defined Since: JPA 2.1 Subgraph addKeySubgraph ( String attributeName, Class type) Add | |
javax.persistence.Subgraph - if this EntityGraph has been statically defined Since: JPA 2.1 void addAttributeNodes ( String ...  ... .1 Subgraph addKeySubgraph ( String attributeName) Add a node to the graph that corresponds ... IllegalStateException - if this EntityGraph has been statically defined Since: JPA 2.1 Subgraph addKeySubgraph ( String | |
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 is not found, 0 is returned. Parameters: x - expression for string to be searched pattern - expression | |
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. Parameters: x - expression for string to be searched pattern - expression for string to be located Return: expression corresponding to position Since: JPA 2.0 | |
javax.jdo.JDOFatalException ( String msg) Constructs a new JDOFatalException with the specified detail message. Parameters: msg - the detail message. Since: JDO 1.0 JDOFatalException ( String msg, Object failed ... : msg - the detail message. failed - the failed object. Since: JDO 1.0 JDOFatalException ( String   | |
javax.jdo.FetchGroup.addFetchGroups , it is unscoped. Since: JDO 2.2 Public Methods FetchGroup addCategory ( String categoryName ... addMember ( String memberName) Add the member (field or property) to the set of members in ... - if the FetchGroup is unmodifiable Since: JDO 2.2 FetchGroup addMembers ( String ... memberNames | |
javax.jdo.JDOException without a detail message. Since: JDO 1.0 JDOException ( String msg) Constructs a new JDOException ... ( String msg, Object failed) Constructs a new JDOException with the specified ... 1.0 JDOException ( String msg, Throwable nested) Constructs a new JDOException | |
javax.jdo.annotations.Join". Since: JDO 2.1 Public Annotation Attributes String column default "" Name of the column in the join ... Extension [] extensions default {} Vendor extensions. Since: JDO 2.1 String foreignKey default "" Name for a generated foreign key constraint. Since: JDO 2.1 String generateForeignKey default "" Generate or | |
javax.jdo.JDOCanRetryException. Since: JDO 1.0 JDOCanRetryException ( String msg) Constructs a new JDOCanRetryException ... ( String msg, Object failed) Constructs a new JDOCanRetryException with the specified ... . Since: JDO 1.0 JDOCanRetryException ( String msg, Throwable nested) Constructs a new | |
javax.jdo.JDOHelper getPersistenceManagerFactory (Map overrides, String name) Returns a named ... PersistenceManagerFactory getPersistenceManagerFactory (Map overrides, String name,  ... (Map overrides, String name, ClassLoader resourceLoader, ClassLoader | |
javax.jdo.annotations.Column.1 Public Annotation Attributes String allowsNull default "" Whether the column allows null values to be inserted. Since: JDO 2.1 String defaultValue default "" Default value for this column. Since: JDO 2.1 Extension [] extensions default {} Vendor extensions. Since: JDO 2.1 String insertValue | |
javax.jdo.spi.StateManager Return: the new value for the field Since: JDO 1.0 String getStringField (PersistenceCapable pc, int field, String currentValue) Return the value for the field. Parameters: pc ... transaction. See Also: PersistenceCapable( String fieldName) Since: JDO 1.0 boolean isLoaded | |
javax.jdo.spi.PersistenceCapable (int id, String name, and Float salary) would have the method generated: void ... key field in the ObjectId. For example, an ObjectId class that has three key fields (int id, String ... ) javax.jdo.JDOHelper.makeDirty (Object pc, String fieldName) jdoMakeDirty ( String fieldName | |
javax.jdo.annotations.PersistenceCapable Attributes String cacheable default "true" Whether this class is cacheable in a Level2 cache. Since: JDO 2.2 String catalog default "" Catalog to use for persisting this class or interface. Since: JDO 2.1 String detachable default "" Whether this class or interface is detachable. Since: JDO 2.1 | |
Query.addSubquery(sub,variableDeclaration,candidateCollectionExpression,parameter) - JDO Method; String variableDeclaration, String candidateCollectionExpression, String parameter ) Add a subquery to this query. The String version of the method ... See Also: addSubquery (Query sub, String variableDeclaration, String candidateCollectionExpression, String ... parameters) Since: JDO 2.1 | |
Query.addSubquery(sub,variableDeclaration,candidateCollectionExpression,parameters) - JDO Method; String variableDeclaration, String candidateCollectionExpression,  ... is the empty String for either the parameter or the value of the String [], or for any map key or value ... the parameter in the subquery See Also: addSubquery (Query sub, String variableDeclaration, String candidateCollectionExpression, String ... parameters) Since: JDO 2.1 | |
Query.addSubquery(sub,variableDeclaration,candidateCollectionExpression,parameters) - JDO Method; String variableDeclaration, String candidateCollectionExpression, String ... parameters ) Add a subquery to this query. A subquery is composed as a Query ... . The String parameters are trimmed of white space. The variableDeclaration parameter is the name | |
javax.jdo.identity.StringIdentity; javax.jdo.identity.StringIdentity This class is for identity with a single String field. Since: JDO 1 ... StringIdentity (Class pcClass, String key) Constructor with class and key. Parameters ... the same object id Since: JDO 1.0 String getKey () Return the key. Return: the key Since: JDO 1.0 | |
javax.jdo.annotations.Query Extension [] extensions default {} Vendor extensions. Since: JDO 2.1 String fetchPlan default "" The name of the fetch plan used by this query Since: JDO 2.1 String language default "JDOQL" The query language Since: JDO 2.1 String name default null Name of the query (mandatory) Since: JDO 2.1 Class | |
javax.jdo.identity.ObjectIdentity. Inherited from: SingleFieldIdentity Since: JDO 2.0 String getTargetClassName () Return the target ... . Parameters: in - the input Since: JDO 1.0 String toString () Return the String form of the object ... , this process is reversed. The class is extracted from the first part of the String , and the String | |
javax.jdo.identity.CharIdentity - the target class key - the key Since: JDO 1.0 CharIdentity (Class pcClass, String str) Constructor with class and key. The String must have exactly one character. Parameters: pcClass ... String getTargetClassName () Return the target class name. Return: the target class name. Inherited | |
javax.jdo.JDOFatalUserException JDOFatalUserException without a detail message. Since: JDO 1.0 JDOFatalUserException ( String msg ... - the detail message. Since: JDO 1.0 JDOFatalUserException ( String msg, Object failed) Constructs a new ... - the detail message. failed - the failed object. Since: JDO 1.0 JDOFatalUserException ( String msg,  | |
javax.jdo.JDOFatalInternalException JDOFatalInternalException ( String msg) Constructs a new JDOFatalInternalException with the specified detail message. Parameters: msg - the detail message. Since: JDO 1.0 JDOFatalInternalException ( String msg,  ... JDOFatalInternalException ( String msg, Throwable nested) Constructs a new | |
javax.jdo.JDOFatalDataStoreException JDOFatalDataStoreException ( String msg) Constructs a new JDOFatalDataStoreException with the specified detail message. Parameters: msg - the detail message. Since: JDO 1.0 JDOFatalDataStoreException ( String   ... . Since: JDO 1.0 JDOFatalDataStoreException ( String msg, Throwable nested) Constructs a new | |
javax.jdo.JDOUserCallbackException JDOUserCallbackException without a detail message. Since: JDO 1.0 JDOUserCallbackException ( String msg ... - the detail message. Since: JDO 1.0 JDOUserCallbackException ( String msg, Object failed) Constructs ... - the detail message. failed - the failed object. Since: JDO 1.0 JDOUserCallbackException ( String | |
javax.jdo.JDOUserException without a detail message. Since: JDO 1.0 JDOUserException ( String msg) Constructs a new ... JDOUserException ( String msg, Object failed) Constructs a new JDOUserException ... - the failed object. Since: JDO 1.0 JDOUserException ( String msg, Throwable nested) Constructs | |
javax.jdo.JDOObjectNotFoundException JDOObjectNotFoundException without a detail message. Since: JDO 1.0 JDOObjectNotFoundException ( String ... : msg - the detail message. Since: JDO 1.0 JDOObjectNotFoundException ( String msg, Object ... JDOObjectNotFoundException ( String msg, Throwable nested) Constructs a new | |
Query.setFilter(filter) - JDO Method JDO Method in javax.jdo.Query void setFilter ( String filter ) Set the filter for the query. The filter specification is a String containing a Boolean expression ... .contains(Object o) , Collection.isEmpty() , String .startsWith( String s) , and String .endsWith( String e | |
javax.jdo.JDODataStoreException JDODataStoreException without a detail message. Since: JDO 1.0 JDODataStoreException ( String msg ... - the detail message. Since: JDO 1.0 JDODataStoreException ( String msg, Object failed ... - the detail message. failed - the failed object. Since: JDO 1.0 JDODataStoreException ( String   | |
javax.jdo.identity.LongIdentity - the class key - the key Since: JDO 1.0 LongIdentity (Class pcClass, String str) Constructor ... : SingleFieldIdentity Since: JDO 2.0 String getTargetClassName () Return the target class name. Return: the target ... Since: JDO 1.0 String toString () Return the String form of the key. Return: the String form | |
javax.jdo.identity.IntIdentity key - the key Since: JDO 1.0 IntIdentity (Class pcClass, String str) Constructor ... Since: JDO 2.0 String getTargetClassName () Return the target class name. Return: the target class ... Since: JDO 1.0 String toString () Return the String form of the key. Return: the String form of the key | |
ObjectIdentity.toString() - JDO Method JDO Method in javax.jdo.identity.ObjectIdentity String toString () Return the String form ... , this process is reversed. The class is extracted from the first part of the String , and the String constructor of the key is used to construct the key itself. Return: the String form of the key Since: JDO 1.0 | |
JDOException.toString() - JDO Method JDO Method in javax.jdo.JDOException String toString () The String representation includes the name of the class, the descriptive comment (if any), the String representation of the failed Object (if any), and the String representation of the nested Throwable s (if any). Return: the String . Since: JDO 1.0 | |
Query.addSubquery(sub,variableDeclaration,candidateCollectionExpression) - JDO Method JDO Method in javax.jdo.Query void addSubquery ( Query sub, String variableDeclaration, String candidateCollectionExpression ) Add ... See Also: addSubquery (Query sub, String variableDeclaration, String candidateCollectionExpression, String ... parameters) Since: JDO 2.1 | |
javax.jdo.JDOOptimisticVerificationException JDOOptimisticVerificationException without a detail message. Since: JDO 1.0 JDOOptimisticVerificationException ( String ... . Parameters: msg - the detail message. Since: JDO 1.0 JDOOptimisticVerificationException ( String msg ... . Since: JDO 1.0 JDOOptimisticVerificationException ( String msg, Throwable nested,  |