ObjectDB Database Search

151-200 of 200 results

General Performance Issues Illustrated with a Specific Method

.TemporalType.TIMESTAMP) private Date retiredReversedAt; /* Retire Properties */ private boolean retired; private boolean reservedClient; @ManyToOne(fetch = FetchType.LAZY) private WebUser retiredBy ... ); return hash; } @Override public boolean equals(Object object) { if (!(object instanceof Client

Type ... is not defined as an entity (@Entity is missing) (error 302)

Boolean candS = false Boolean gramStain = false Boolean fungal = false OtherRqst commonOtherRqsts = new OtherRqst() // Bacteria (Fastidious) Boolean afb = false Boolean bPertussis = false Boolean hPylori = false OtherRqst bacteriaOtherRqsts = new OtherRqst() // Fungal (Specific) Boolean blastomycosis

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

with why one would bother to wrap something like a Boolean in this fashion, it is however a very powerful and crucial technique (and it is not used in all cases for every trivial boolean value in ... ; } - BooleanValue has the equivalent, but with simpler generic resolution: private Boolean oldValue; public

Does aggregate function "greatest" work on entity objects?

= ChatAttachment.class, fetch = FetchType.EAGER) private List attachments; private boolean isSystem; private boolean isViewed; private boolean isPriority; public String getText() { return text; } public void ... ) { this.attachments = attachments; } public boolean getIsSystem() { return isSystem; } public void setIsSystem

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

= ChatAttachment.class, fetch = FetchType.EAGER) private List attachments; private boolean isSystem; private boolean isViewed; private boolean isPriority; public String getText() { return text; } public void ... ) { this.attachments = attachments; } public boolean getIsSystem() { return isSystem; } public void setIsSystem

Pre-detach loading: retrieval by navigation not working in if statement

" Boolean value wrapper BooleanValue entity. This is @OneToOne with explicit LAZY fetch. - A BooleanValue entity wraps a simple Boolean property 'value'. - A LightingZone has a property 'v_NLA ... more things. This is enough to "provoke" loading of the Boolean lz.present.value before the if statement

openejb jpa jaas module

; /** * Password. */ protected String pass; private boolean succeeded; private UserInfo info ... getPasswdFromSharedState boolean that tells this method whether * to retrieve the password from the sharedState. */ private final void attemptAuthentication( boolean getPasswdFromSharedState) throws LoginException

Updating Entities

