ObjectDB Database Search
51-100 of 200 resultsRequest 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 OutOfMemoryErrorRecursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError | |
Memory leak while merging parent with No Cascade annotation with childrenMemory leak while merging parent with No Cascade annotation with children | |
Objectdb ignores not null annotationsObjectdb ignores not null annotations | |
Chapter 4 - JPA Queries (JPQL / Criteria) (named) queries. It explains how to use the relevant interfaces, annotations , enums and methods | |
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 | |
AnnotationRef jakarta.persistence.Convert JPA Annotation Convert Target: METHOD, FIELD, TYPE Implemented Interfaces: Annotation Specifies ... . It is not necessary to use the Basic annotation (or corresponding XML element) to specify the converted ... where multiple converters would otherwise apply. The Convert annotation should not be used to specify | |
AnnotationRef jakarta.persistence.CollectionTable JPA Annotation CollectionTable Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies ... from the basic type according to the default values of the Column annotation . In the case of a basic ... annotation is used on the collection-valued attribute in addition to the ElementCollection annotation | |
AnnotationRef jakarta.persistence.Converter JPA Annotation Converter Target: TYPE Implemented Interfaces: Annotation Declares that the annotated class is a converter and specifies whether the converter is plain. Every converter class must implement AttributeConverter and must be annotated with the Converter annotation or declared as | |
AnnotationRef jakarta.persistence.EmbeddedId JPA Annotation EmbeddedId Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that the annotated persistent field or property of an entity class or mapped superclass is the composite primary key of the entity. The type of the annotated field or property must be an plain type | |
AnnotationRef jakarta.persistence.TableGenerator JPA Annotation TableGenerator Target: TYPE, METHOD, FIELD, PACKAGE Implemented Interfaces: Annotation Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation . A table generator may be specified on the entity class or | |
AnnotationRef jakarta.persistence.SequenceGenerator JPA Annotation SequenceGenerator Target: TYPE, METHOD, FIELD, PACKAGE Implemented Interfaces: Annotation Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation . A sequence generator may be specified on the entity class | |
AnnotationRef jakarta.persistence.Entity JPA Annotation Entity Target: TYPE Implemented Interfaces: Annotation Declares that the annotated class is an entity. The annotated entity class must: be a non- final top-level class or static inner ... . An entity has a primary table, mapped using the Table annotation , and may have one or more secondary tables | |
AnnotationRef jakarta.persistence.Enumerated JPA Annotation Enumerated Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that a persistent property or field should be persisted as an enumerated type. This annotation is optional if the type of a persistent field or property is a Java enum type. The Enumerated annotation | |
AnnotationRef jakarta.persistence.Lob JPA Annotation Lob Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that the annotated persistent property or field should be persisted as a large object to a database-native large object (LOB) type. Portable applications should use the Lob annotation when mapping to a database | |
AnnotationRef jakarta.persistence.JoinTable JPA Annotation JoinTable Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies ... of the relationship. If the JoinTable annotation is missing, the default values of the annotation ... = "ID")) This annotation may not be applied to a persistent field or property not annotated | |
AnnotationRef jakarta.persistence.GeneratedValue JPA Annotation GeneratedValue Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies a generation strategy for generated primary keys. The GeneratedValue annotation may be applied to a primary key property or field of an entity or mapped superclass in conjunction with the Id annotation | |
AnnotationRef jakarta.persistence.OneToOne JPA Annotation OneToOne Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies ... side must use the mappedBy element of the OneToOne annotation to specify the relationship field or property ... . The JoinColumn annotation may be used to map the foreign key column or columns. Alternatively | |
AnnotationRef jakarta.persistence.Basic JPA Annotation Basic Target: METHOD, FIELD Implemented Interfaces: Annotation The simplest type of mapping of a persistent field or property to a single database column. The Basic annotation ... type, or any other plain type. The use of the Basic annotation is optional for persistent fields | |
AnnotationRef jakarta.persistence.Temporal JPA Annotation Temporal Target: METHOD, FIELD Implemented Interfaces: Annotation This annotation ... . It may only be specified for fields or properties of these types. The Temporal annotation may be used in conjunction with the Basic annotation , the Id annotation , or the ElementCollection annotation | |
AnnotationAttrRef jakarta.persistence.Convert.attributeName JPA Annotation Attribute in jakarta.persistence.Convert String attributeName default "" A name or period-separated path identifying the converted attribute relative to the annotated program element. For example: if an plain is annotated @Convert(attributeName = "startDate" | |
AnnotationRef jakarta.persistence.MapKeyJoinColumns JPA Annotation MapKeyJoinColumns Target: METHOD, FIELD Implemented Interfaces: Annotation Supports composite map keys that reference entities. The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations . When the MapKeyJoinColumns annotation is used, both the name | |
AnnotationRef jakarta.persistence.Embeddable JPA Annotation Embeddable Target: TYPE Implemented Interfaces: Annotation Declares a type ... of completely unrelated entity types. The annotated type must: be a non- abstract , non- final top-level ... annotations used to map plain, and may themselves hold instances of embeddable types. An embeddable | |
AnnotationRef jakarta.persistence.DiscriminatorValue JPA Annotation DiscriminatorValue Target: TYPE Implemented Interfaces: Annotation Specifies the value of the discriminator column for the annotated entity type. The DiscriminatorValue annotation can only be specified on a concrete entity class. If the DiscriminatorValue annotation is not specified | |
AnnotationRef jakarta.persistence.ManyToMany JPA Annotation ManyToMany Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies ... of the ManyToMany annotation to specify the relationship field or property of the owning ... annotation specifies a mapping to a database table. The ManyToMany annotation may be used | |
AnnotationRef jakarta.persistence.Table JPA Annotation Table Target: TYPE Implemented Interfaces: Annotation Specifies the primary table mapped by the annotated entity type. Additional tables may be specified using SecondaryTable or SecondaryTables annotation . If no Table annotation is specified for an entity class, the default values | |
AnnotationRef jakarta.persistence.MapKeyClass JPA Annotation MapKeyClass Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies ... , an embeddable class, or an entity. If the map is specified using Java generics, the MapKeyClass annotation ... annotation is used in conjunction with ElementCollection or one of the collection-valued relationship | |
AnnotationRef jakarta.persistence.ManyToOne JPA Annotation ManyToOne Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies ... . This mapping may be specified using the JoinColumn annotation . Alternatively, an optional OneToOne association is sometimes mapped to a join table using the JoinTable annotation . The ManyToOne | |
AnnotationRef jakarta.persistence.EnumeratedValue JPA Annotation EnumeratedValue Target: FIELD Implemented Interfaces: Annotation Specifies that an annotated field of a Java enum type is the source of database column values for an plain mapping. The annotated field must be declared final , and must be of type: byte , short , or int for EnumType | |
AnnotationRef jakarta.persistence.SecondaryTable JPA Annotation SecondaryTable Target: TYPE Implemented Interfaces: Annotation Specifies a secondary table for the annotated entity class. Specifying one or more secondary tables indicates that the data for the entity class is stored across multiple tables. If no SecondaryTable annotation | |
AnnotationRef jakarta.persistence.OrderColumn JPA Annotation OrderColumn Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies ... reordering affecting the list. The OrderColumn annotation is specified on a OneToMany or ManyToMany relationship or on an element collection. The OrderColumn annotation is specified | |
InterfaceRef jakarta.persistence.spi.PersistenceUnitInfo of annotations annotated Qualifier . Corresponds to the qualifier element in persistence.xml . Return: the fully-qualified class names of the qualifier annotations , or an empty list if no qualifier annotations ... -qualified class name of an annotation annotated Scope or NormalScope . Corresponds to the scope element in | |
AnnotationRef jakarta.persistence.JoinColumns JPA Annotation JoinColumns Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the mapping for composite foreign keys. This annotation groups JoinColumn annotations for the same relationship. Each JoinColumn annotation must explicit specify both name and referencedColumnName | |
AnnotationRef jakarta.persistence.NamedEntityGraph JPA Annotation NamedEntityGraph Target: TYPE Implemented Interfaces: Annotation Defines a named plain. This annotation must be applied to the root entity of the graph, and specifies the limits ... ...) . Since: JPA 2.1 Public Annotation Attributes NamedAttributeNode [] attributeNodes default {} (Optional | |
AnnotationRef jakarta.persistence.IdClass JPA Annotation IdClass Target: TYPE Implemented Interfaces: Annotation Specifies a composite primary key type whose fields or properties map to the plain fields or properties of the annotated entity ... primary key of the database table. The primary key fields of the entity must be annotated Id | |
AnnotationRef jakarta.persistence.NamedStoredProcedureQuery JPA Annotation NamedStoredProcedureQuery Target: TYPE Implemented Interfaces: Annotation Declares ... annotation can be applied to an entity or mapped superclass. The name element is the name ... , as defined by the SqlResultSetMapping annotation . If there are multiple result sets, it is assumed | |
AnnotationRef jakarta.persistence.NamedNativeQuery JPA Annotation NamedNativeQuery Target: TYPE Implemented Interfaces: Annotation Declares a named ... , which may be specified using either a separate annotation : {@snippet : @NamedNativeQuery( name = " ... .class) }) } or using the elements of this annotation : {@snippet : @NamedNativeQuery( name = " | |
AnnotationRef jakarta.persistence.MapKeyEnumerated JPA Annotation MapKeyEnumerated Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated annotation ... with the ElementCollection , OneToMany , or ManyToMany annotation . If the enumerated type is not | |
AnnotationRef jakarta.persistence.OneToMany JPA Annotation OneToMany Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies a many ... of the associated entity. This mapping may be specified using the JoinColumn annotation . Alternatively, a unidirectional OneToMany association is sometimes mapped to a join table using the JoinTable annotation | |
AnnotationRef jakarta.persistence.PrimaryKeyJoinColumns JPA Annotation PrimaryKeyJoinColumns Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Groups PrimaryKeyJoinColumn annotations . It is used to map composite foreign keys. Example: ValuedCustomer subclass {@snippet : See Also: ForeignKey Since: JPA 1.0 Public Annotation Attributes | |
AnnotationRef jakarta.persistence.Transient JPA Annotation Transient Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that the annotated property or field is not persistent. May annotate a property or field of an entity class, mapped superclass, or embeddable class. Example: {@snippet : Since: JPA 1.0 This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.Column JPA Annotation Column Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the column mapped by the annotated persistent property or field. If no Column annotation is explicitly specified, the default values apply. Example 1: {@snippet : Since: JPA 1.0 Public Annotation Attributes | |
AnnotationRef jakarta.persistence.ForeignKey JPA Annotation ForeignKey Implemented Interfaces: Annotation Specifies the handling of foreign key constraints when schema generation is in effect. If this annotation is not specified, a default ... annotation is applied. See Also: JoinColumn JoinColumns MapKeyJoinColumn MapKeyJoinColumns | |
AnnotationRef jakarta.persistence.JoinColumn JPA Annotation JoinColumn Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies a column for joining an entity association or element collection. If the JoinColumn annotation ... Annotation Attributes CheckConstraint [] check default {} (Optional) Check constraints to be applied | |
AnnotationRef jakarta.persistence.MappedSuperclass JPA Annotation MappedSuperclass Target: TYPE Implemented Interfaces: Annotation Declares a class ... fields and properties of a mapped superclass are declared and mapped using the same mapping annotations ... annotations or corresponding XML elements. Example: Concrete class as a mapped superclass {@snippet |