ObjectDB Database Search

1-23 of 23 results

@MappedSuperclass and @Transient not working as I expected

; But here is the problem: The base class of my entity hierarchy is annotated as @ MappedSuperclass ... ; import javax.persistence.Id; import javax.persistence. MappedSuperclass ; import javax.persistence.Transient; import javax.persistence.Version; @ MappedSuperclass public class DataObject { @Id

mappedSuperClass and subClass Duplicates

When I subclass a mappedSuperClass , a table for both appears in the Explorer. Am I correct to expect that only the subclass appear? If so, please provided any clues for a remedy. Thanks ... billdotnet Bill The super class is shown in the Explorer to enable viewing its schema and to enable opening

AnnotationRef jakarta.persistence.MappedSuperclass

JPA Annotation MappedSuperclass Target: TYPE Implemented Interfaces: Annotation Declares a class which is not itself an entity, but whose mappings are inherited by the entities which extend it. A mapped superclass is not a persistent type, and is not mapped to a database table. The persistent

ObjectDB Object Database Features

types (@Embeddable) Mapped super classes (@ MappedSuperclass ) Enum classes Serializable types Persistent

Broken @ManyToOne reference

Hi, I have objects of type A belonging to objects of type B, defined as follows: @ MappedSuperclass ... =false) private B b; @Id @Column(length = 36) private String stringId; } @ MappedSuperclass public ... ; import javax.persistence.ManyToOne; import javax.persistence. MappedSuperclass ; @ MappedSuperclass

JPA inheritance issue with ObjectDB - Field not found in type error

. I've also tried using the @ MappedSuperclass annotation instead of the @Inheritance annotation, but the issue persists. @ MappedSuperclass public class Item implements Serializable, Comparable { // ... } @ MappedSuperclass public class PharmaceuticalItem extends Item implements Serializable

ClassRef jakarta.persistence.PersistenceConfiguration

 managedClass) Add a managed class (an Entity , Embeddable , MappedSuperclass , or Converter ... Entity , Embeddable , MappedSuperclass , or Converter . Return: all configured managed classes

Missing (null) elements in eager loaded references

there is a problem with my data structure?   Super classes: @ MappedSuperclass @SequenceGenerator (name ... ; etc... } @ MappedSuperclass public abstract class BaseCostElement extends BaseElement { @ElementCollection (fetch

Unable to persist fields in subclass

.persistence. MappedSuperclass ; /** * @author david * */ @ MappedSuperclass @Access(AccessType.PROPERTY

AnnotationRef jakarta.persistence.AssociationOverride

MappedSuperclass AttributeOverride Since: JPA 1.0 Public Annotation Attributes ForeignKey foreignKey

PersistenceConfiguration.managedClasses() - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration List managedClasses () The configured managed classes, that is, a list of classes annotated Entity , Embeddable , MappedSuperclass , or Converter . Return: all configured managed classes Since: JPA 3.2

PersistenceConfiguration.managedClass(managedClass) - JPA Method

JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration managedClass (   Class  managedClass ) Add a managed class (an Entity , Embeddable , MappedSuperclass , or Converter ) to the configuration. Parameters: managedClass - the managed class Return: this configuration Since: JPA 3.2

AnnotationRef jakarta.persistence.AttributeOverride

: {@snippet : See Also: Embedded Embeddable MappedSuperclass AssociationOverride Since: JPA 1.0 Public

Error with org.springframework.data.jpa.domain.AbstractPersistable

; }     @ MappedSuperclass     public static class AbstractPersistable  

Migration problem

@EntityListeners({AuditingEntityListener.class,GenericEntityListener.class}) @ MappedSuperclass public abstract

Database corrupted after schema change

;private transient boolean isEditable = false; } @ MappedSuperclass public abstract class BDOWA extends BDO

Cannot save or update entity on Spring App

to @Transactional annotation   @ MappedSuperclass @Component public class DefaultRepository

Criteria query error: Unexpected query token

; } } @ MappedSuperclass public abstract class BaseEntity implements Serializable{ private static final

Object comparation never matches

Hi! I'm trying to compare 2 identical objects in SELECT with no success: @Embeddable public class PhoneNumber implements Serializable {     int countryCode;     long number;   Which is a part of Customer object: @ MappedSuperclass @NamedQueries({    

Problem to use find method on an abstract Class: AbstractMethodError is thrown

; emf.close();     }     @ MappedSuperclass     public

Application not starting after enhancement

a @ MappedSuperclass . Without the enhancement everything works fine. Regards Kevin Kevin Kevin Pfaff Enhancement ... this one. Please check if the super  @ MappedSuperclass was enhanced. support Support Ah, sorry

Doctor bug?

.objects.persistent; import javax.persistence. MappedSuperclass ; /** * * @author bjjl */ @ MappedSuperclass

Internal Exception and Index Problems

is annotated with @Entity and not with @ MappedSuperClass . skolb Sebastian Kolb This exception