{ private int level; private int rate; ... public boolean setRate() { //Error Checking ... () { @Override protected void updateItem(String item, boolean empty) { if(item != null) { setText(item ... void updateItem(String item, boolean empty) { if(item != null) { setText(item); setAlignment(Pos

Query by array element

Hello, I have a class as follows: @Entity public class MyEntity {      boolean properties[]= new boolean [1024]; } I would like to query objects with feature '42': select me from ... ;       boolean properties[] = new boolean [1024];    

DB Doctor sets type to "unknown" for new fields

Hi, we are using ObjectDB 2.5.4_04 on Linux. We added two new Boolean fields to a persistable type ... to the schema as expected, however their type is set to unknown - we were expecting Boolean . The attached ... ) is set to unknown. Both are defined as Boolean in Java code. As a result, update operations

problem using macbook with M1 chip?

.objectdb.o.HTB.a(com.objectdb.o.HLE, boolean ) : com.objectdb.o.HLE [25]     78  pop ... descriptor #52 (Ljava/lang/String;)Z   // Stack: 2, Locals: 3   public static boolean s(java.lang ... ;    3  invokevirtual java.lang.String.startsWith(java.lang.String) : boolean [27

jakarta.persistence.MapKeyJoinColumn.insertable

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn boolean insertable (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyJoinColumn.updatable

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyJoinColumn.unique

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn boolean unique (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. Default: false Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyJoinColumn.nullable

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn boolean nullable (Optional) Whether the foreign key column is nullable. Default: false Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.JoinColumn.updatable

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.JoinColumn.unique

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn boolean unique (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. It is not necessary

jakarta.persistence.JoinColumn.nullable

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn boolean nullable (Optional) Whether the foreign key column is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.JoinColumn.insertable

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn boolean insertable (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Convert.disableConversion

Jakarta Persistence (JPA) Method in jakarta.persistence.Convert boolean disableConversion Disables an auto-apply or inherited converter. If disableConversion = true , the Convert.converter element should not be specified. Default: false Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Converter.autoApply

Jakarta Persistence (JPA) Method in jakarta.persistence.Converter boolean autoApply Specifies whether the annotated converter should be automatically applied to attributes of the target type. Default: false Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Cacheable.value

Jakarta Persistence (JPA) Method in jakarta.persistence.Cacheable boolean value (Optional) Whether or not the entity should be cached. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Column.unique

Jakarta Persistence (JPA) Method in jakarta.persistence.Column boolean unique (Optional) Whether the column is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint corresponds to only a single column

jakarta.persistence.Column.nullable

Jakarta Persistence (JPA) Method in jakarta.persistence.Column boolean nullable (Optional) Whether the database column is nullable. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUtil.isLoaded(Object,String)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUtil boolean isLoaded (    Object entity ,    String attributeName ) Determine the load state of a given persistent attribute. Parameters: attributeName - name of attribute whose load state is to be determined

jakarta.persistence.Column.insertable

Jakarta Persistence (JPA) Method in jakarta.persistence.Column boolean insertable (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUtil.isLoaded(Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUtil boolean isLoaded (    Object entity ) Determine the load state of an entity. This method can be used to determine the load state of an entity passed as a reference. An entity is considered loaded if all attributes

jakarta.persistence.Column.updatable

Jakarta Persistence (JPA) Method in jakarta.persistence.Column boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.isInstance(Object,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnitUtil boolean isInstance (    Object entity ,    Class entityClass ) Return true if the given entity belonging to the persistence unit and to an open persistence context is an instance of the given entity

jakarta.persistence.criteria.CriteriaQuery.having(Expression)

of the corresponding AbstractQuery method. Parameters: restriction - a simple or compound boolean expression

jakarta.persistence.Basic.optional

Jakarta Persistence (JPA) Method in jakarta.persistence.Basic boolean optional (Optional) Specifies whether the value of the field or property may be null. This is a hint and is disregarded for primitive types; it may be used in schema generation to infer that the mapped column is not null

Database corrupted after schema change

{     private String tableId;     private transient boolean ... ;private transient boolean isEditable = false; } @MappedSuperclass public abstract class BDOWA extends BDO ... ;     private boolean deleted;     private Date modificationTS

Query only works correctly when debug printing results

; private String description; private String reqID; private boolean verified = false; //Constructor ... is commented out boolean reqListIsNull = reqList==null; System.out.println("rle reqList is null ... ()); List bottomReqList = reqEntity.getBottomReqsList(); boolean bottomIsNull = bottomReqList==null

Cannot save or update entity on Spring App

; @Transactional     public boolean update() { return em.createQuery ... (); return guest; } //DELETE or UPDATE command public boolean deleteOrUpdate(String query, Map map ... .setParameter(s, map.get(s)); boolean que = q.executeUpdate() 0; em.getTransaction().commit(); em.clear(); em

NullPointerException while setting a new property value

info private String id; private boolean updatesEnabled; private boolean enabled; private int pluginPriority; private int maxAllowedDownloads; private boolean clipboardMonitored; private boolean

Trouble bug on explorer

; private String lastIp; private int flags; private int perUser; private boolean online; private boolean ... setFlags(int flags) { this.flags = flags; } public final boolean isOnline() { return online; } public final void setOnline( boolean online) { this.online = online; } public final Language getMainLanguage

Error 363 - Failed to read value of inverse relationship

id; private int permission = 0, activePermission = 0; private boolean validated = false ... ();     }         private static boolean ... ;     return db.createQuery("SELECT count(p) = 0 FROM Player p", Boolean .class

@Transient

;  @Transient     private boolean test;          // getters/setters } When I persist the class the transient ' boolean test' is stored in the database, maybe I am doing it wrong but I expect the ' boolean test' is not stored in

Beginners questions

" which looks like this: public class Pojo { private transient boolean changed=false; public boolean isChanged(){ return changed; } public void setChanged( boolean changed){ this.changed = changed

Property fields

; Thanks Russ russ0ne Russell Martin You can use a simple boolean or Boolean  persistent field in ... type property (i.e. the underlying persistent field of a  BooleanProperty could be java.lang. Boolean ). support Support

Entity with java.util.Date column gives ClassCastException in BIRT

;  private boolean privacy;     @Column(name="birthdate")     ... boolean isPrivacy() {         return privacy;     ... ;  public void setPrivacy( boolean privacy) {        

JPQL keyword in entity - what to do?

.name,p.done", ResultData.class); List res = q.getResultList(); p.done is boolean type. ResultData was modified like this: public class ResultData { public String name; public long all; public boolean done; public ResultData(String prodType, boolean done, long all) {   this.name = prodType

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

void generateMapItems(Integer numberToGen, boolean subItems, EntityManager em) throws TestException ... parent) { this.cachedKey = id; this.cont = parent; } @Override public boolean equals(Object o) { if(!(o ... ; this.prnt = parent; } @Override public boolean equals(Object o) { if(!(o instanceof ECompoundKeyMapSubItemId

Relationships and tracking changes

this: public class Pojo { private transient boolean changed=false; public boolean isChanged(){ return changed; } public void setChanged( boolean changed){ this.changed = changed; } ...as you can see, I tried

Disable Evaluation possibility

is activated or not using the following query: boolean isActivated =    em.createQuery("objectdb activation", boolean .class).getSingleResult(); Then you can avoid using ObjectDB and generate

License Activation Change and Checking Activation

using the following query: boolean isActivated =    em.createQuery("objectdb activation", boolean .class).getSingleResult(); support Support This query always returns false in my case

NullPointerException in __odbGetNumMember

(Object) line: 749 PMImpl(OBC).aD(Object, boolean ) line: 665 PMImpl(OBC).UF(Object) line: 629 TYW ... .af(Object, boolean , OWriter) line: 1031 UTY.writeStrictly(Object, OWriter) line: 1286 TYW.ar(Object ... , boolean , OWriter) line: 1031 UTY.aG(Object, TYW) line: 1195 UTY.aF(Object, long, TYW) line: 1184

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

ObjectDB). */ final static boolean DO_BUILD_TWO_PROJECTS = true; @PostConstruct public void createData ... }, * which is controlled by {@link ExtConfigBean#DO_BUILD_TWO_PROJECTS}. */ final static boolean DO_FORCE_COMMIT ... it with: final static boolean DO_BUILD_TWO_PROJECTS = true; // in ExtConfigBean final static boolean

Best practise loading big data

a boolean flag. @Entity class MyStepBlockCollection { @OneToMany ( cascase = ALL , fetch = Lazy ... ( 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

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

.BooleanValue [null](TEST: A readonly fixed true Boolean value) INFO: RequestBean []: Persisted: com.greensoft.entity.value.BooleanValue [64](TEST: A readonly fixed true Boolean value) INFO: RequestBean []: Updated: com.greensoft.entity.value.BooleanValue [64](TEST: A readonly fixed true Boolean value