ObjectDB Database Search

51-100 of 181 results

Composite Index error 328

getId() { return id; } public void setId(int id) { this.id = id; } @ Basic @Column(name = "dy_id") public int getDyId() { return dyId; } public void setDyId(int dyId) { this.dyId = dyId; } @ Basic @Column ... ; } @ Basic @Column(name = "usr_name") public String getUsrName() { return usrName; } public void

jakarta.persistence.metamodel.BasicType

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.BasicType Type Parameters: - The represented basic type Super Interfaces: Type An instance of BasicType represents a basic type (possibly an enumerated , LOB , or temporal type). Since: Jakarta Persistence (JPA) 2.0 Public Instance

jakarta.persistence.metamodel.Attribute.PersistentAttributeType

, Serializable Since: Jakarta Persistence (JPA) 1.0 Enum Constants BASIC Basic attribute Since: Jakarta

jakarta.persistence.metamodel.Type.PersistenceType

(JPA) 1.0 Enum Constants BASIC Basic type Since: Jakarta Persistence (JPA) 1.0 EMBEDDABLE Embeddable

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 ... a mapped superclass or to an embedded field or property to override a basic mapping or id mapping

jakarta.persistence.OrderBy

is applied to an element collection of basic type, the ordering is by value of the basic objects

Schema Update: class hierarchy change

of MyEntity package profileMigration.classhierachychange; import javax.persistence. Basic ; import javax ... ; emf.close(); } @Entity public static class BaseEntity {   @ Basic   String id; } @Entity public static class NamedEntity extends BaseEntity {   @ Basic   String name; } @Entity public

jakarta.persistence.criteria.Expression.cast(Class)

, and Double . Support for typecasts between other basic types is not required. Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta Persistence (JPA) 3.2

Date field Index is corrupted due to time change

