ObjectDB Database Search

101-150 of 200 results

Composite Index error 328

; import java.util.Objects; @Entity @Table( name = "usrlist", schema = "posts") @NamedQueries( { @NamedQuery( name = "UsrListEntity.clearAllIds" , query = "UPDATE UsrlistEntity usrlist SET usrlist.dyId ... ; private Date lastLogin; private String lastIp; private int flags; private String name ; private String

General Performance Issues Illustrated with a Specific Method

.health.phsp.pojcs.ClientBasicData(" + "c.id, " + "c.phn, " + "c.person. name , " + "c.person.nic, " + "c ... .id, c.phn, c.person. name , c.person.nic, c.person.phone1, c.person.address ) from Client c where c ... .health.phsp.pojcs.ClientBasicData(c.id, c.phn, c.person. name , c.person.nic, c.person.phone1, c.person

How to Use a SF with extended Persistence Context?

it that will make it show each name only once with his last login date. The changes are as follows ... GuestUpdater and use its update(String name ) method instead of the persist (String name ) method ... by their names using findGuest(String name ) method. The updateGuest(String name ) simply look

jakarta.persistence.Lob

) @Column( name = "REPORT") protected String report; Example 2: @Lob @Basic(fetch = LAZY) @Column( name

jakarta.persistence.ManyToOne

with the dot notation is the name of the respective embedded field or property. Example 1: @ManyToOne(optional = false) @JoinColumn( name = "CUST_ID", nullable = false, updatable = false) public Customer

jakarta.persistence.NamedNativeQueries

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedNativeQueries Implemented Interfaces: Annotation Target: Type Declares multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped

jakarta.persistence.Embedded

@AttributeOverrides({ @AttributeOverride( name = "startDate", column = @Column("EMP_START")), @AttributeOverride( name = "endDate", column = @Column("EMP_END"))}) public EmploymentPeriod getEmploymentPeriod

jakarta.persistence.FetchType

: @Basic(fetch = LAZY) protected String getName() { return name ; } See Also: Basic ElementCollection ... ), finalize(), getDeclaringClass(), hashCode(), name (), ordinal(), readObject(ObjectInputStream

jakarta.persistence.EnumType

of its Enum.java.lang.Enum/ name () member. Since: Jakarta Persistence (JPA) 1.0 Synthetic Public Static ... (), compareTo(E), describeConstable(), equals(Object), finalize(), getDeclaringClass(), hashCode(), name

New to Product & Having An Issue

) @NamedQueries({ @NamedQuery( name ="Department.findAll", query="SELECT d FROM Department AS d"), @NamedQuery( name ="Department.byName", query="SELECT d from Department AS d WHERE d. name = : name "), @NamedQuery( name ="Department.findByCmpPK", query="SELECT d FROM test.Domain.Department AS d " + "WHERE d

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

cities; private String name ; public String getName() { return name ; } public void setName(String name ) { this. name = name ; } public City getCity() { return city; } public void setCity(City city ... owner; private String name ; public String getName() { return name ; } public void setName(String name

Beginners questions

the data in a RDBMS and ObjectDB has its own format? 2. Object creation I created a class named EBResult which looks like this: @Entity( name ="RESULT") public class EBResult extends Pojo implements Serializable{..... In ObjectDB-explorer (which is part of ObjectDB library) I expected to see an object named

ORDER BY problem, when String starts with language specific character

by u. name When the name starts with "normal/english" character, records are ordered correctly ... fields - name and normalizedName , and just keeping strings in name using the decomposed form ... order by java.text.Normalizer.normalize( u. name , java.text.Normalizer.Form.NFD) or com.objectdb.o

jakarta.persistence.PersistenceConfiguration.property(String,Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration property (    String name ,    Object value ) Set a property of this persistence unit. Parameters: name - the property name value - the property value Returns: this configuration. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.PersistenceConfiguration(String)

Jakarta Persistence (JPA) Constructor in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration (    String name ) Create a new empty configuration. An empty configuration ... .createEntityManagerFactory . Parameters: name - the name of the persistence unit, which may be used by

jakarta.persistence.PersistenceContext.unitName

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext String unitName (Optional) The name of the persistence unit as defined in the persistence.xml file. If the unitName element ... must have the same name . Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnit.unitName

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnit String unitName (Optional) The name of the persistence unit as defined in the persistence.xml file. If specified, the persistence unit for the entity manager factory that is accessible in JNDI must have the same name . Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Metamodel.entity(String)

: entityName - the name of the represented entity Returns: the metamodel entity type. Throws: IllegalArgumentException - if not an entity. See Also: jakarta.persistence.Entity. name Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.metamodel.EntityType.getName()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.EntityType String getName() Return the entity name . Returns: entity name . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Selection.alias(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Selection Selection alias (    String name ) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TableGenerator.valueColumnName

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String valueColumnName (Optional) Name of the column that stores the last value generated. Defaults to a provider-chosen name . Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TableGenerator.table

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String table (Optional) Name of the table that stores the generated id values. Defaults to a name chosen by persistence provider. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TableGenerator.pkColumnName

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String pkColumnName (Optional) Name of the primary key column in the table. Defaults to a provider-chosen name . Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.getName()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Attribute String getName() Return the name of the attribute. Returns: name . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.From.joinMap(String,JoinType)

attribute using the given join type. Parameters: attributeName - name of the attribute for the target ... - if attribute of the given name does not exist. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery.registerStoredProcedureParameter(String,Class,ParameterMode)

,    ParameterMode mode ) Register a named parameter. Parameters: mode - parameter mode parameterName - name of the parameter as registered or specified in metadata type - type of the parameter

jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(String)

counts must be retrieved before the values of output parameters. Parameters: parameterName - name ... back through the parameter. Throws: IllegalArgumentException - if the parameter name does not correspond

jakarta.persistence.criteria.Path.get(String)

.get("nicknames"); q.select(p) .where(cb.isMember("joe", nicknames)); Parameters: attributeName - name ... of the given name does not otherwise exist. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitTransactionType

), describeConstable(), equals(Object), finalize(), getDeclaringClass(), hashCode(), name (), ordinal(), readObject

jakarta.persistence.PersistenceUtil

) Determine the load state of a given persistent attribute. Parameters: attributeName - name of attribute

jakarta.persistence.FlushModeType

(), equals(Object), finalize(), getDeclaringClass(), hashCode(), name (), ordinal(), readObject

jakarta.persistence.GenerationType

(), hashCode(), name (), ordinal(), readObject(ObjectInputStream), readObjectNoData(), toString(), valueOf

jakarta.persistence.LockModeType

(), getDeclaringClass(), hashCode(), name (), ordinal(), readObject(ObjectInputStream), readObjectNoData

jakarta.persistence.InheritanceType

), describeConstable(), equals(Object), finalize(), getDeclaringClass(), hashCode(), name (), ordinal

jakarta.persistence.MapKeyClass

; // map from image name to image filename ... } Example 2: // MapKeyClass and target type of relationship

jakarta.persistence.MapKeyJoinColumns

is used, both the name and the referencedColumnName elements must be specified in each

jakarta.persistence.ConstraintMode

), describeConstable(), equals(Object), finalize(), getDeclaringClass(), hashCode(), name (), ordinal(), readObject

jakarta.persistence.Embeddable

PhoneServiceProvider { @Id protected String name ; ... } Example 3: @Embeddable public class Address { protected

jakarta.persistence.DiscriminatorType

(), getDeclaringClass(), hashCode(), name (), ordinal(), readObject(ObjectInputStream), readObjectNoData(), toString

jakarta.persistence.ElementCollection

Person { @Id protected String ssn; protected String name ; ... @ElementCollection protected Set

jakarta.persistence.PersistenceUnitUtil.load(Object,String)

and attribute. Parameters: attributeName - the name of the attribute to be loaded entity - entity

jakarta.persistence.PersistenceUnitUtil.isLoaded(Object,String)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnitUtil boolean isLoaded (    Object entity ,    String attributeName ) Determine the load state of a given persistent attribute of an entity belonging to the persistence unit. Parameters: attributeName - name

jakarta.persistence.TypedQuery.setHint(String,Object)

. Parameters: value - value for the property or hint hintName - name of property or hint Returns

jakarta.persistence.UniqueConstraint.columnNames

Jakarta Persistence (JPA) Method in jakarta.persistence.UniqueConstraint String[] columnNames (Required) The names of the column which make up the constraint. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQueryReference.getName()

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQueryReference String getName() The name of the query. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQueryReference.getHints()

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQueryReference Map getHints() A map keyed by hint name of all hints specified via NamedQuery.hints or NamedNativeQuery.hints . Since: Jakarta Persistence (JPA) 1.0

combined index not used

.properties. name = 'scheduledSlot') GROUP BY a.endDate, a.objectsInCharge.nodePath, a.objectsInCharge ... retaining only results that satisfy: (v$3. name ='scheduledSlot'). Step 6: Group results ... .type = 1) and (a.objectsInCharge.properties. name = 'scheduledSlot') GROUP BY a.endDate

queries under 2.7.6_4 significantly slower than under 2.7.6

)" and o.linkedObjects.objectNameUpper = "SENKEN-GROSS")) and (o.properties. name = "feedbackState" and o.properties.doubleValue != 13) and ((p1. name = "plannedState" and p1.doubleValue = 4 and p1.state = 4) or (p1. name = "startableState" and p1.doubleValue = 0)) 2.7.6 takes around 4 seconds 2.7.6_04 takes

JDO PersistenceManager.getSequence() returns null sometimes

sequence strategy): An additional minor issue is that ObjectDB appears to ignore the package name ... this problem. Regarding the sequence names , the JDO specification is not completely clear. Do you expect the sequence in the example to be named "testcase.seq"? What about sequences that are declared in

Strange Error with Criteria API and Sorting

($1)=class test.MyEntity)) ORDER BY UPPER($1. name ) DESC You can see that in the order by ...   em.getTransaction().begin();   OtherEntity o1 = new OtherEntity(" Name C");   OtherEntity o2 = new OtherEntity(" Name B");   OtherEntity o3 = new OtherEntity(" Name A");   em