ObjectDB Database Search

101-150 of 200 results

Request clarification of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations

, the policy for annotations has also changed ! Previously, any annotations (including custom annotations ... ). I see now (using reflection tests) that any annotations seem now to "remain" with the original accessor. Q: Can you please confirm that my analysis is correct, and that now the Annotations

@Enhancement annotation

Hi, We've found out that ObjectDB has its own annotation called @Enhancement which can be applied ... at all. We found this annotation by accident and proved its behaviour via tests, but did not find any ... ? Would it be possible to distribute this single Annotation definition to 3rd parties (our customers) if we have a site

Annotate a Map field with @ElementCollection or @Basic

Hello, we have an entity with a field whose type is a Map. Once we annotate the field with @ElementCollection, in the other case with @Basic. Is @Basic also a valid annotation for a Map field ... BTC btc_es BTC EmbeddedSystems Is @Basic also a valid annotation for a Map field? It is valid in

Need help to make this test work and define proper annotations for entities Lists

Hi, I can't get this simple test case to work, i know it is probably due to the lack of proper annotations on entities list, could anyone help me to define them? NB in this test case I didn't set all entities methods for the sake of clarity, also in actual application no field are public

Annotations not supported in -source1.3 (use -source 5 or higher ..)

and other files: Annotations not supported in -source1.3 (use -source 5 or higher ..) Generics not

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

Memory leak while merging parent with No Cascade annotation with children

Memory leak while merging parent with No Cascade annotation with children

Objectdb ignores not null annotations

Objectdb ignores not null annotations

jakarta.persistence.PostRemove

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PostRemove Implemented Interfaces: Annotation Target: Method Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener

jakarta.persistence.PreRemove

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PreRemove Implemented Interfaces: Annotation Target: Method Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener

jakarta.persistence.PrePersist

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PrePersist Implemented Interfaces: Annotation Target: Method Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener

jakarta.persistence.SqlResultSetMappings

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.SqlResultSetMappings Implemented Interfaces: Annotation Target: Type Used to define one or more SqlResultSetMapping annotations . Since: Jakarta Persistence (JPA) 1.0 Annotation Elements SqlResultSetMapping[] value One or

jakarta.persistence.NamedQueries

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

jakarta.persistence.NamedStoredProcedureQueries

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedStoredProcedureQueries Implemented Interfaces: Annotation Target: Type Specifies multiple named stored procedure queries. Query names are scoped to the persistence unit. The NamedStoredProcedureQueries annotation can be applied

jakarta.persistence.OrderBy

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.OrderBy Implemented Interfaces: Annotation Target: Method, Field Specifies the ordering of the elements of a collection-valued ... embedded field or property. The OrderBy annotation may be applied to an element collection. When OrderBy

