ObjectDB Database Search
101-150 of 200 resultsEmbeddedId with Generated field value both solutions I expected I could get a generated value for the field uid by simply adding the documented ... simply a not contemplated future? Slinky Silvio Ornano Automatic generated IDs is currently supported | |
auto generate timestamp Hi all, How can I create auto timestamping column? I want the database to generate the timestamp. I tried google but suggested solutions doesn't work in objectDB. http://stackoverflow.com/questions/811845/setting-a-jpa-timestamp-column-to-be- generated -by-the-database - Pawel pawel Pawel | |
Newbie : How to return the auto-generated ID Hello, I am new to this community, as well as JPA and ObjectDB. I want to read the auto- generated ID when I persist a new entity (with @Id @GeneratedValue annotations applied). I am following ... to have the id available earlier (immediately after persist ) - you have to switch to sequence or table value generation strategy. support Support | |
General Performance Issues Illustrated with a Specific Method Cloud HIMS is a JSF/JPA (EclipseLink 2.3)/MySQL application designed to capture data in Health Care Centres across Sri Lanka. We've recently migrated to ObjectDB to improve performance. Despite the migration, we're experiencing general performance issues across all transactions. As requested in | |
Use of sequences to generate field values in JDO I'm trying to use sequences to set field values in JDO. I want to do this in XML metadata to avoid use of annotations. This is an example of what I'm trying: When the code is run I get the message: No definition of generator 'audit_seq' (referenced by field com.spiffymap.sealog.model | |
Should I be able to persist a JFrame (or gui components in general)? about it, that just defining the interface is not generally enough to define the persistence, 2 things | |
auto-generated uuid fieldsauto-generated uuid fields | |
jakarta.persistence.Column applications which make use of schema generation should explicitly specify the precision and scale of columns ... ) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default: true ... UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence | |
jakarta.persistence.SecondaryTable the generation of a foreign key constraint for the columns corresponding to the pkJoinColumns element when table generation is in effect. If both this element and the #foreignKey element of any ... . These are typically only used if table generation is in effect. These constraints apply in addition | |
Generating new activation code gives 500 server errorGenerating new activation code gives 500 server error | |
jakarta.persistence.MapKeyJoinColumn (Optional) Whether the column is included in SQL INSERT statements generated by the persistence ... ) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true ... when generating the DDL for the column. Defaults to SQL generated by the provider for the column. Default | |
jakarta.persistence.CollectionTable the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect. If both this element and the foreignKey element of any ... . These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 1.0 Index | |
jakarta.persistence.Table if table generation is in effect. These constraints apply in addition to any constraints specified ... (Optional) Indexes for the table. These are only used if table generation is in effect. Note ... constraints to be applied to the table. These are only used if table generation is in effect. Default | |
jakarta.persistence.MapKeyColumn statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by ... (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults | |
jakarta.persistence.PrimaryKeyJoinColumn) The SQL fragment that is used when generating the DDL for the column. This should not be specified for a OneToOne primary key association. Defaults to the generated SQL to create a column ... appended to the generated DDL which declares this column. May not be used in conjunction | |
jakarta.persistence.OrderColumn (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider ... is included in SQL UPDATE statements generated by the persistence provider. Default: true ... when generating the DDL for the column. Defaults to generated SQL to create a column of the inferred type | |
jakarta.persistence.Persistence. It may also be used to cause schema generation to occur. The Persistence class is available in ... . These properties may include properties to control schema generation . The values of these properties ... tables and/or create DDL scripts as determined by the supplied properties. Called when schema generation | |
jakarta.persistence.OneToMany. If the collection is defined using generics to specify the element type, the associated target entity ... association using generics // In Customer class: @OneToMany(cascade = ALL, mappedBy = "customer") public ... without using generics // In Customer class: @OneToMany(targetEntity = com.acme.Order.class, cascade | |
jakarta.persistence.PrePersist class. A generated primary key value is available when this callback occurs only for UUID , TABLE , or SEQUENCE primary key generation . For IDENTITY primary key generation , the generated primary key | |
jakarta.persistence.ForeignKey.value) Used to specify whether a foreign key constraint should be generated when schema generation is in effect. ConstraintMode.CONSTRAINT specifies that the persistence provider must generate a foreign key ... will generate a constraint whose update and delete actions it determines most appropriate for the join column | |
jakarta.persistence.Index: Annotation Used in schema generation to specify creation of an index. The syntax of the columnList element ... name (Optional) The name of the index. Defaults to a provider- generated name. Default ... options (Optional) A SQL fragment appended to the generated DDL which creates this index. Default | |
jakarta.persistence.DiscriminatorColumn columnDefinition (Optional) The SQL fragment that is used when generating the DDL for the discriminator column. Defaults to the provider- generated SQL to create a column of the specified discriminator ... appended to the generated DDL which declares this column. May not be used in conjunction | |
jakarta.persistence.UniqueConstraint Interfaces: Annotation Specifies that a unique constraint is to be included in the generated DDL ... to a provider- generated name. Default: "" Since: Jakarta Persistence (JPA) 2.0 String[] columnNames ... String options (Optional) A SQL fragment appended to the generated DDL which creates this constraint | |
jakarta.persistence.criteria.CriteriaBuilder.Case Interface used to build general case expressions. Case conditions are evaluated in the order in ... expression. Parameters: result - "then" result value condition - "when" condition Returns: general case ... condition - "when" condition Returns: general case expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder is used instead of Expression in this API in order to work around the fact that Java generics are not ... case expression. Since: Jakarta Persistence (JPA) 1.0 Case selectCase () Create a general case expression. Returns: general case expression. Since: Jakarta Persistence (JPA) 1.0 Expression sign | |
jakarta.persistence.CheckConstraint Interfaces: Annotation Used to specify a SQL check constraint on a column or table when schema generation ... Elements String name (Optional) The name of the constraint. Defaults to a provider- generated name ... appended to the generated DDL which creates this constraint. Default: "" Since: Jakarta Persistence (JPA | |
jakarta.persistence.Lob) @Column(name = " REPORT ") protected String report ; Example 2: @Lob @Basic(fetch = LAZY) @Column(name | |
jakarta.persistence.SchemaValidationException a problem with one database object, in which case there is only one problem reported ... multiple problems might be reported , each as a separate exception instance. Since: Jakarta Persistence | |
jakarta.persistence.PersistenceConfiguration.SCHEMAGEN_SCRIPTS_ACTION Jakarta Persistence (JPA) Field in jakarta.persistence.PersistenceConfiguration SCHEMAGEN_SCRIPTS_ACTION The action to be generated as a SQL script. The script is generated in the location specified by "jakarta.persistence.schema- generation .create-target" or "jakarta.persistence.schema- generation | |
jakarta.persistence.PersistenceUnitUtil entity ) Return the id of the entity. A generated id is not guaranteed to be available ... ) Return the version of the entity. A generated version is not guaranteed to be available | |
jakarta.persistence.JoinColumns the generation of a foreign key constraint when table generation is in effect. If both this element | |
jakarta.persistence.ManyToMany generics . Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics . Default: void/class Since: Jakarta Persistence (JPA) 1.0 CascadeType[] cascade | |
jakarta.persistence.MapKeyJoinColumns foreignKey (Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If both this element and the foreignKey element of any of the MapKeyJoinColumn | |
jakarta.persistence.ElementCollection generics , and must be specified otherwise. It defaults to the parameterized type of the collection when defined using generics . Default: void/class Since: Jakarta Persistence (JPA) 1.0 FetchType fetch | |
jakarta.persistence.DiscriminatorValue-specific function is used to generate a value representing the entity type. If the DiscriminatorType ... to generate a value representing the entity type. If the DiscriminatorType is STRING , the discriminator | |
jakarta.persistence.AssociationOverride (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect. If both this element | |
jakarta.persistence.PrimaryKeyJoinColumns the generation of a foreign key constraint when table generation is in effect. If both this element | |
jakarta.persistence.TableGenerator.pkColumnValue Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String pkColumnValue (Optional) The primary key value in the generator table that distinguishes this set of generated values ... the primary key column of the generator table Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Persistence.generateSchema(String,Map) and/or create DDL scripts as determined by the supplied properties. Called when schema generation ... : persistenceUnitName - the name of the persistence unit map - properties for schema generation ; these may also contain ... information is provided or if schema generation otherwise fails.. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.SchemaValidationException.getFailures() there is only one problem reported here. Alternatively, a provider might choose to continue validating the remaining database objects, in which case multiple problems might be reported , each as a separate exception instance. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.selectCase() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Case selectCase() Create a general case expression. Returns: general case expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Table.options Jakarta Persistence (JPA) Method in jakarta.persistence.Table String options (Optional) A SQL fragment appended to the generated DDL statement which creates this table. This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.TableGenerator.name Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String name (optional) A unique generator name that can be referenced by one or more classes to be the generator for id values. Defaults to the name of the entity when the annotation occurs on an entity class or primary key | |
jakarta.persistence.GeneratedValue.strategy Jakarta Persistence (JPA) Method in jakarta.persistence.GeneratedValue GenerationType strategy (Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key. Default: AUTO Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.OneToMany.targetEntity is defined using Java generics . Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics . Default: void/class Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.GenerationType.UUID Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.GenerationType UUID Indicates that the persistence provider must assign primary keys for the entity by generating an RFC 4122 Universally Unique IDentifier. May be used to generate primary keys of type UUID or String . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.GenerationType.AUTO , GenerationType.SEQUENCE , and GenerationType.IDENTITY . The AUTO generation strategy may expect a database ... such resources in the event that it does not support schema generation or cannot create the schema | |
jakarta.persistence.OrderColumn.columnDefinition Jakarta Persistence (JPA) Method in jakarta.persistence.OrderColumn String columnDefinition (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to generated SQL to create a column of the inferred type. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.MapKeyColumn.columnDefinition Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn String columnDefinition (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL to create a column of the inferred type. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.MapKeyJoinColumn.columnDefinition Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn String columnDefinition (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to SQL generated by the provider for the column. Default: "" Since: Jakarta Persistence (JPA) 1.0 |