ObjectDB Database Search

51-81 of 81 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

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

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

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

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

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

Migration problem

="tinyint(1) default 1") // @Column(columnDefinition=" BOOLEAN DEFAULT true") @ColumnDefault(value = "true") protected boolean enabled; }       package com.manage.jpa; import org

Unexpected output "*** PatternParameterImpl" in the java console

.println(String) line: 882 ThreadPrintStream.println(String) line: 179 TYS.k() line: 199 TYM.Z( boolean ... , boolean ) line: 196 EMF(OMF).w(STO, ClassLoader) line: 866 EMF(OMF).s(String, String) line: 818 EMF.s

New to Product & Having An Issue

) { this.employees = employees; } public boolean equals(Object obj) { if(((Department) obj).getDomainId ... uuid = UUID.randomUUID(); return uuid.toString().replaceAll("-",""); } public boolean equals(Object

Replicated cluster recovery

CST(CLS).R() line: 327 CST(CLS).P() line: 274 CST.UA(int) line: 283 TYM.ac( boolean , String, Object) line: 472 TYM. (TSR, ClassLoader, SCM, PersistenceUnitInfo, String, ERR, boolean ) line: 232 PMF(OMF

Unable to delete the .odb file programatically

;for (File temp : files ) {          boolean deleted = file.delete(); // getting false value for deleted boolean     } When i am calling pm.close

ClassCastException of same object type

is below with the alternate problem in bold public void add(ICoreObject obj, boolean fireEvent) {     

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

I'm using ObjectDB as my JPA provider, and I'm facing an issue with inheritance. My classes are as follows: @Entity public class Item implements Serializable, Comparable { boolean retired; // other fields, getters, and setters } @Entity @Inheritance public class PharmaceuticalItem extends Item

Schema-Update: Rename superclass and remove one subclass

public boolean onlyRecordLastStep = false; protected ChildClassB() { } }   Then we rename SuperClass

Error occured during initialization of boot layer

boolean verified = false; public RequirementDBEntity() { } RequirementDBEntity(String reqID, String

Problem with byte arrays in JDO - ClassCastException

A bizarre ClassCastException is thrown if I attempt to obtain a byte array field as the result of a Query: Exception in thread "main" java.lang.ClassCastException: java.lang. Boolean cannot be cast to [B at spiffy.test.ObjectdbTest.main(ObjectdbTest.java:44) package spiffy.test; import java.util

Composite Index error 328

) { this.groupsHash = groupsHash; } @Override public boolean equals(Object o) { if (this == o) return true; if (o

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

hash; } @Override public boolean equals(Object object) { // TODO: Warning - this method won't work in

Performance issue in a query due to compareTo calls

private String comment; @Basic private boolean isVisible; @Basic private int numberOfDefinedValues = 0

Is it possible to remove parent/child entities without refresh?

; } } private static EntityManager createEntityManager(String dbFileName, boolean delete) {  

Date field Index is corrupted due to time change

;       public boolean equals(Object o) {      

UPDATE query to set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this ( boolean ) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save

Merge with Parent/Child entities not possible

createEntityManager(String dbFileName, boolean delete) {   EntityManagerFactory emf = null;   if (delete

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.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

findChartEntities( boolean all, int maxResults, int firstResult) { EntityManager em = getEntityManager(); try ... List points; public Chart() { this.points = new ArrayList (); this.reverseOrder = Boolean .TRUE

NPE at com.objectdb.jpa.JpaQuery.getResultList

( boolean all, int maxResults, int firstResult) { EntityManager em = getEntityManager(); try ... ;  boolean all, int maxResults, int firstResult) {        

Unexpected not reproducable exception in a query

Hello, do you know why we get the following exception? best regards BTC com.btc.ep.base.bl.services.preferences.PreferencesException: failed to handle preference with key [com.btc.ep.base.bl.impl.test.it. boolean ]: null at com.objectdb.o.CCH.v(CCH.java:292) at com.objectdb.o.CCH.u(CCH.java:229

Eager Fetch of Map with Entities as Keys

;      public boolean equals(Object obj) {