jakarta.persistence.PersistenceContexts

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PersistenceContexts Implemented Interfaces: Annotation Target: Type Declares one or more PersistenceContext annotations . It is used ... . See Also: PersistenceContext Since: Jakarta Persistence (JPA) 1.0 Annotation Elements PersistenceContext[] value (Required

jakarta.persistence.MapKeyColumn

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyColumn Implemented Interfaces: Annotation Target: Method, Field Specifies the mapping for the key column of a map whose map key ... to filename ... } Since: Jakarta Persistence (JPA) 2.0 Annotation Elements String name (Optional

jakarta.persistence.MapKey

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKey Implemented Interfaces: Annotation Target: Method, Field Specifies the map key for associations of type Map when the map key ... then it is expected to have a uniqueness constraint associated with it. The MapKeyClass annotation is not used

jakarta.persistence.NamedEntityGraphs

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedEntityGraphs Implemented Interfaces: Annotation Target: Type Used to group NamedEntityGraph annotations . See Also: NamedEntityGraph Since: Jakarta Persistence (JPA) 2.1 Annotation Elements NamedEntityGraph[] value Since: Jakarta

jakarta.persistence.MapsId

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapsId Implemented Interfaces: Annotation Target: Method, Field Designates a ManyToOne or OneToOne relationship attribute that provides ... or OneToOne relationship declared by a dependent entity is annotated MapsId , an instance

jakarta.persistence.Converts

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Converts Implemented Interfaces: Annotation Target: Method, Field, Type Used to group Convert annotations . Multiple converters must not ... Annotation Elements Convert[] value The Convert mappings that are to be applied. Since: Jakarta

jakarta.persistence.DiscriminatorColumn

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.DiscriminatorColumn Implemented Interfaces: Annotation Target: Type Specifies the discriminator column for the SINGLE_TABLE and JOINED ... is applied. If the DiscriminatorColumn annotation is missing, and a discriminator column is required

jakarta.persistence.ElementCollection

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ElementCollection Implemented Interfaces: Annotation Target: Method, Field Declares a collection of instances of a basic type or ... . The CollectionTable annotation specifies a mapping to a database table. Example: @Entity public class

jakarta.persistence.ExcludeSuperclassListeners

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ExcludeSuperclassListeners Implemented Interfaces: Annotation Target: Type Specifies that the invocation of superclass listeners ... . Annotation Elements This is a marker annotation with no members/elements. Additional JDK methods inherited

jakarta.persistence.FieldResult

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.FieldResult Implemented Interfaces: Annotation Used in conjunction with the EntityResult annotation to map columns specified in ... ") }) }) See Also: EntityResult SqlResultSetMapping Since: Jakarta Persistence (JPA) 1.0 Annotation Elements String name

jakarta.persistence.ExcludeDefaultListeners

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ExcludeDefaultListeners Implemented Interfaces: Annotation Target: Type Specifies that the invocation of default listeners ... ) 1.0 The JPA Lifecycle Events article explains how to use ExcludeDefaultListeners . Annotation

jakarta.persistence.Version

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Version Implemented Interfaces: Annotation Target: Method, Field Declares the version field or property of an entity class ... The JPA Entity Fields article explains how to use Version . Annotation Elements This is a marker

jakarta.persistence.AssociationOverride

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.AssociationOverride Implemented Interfaces: Annotation Target: Type, Method, Field Used to override a mapping for an entity relationship ... Persistence (JPA) 1.0 Annotation Elements String name (Required) The name of the relationship

jakarta.persistence.Cacheable

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Cacheable Implemented Interfaces: Annotation Target: Type Specifies whether an entity should be cached, if caching is enabled ... SharedCacheMode.DISABLE_SELECTIVE . The value of the Cacheable annotation is inherited by subclasses

jakarta.persistence.QueryHint

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.QueryHint Implemented Interfaces: Annotation Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation ... (JPA) 1.0 Annotation Elements String name Name of the hint. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.SequenceGenerators

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.SequenceGenerators Implemented Interfaces: Annotation Target: Type, Method, Field, Package Used to group SequenceGenerator annotations . See Also: SequenceGenerator Since: Jakarta Persistence (JPA) 2.2 Annotation Elements

jakarta.persistence.TableGenerators

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.TableGenerators Implemented Interfaces: Annotation Target: Type, Method, Field, Package Used to group TableGenerator annotations . See Also: TableGenerator Since: Jakarta Persistence (JPA) 2.2 Annotation Elements TableGenerator[] value

jakarta.persistence.NamedQuery

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedQuery Implemented Interfaces: Annotation Target: Type Declares a named query written in the Jakarta Persistence query language ... ", Customer.class) .setParameter("custName", "Smith") .getResultList(); The NamedQuery annotation

jakarta.persistence.Index

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Index Implemented Interfaces: Annotation Used in schema generation to specify creation of an index. The syntax of the columnList element ... CollectionTable JoinTable TableGenerator Since: Jakarta Persistence (JPA) 2.1 Annotation Elements String

jakarta.persistence.NamedAttributeNode

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedAttributeNode Implemented Interfaces: Annotation A NamedAttributeNode is a member element of a NamedEntityGraph . See Also: NamedEntityGraph NamedSubgraph Since: Jakarta Persistence (JPA) 2.1 Annotation Elements String value

