ObjectDB Database 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.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.persistence.NamedNativeQuery.) Since: JPA 1.0 String name default null The name used to refer to the query with the EntityManager methods that create query objects. Since: JPA 1.0 String query default null The SQL query string . Since: JPA 1.0 Class resultClass default void.class The class of the result. Since: JPA 1.0 String | |
javax.persistence.MapKeyColumn String columnDefinition default "" (Optional) The SQL fragment that is used when generating the DDL ... length. (Applies only if a string -valued column is used.) Since: JPA 2.0 String name default ... 2.0 String table default "" (Optional) The name of the table that contains the column. Defaults | |
javax.persistence.SequenceGenerator sequence 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 null (Required) A unique ... values. Since: JPA 1.0 String schema default "" (Optional) The schema of the sequence generator | |
CriteriaBuilder.concat(x,y) - JPA Method JPA Method in javax.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 | |
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.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.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.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,  | |
javax.jdo.annotations.ForeignKey that compose this foreign key. Since: JDO 2.1 String deferred default "" Whether this foreign key ... ForeignKeyAction.RESTRICT The delete action of this foreign key. Since: JDO 2.1 String [] members default {} Member (field and property) names that compose this foreign key. Since: JDO 2.1 String name | |
javax.jdo.identity.ShortIdentity - the class key - the key Since: JDO 1.0 ShortIdentity (Class pcClass, String str ... : SingleFieldIdentity Since: JDO 2.0 String getTargetClassName () Return the target class name. Return ... - the input Since: JDO 1.0 String toString () Return the String form of the key. Return: the String | |
javax.jdo.FetchPlan Methods FetchPlan addGroup ( String fetchGroupName) Add the fetch group to the set of active ... removeGroup ( String fetchGroupName) Remove the fetch group from the set active fetch groups. Return ... ( String fetchGroupName) Set the active fetch groups to the single named fetch group. Parameters | |
javax.jdo.annotations.Unique. Since: JDO 2.1 String deferred default "" Whether this unique constraint is deferred until commit. Since: JDO 2.1 String [] members default {} Member (field and property) names that compose this unique constraint. Since: JDO 2.1 String name default "" Name of the unique constraint. Since: JDO 2.1 String | |
javax.jdo.identity.ByteIdentity - the target class key - the key Since: JDO 1.0 ByteIdentity (Class pcClass, String str ... . Inherited from: SingleFieldIdentity Since: JDO 2.0 String getTargetClassName () Return the target class name ... . Parameters: in - the input Since: JDO 1.0 String toString () Return the String version of the key. Return |