results if we are successful. As for the use of the DB, our use is very basic , simple (I guess ... (DefaultButtonModel.java:259)         at javax.swing.plaf. basic ... . Basic ; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax

Trouble bug on explorer

.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf. basic .BasicMenuItemUI.doClick ... .swing.plaf. basic .BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.Component ... .AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf. basic .BasicMenuItemUI.doClick

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 is a basic type. If the name element is not specified, it defaults to the concatenation

jakarta.persistence.MapKeyClass

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyClass Implemented Interfaces: Annotation Target: Method, Field Specifies the type of the map key for associations of type Map . The map key can be a basic type, an embeddable class, or an entity. If the map is specified using Java

jakarta.persistence.MapKeyEnumerated

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyEnumerated Implemented Interfaces: Annotation Target: Method, Field Specifies the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated annotation can be applied to an element collection or

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 be applied to the same basic attribute. See Also: Convert Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.Entity

. An entity class holds state, represented as persistent fields and properties: a field or property of basic

jakarta.persistence.metamodel.SingularAttribute

indicating whether the attribute can be null. See Also: jakarta.persistence. Basic ::optional

jakarta.persistence.Version

delete the state of the instance. The version attribute must be of one of the following basic types

jakarta.persistence.Temporal

. The Temporal annotation may be used in conjunction with the Basic annotation, the Id annotation, or

How to avoid NULL values on Embedded entities

private Cliente cliente; //Opcional         @ Basic (optional=false ... ;  @ Basic (optional=false) private String calle;     @ Basic (optional=false) private int numero;     @ Basic (optional=false) private String ciudad;    

Should derived fields of an EmbeddedId be manually maintained by app code?

.persistence. Basic ; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax ... id = "1"; @SuppressWarnings("unused") // used by JPA @Version private int version; @ Basic protected ... .persistence. Basic ; import javax.persistence.Embeddable; import javax.persistence.EmbeddedId; import javax

Performance issue in a query due to internal calls visitRefs and visitKeyRefs

and visitKeyRefs? @Entity @Access (AccessType.FIELD) public class TCVector { @ Basic private String architecture; @ Basic private String scopeID; @ Basic private String name; @ Basic private String description; @ Basic private int signalIndex = 0; @OneToMany (cascade = CascadeType.ALL, targetEntity = TCSignal

Schema-Update: Rename superclass and remove one subclass

SuperClass { @ Basic public String kind; @ Basic public String mode; protected ChildClassA() { } } ChildClassB: @Entity @Access(AccessType.FIELD) public class ChildClassB extends SuperClass { @ Basic ... ) public class ChildClassA extends RenamedSuperClass { @ Basic public String kind; @ Basic public String

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

.persistence. Basic ; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax ... "; @SuppressWarnings("unused") // used by JPA @Version private int version; @ Basic protected java.lang.Integer ... .persistence. Basic ; import javax.persistence.Entity; import javax.persistence.FetchType; import javax

@ElementCollection of type enum

.EAGER) private Set permissions; package x.x.x.x public enum UserPermission { BASIC , COACH, ADMIN } Use case: there are users which contain the first 2 permissions ( BASIC and COACH, so the first 2 entries). Bug: If UserPermission enum is modified by adding, for example, BASIC231 between BASIC

jakarta.persistence.metamodel.SingularAttribute.isOptional()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.SingularAttribute boolean isOptional() Can the attribute be null? Returns: boolean indicating whether the attribute can be null. See Also: jakarta.persistence. Basic ::optional Since: Jakarta Persistence (JPA) 1.0

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

: IllegalStateException - if invoked on a path that corresponds to a basic type. IllegalArgumentException - if attribute

jakarta.persistence.ElementCollection.targetClass

Jakarta Persistence (JPA) Method in jakarta.persistence.ElementCollection Class targetClass (Optional) The basic or embeddable class that is the element type of the collection. This element is optional only if the collection field or property is defined using Java generics, and must be specified

Performance issue in a query due to compareTo calls

(AccessType.FIELD) public class TCStep extends Identifiable { @Index private long stepNumber; @ Basic private String comment; @ Basic private boolean isVisible; @ Basic private int numberOfDefinedValues = 0; @ Basic private int lastIdentifierIndex = -1; @Deprecated @Removed (version = EPVersion.EP2_5_0

failure to enforce NOT NULL for java.lang.String

my test cases are indicating that @ Basic (optional=false) and @Persistent(nullValue=NullValue ... ;  //@Persistent(nullValue=NullValue.EXCEPTION)         @ Basic ... ;             //@ Basic (optional=false)  

First query takes 4+ minutes to complete

class in the DB. The class has data members that are basic Java types. Here is extract of the code ... .channelNumber DESC We limit the result to 50 records. Basically we wish to get the last 50 records ... the application that uses the DB in embedded mode. So we basically start the application and let is stabilise

Wrong data stored in time only fields

.util.List; import javax.persistence. Basic ; import javax.persistence.Entity; import javax.persistence ... ;       @ Basic (optional = false)        ... ;       @ Basic (optional = false)       

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

to database, basically created a Persistance manager object for odb file 2.x 4. Run the doctor Am i right ... the old odb file 3. Connect to database, basically created a Persistance manager object for odb file ... file 3. Connect to database, basically created a Persistance manager object for odb file 2.x 4. Close

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

still have another question. Have @ Basic long types with @Index instead of string types the same advantages as primary long keys. btc_es BTC EmbeddedSystems  Have @ Basic long types with @Index instead ... advantages as primary keys with long types in comparing to fields with string types. @Index @ Basic long

Add class to objectdb ?

) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf. basic ... (AbstractButton.java:376) at javax.swing.plaf. basic .BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157) at javax.swing.plaf. basic

Wrong data stored in date only fileds

private Date startTime; // Time: time part of startDateTime @ Basic (optional = false) @Temporal ... setStartDateTime(Date startDateTime) { this.startDateTime = startDateTime; } @ Basic (optional = false) @Temporal ... startDate) { this.startDate = startDate; } @ Basic (optional = false) @Temporal(TemporalType.TIME) public

Unexpected internal exception during set field of an Embeddable to null

.persistence. Basic ; import javax.persistence.Embeddable; import com.btc.ep.architecture.bl.dmos.values ... ; @ Basic     private boolean defined;     @ Basic     String

Error using query with MAX() function

= "mySchema") public class TestEntity { @Id private int id; @ Basic @Lob private String remark; @ Basic

Trouble viewing db in Explorer.

) at javax.swing.plaf. basic .BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component ... .swing.plaf. basic .BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster

explorer NullPointerException

.doClick(AbstractButton.java:357) at javax.swing.plaf. basic .BasicMenuItemUI.doClick(BasicMenuItemUI.java:809) at javax.swing.plaf. basic .BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850

Mismatch client-server protocol prefix

. That's all. Basically this also updated all the Spring libraries to a newer version and maybe the tomcat ... them and creates new ones if there are more needed. Basically I have to use it this way to make @Transactional

Migration problem

://gauthier-cassany.com/posts/spring-boot-hibernate-search-conditional-indexing @ Basic (fetch = FetchType ... void onPrePersist(GenericEntity entity) { } }     kadirbasol Kadir BASOL Basically

Missing (null) elements in eager loaded references

children ; @ManyToOne private DataElement parent ; @ Basic private String label ; etc... } Embedable: @Embeddable public class Cost { @OneToMany (fetch = FetchType. EAGER ) private List dataElements ; @ Basic

Query over the keySet of a map field with collection parameter

static class EntityParent { @ Basic String value; public EntityParent(String name) { value = name ... EntityChild { @ Basic String value; public EntityChild(String name) { value = name; } } btc_es BTC

New to Product & Having An Issue

; this.objectId = objectId; } public DomainId() { super(); } @ Basic (optional=false) public String ... = accountId; } @ Basic (optional=false) public String getObjectId() { return objectId; } public void setObjectId

multiple different applications access one odb file

. thanks. peric.emil Emil Perić Basically , ObjectDB doesn't support using different versions ... .emil Emil Perić We can investigate the option to work on a very basic read-only JDBC driver

Best practise loading big data

( fetch = LAZY ) ArrayList values; } @Embeddable class MyValue { @ Basic boolean flag; @ Basic String ... MyValue { @ Basic boolean flag; @ Basic String stringValue; } btc_es BTC EmbeddedSystems Hello, sorry ... / lazy setting. There may be other reasons. If you could post a simple basic test case

com.objectdb.o.InternalException: null

) at javax.swing.plaf. basic .BasicTreeUI.paint(BasicTreeUI.java:1185) at com.apple.laf.AquaTreeUI.paint ... .isLeaf(DefaultTreeModel.java:203) at javax.swing.plaf. basic .BasicTreeUI.paint(BasicTreeUI.java:1185 ... ) at javax.swing.tree.DefaultTreeModel.isLeaf(DefaultTreeModel.java:203) at javax.swing.plaf. basic

Schema-Update: Rename superclass and remove one subclass

SuperClass { @ Basic public String kind; @ Basic public String mode; protected ChildClassA() { } } ChildClassB: @Entity @Access(AccessType.FIELD) public class ChildClassB extends SuperClass { @ Basic ... ) public class ChildClassA extends RenamedSuperClass { @ Basic public String kind; @ Basic public String

Entity field renaming does not work

(AccessType.FIELD) public class ToleranceDeviationImpl {     @ Basic     private String referenceDatatype;     @ Basic     private String comparisonDatatype; } to:     @ Basic     private

ArrayIndexOutOfBounds on showing Tree Window

.java:120) at javax.swing.plaf. basic .BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI ... .tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:199) at javax.swing.plaf. basic .BasicTreeUI.getPathBounds(BasicTreeUI.java:529) at javax.swing.plaf. basic .BasicTreeUI.getPathBounds