jakarta.persistence.UniqueConstraint

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.UniqueConstraint Implemented Interfaces: Annotation Specifies that a unique constraint is to be included in the generated DDL ... Persistence (JPA) 1.0 Annotation Elements String name (Optional) The name of the constraint. Defaults

jakarta.persistence.Access

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Access Implemented Interfaces: Annotation Target: Type, Method, Field Used to specify an access type to be applied to an entity class ... Persistence (JPA) 2.0 Annotation Elements AccessType value (Required) Specification of field- or

jakarta.persistence.AttributeOverride

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.AttributeOverride Implemented Interfaces: Annotation Target: Type, Method, Field Used to override the mapping of a Basic ... AssociationOverride Since: Jakarta Persistence (JPA) 1.0 Annotation Elements String name (Required) The name

jakarta.persistence.AttributeOverrides

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.AttributeOverrides Implemented Interfaces: Annotation Target: Type, Method, Field Used to override mappings of multiple properties or ... Persistence (JPA) 1.0 Annotation Elements AttributeOverride[] value (Required) One or more field or

jakarta.persistence.AssociationOverrides

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.AssociationOverrides Implemented Interfaces: Annotation Target: Type, Method, Field Used to override mappings of multiple relationship ... Since: Jakarta Persistence (JPA) 1.0 Annotation Elements AssociationOverride[] value (Required

jakarta.persistence.CheckConstraint

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.CheckConstraint Implemented Interfaces: Annotation Used to specify a SQL check constraint on a column or table when schema generation is in effect. See Also: Table.check() Column.check() Since: Jakarta Persistence (JPA) 3.2 Annotation

jakarta.persistence.SecondaryTables

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.SecondaryTables Implemented Interfaces: Annotation Target: Type Specifies multiple secondary tables for an entity. Example 1: Multiple ... { ... } Since: Jakarta Persistence (JPA) 1.0 Annotation Elements SecondaryTable[] value (Required) The secondary

jakarta.persistence.StoredProcedureParameter

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.StoredProcedureParameter Implemented Interfaces: Annotation Declares a parameter of a named stored procedure query. All parameters ... Since: Jakarta Persistence (JPA) 2.1 Annotation Elements String name The name of the parameter as

jakarta.persistence.SqlResultSetMapping

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.SqlResultSetMapping Implemented Interfaces: Annotation Target: Type Specifies a mapping of the columns of a result set of a native SQL ... Since: Jakarta Persistence (JPA) 1.0 Annotation Elements String name The name given to the result set

jakarta.persistence.NamedSubgraph

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedSubgraph Implemented Interfaces: Annotation A NamedSubgraph is a member element of a NamedEntityGraph . The NamedSubgraph ... . See Also: NamedEntityGraph NamedAttributeNode Since: Jakarta Persistence (JPA) 2.1 Annotation Elements String name

jakarta.persistence.PersistenceUnit

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PersistenceUnit Implemented Interfaces: Annotation Target: Type, Method, Field Expresses a dependency on an EntityManagerFactory and its associated persistence unit. Since: Jakarta Persistence (JPA) 1.0 Annotation Elements String name

jakarta.persistence.PersistenceProperty

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PersistenceProperty Implemented Interfaces: Annotation Describes a single container or persistence provider property. Used in ... recognized by a vendor are ignored. Since: Jakarta Persistence (JPA) 1.0 Annotation Elements String

jakarta.persistence.PersistenceContext

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PersistenceContext Implemented Interfaces: Annotation Target: Type, Method, Field Expresses a dependency on a container-managed EntityManager and its associated persistence context. Since: Jakarta Persistence (JPA) 1.0 Annotation

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getWidthPxSideBarLeft Where getWidthPxSideBarLeft() is an annotated getter of an entity ViewConfiguration: private int ... some rules about names of methods with some annotations . Maybe just replacing the prefix

@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions.

When the following annotation is present on an enum type entity field: @Enumerated(EnumType.STRING) Queries using JPQL IN expressions on this field won't work correctly anymore. This issue ... annotation ). Best regards, and thank you for this great piece of work! opetri Olivier Petri Thank