ObjectDB Database Search

101-150 of 177 results

Get list of database files

, password, false ); This will return the root directory, which then can be explored further using ... , false );   support Support Hi, thanks for your quick reply. It works great! skolb Sebastian Kolb

How to convert a boolean to an int in the query?

+ ... true and Boolean.TRUE are converted to 1. false and Boolean. FALSE are converted to 0. support Support

Composite indexes

; // some integers describing photo characteristic Boolean isPublished; // either true or false ... the smallest subset of unique records (like for example "isPublished" which is either true or false

Non Embedded byte[]

I am trying to understand the "embedded= false " for JDO byte[] as described in ObjectDB 1.0 Manual, sections 4.3 and 4.4.   I desire to store an image as a byte[] but I don't want the byte ... : @PersistenceCapable class MyImage{ boolean isCurrent; @Persist(embedded=" false ")byte[] imageData

LAZY @ManyToOne field functions as EAGER

.cLazy:{C}[2]"cLazy"
 b.cEager:{C}[3]"cEager" But when I switch DO_VIEW_BEFORE_CLOSE to false ... boolean DO_VIEW_BEFORE_CLOSE = false ;         /**    

Unexpected exception during open the database

, if we introduce the element and set it to false , we still get errors. I'm not sure, but I thinke we now ... ; index-update to false . Actually, such a stack trace is expected when  index-update is set

Object explorer cannot open odb file. ObjectDB many-to-many relationship

{     @Id @ManyToOne(cascade = CascadeType.ALL, optional = false )     ... .ALL, optional = false )     private Project project;        

Implement "equals" method

; if (object == null ) return false ; if ( this .getClass() != object.getClass()) return false ; return

Access to client/server database from multiple applications

;set to false  or a new PersistenceManager for new operations (i.e.  PersistenceManager per request ). support Support Setting the PersistenceManagerFactory.retainValues to false works fine

Database Inconsistency or corruption

, REVISION:=null, isPersisted:= false ... To confirm that the values are lost, I started the explorer ... markedDeleted = false ;   @ManyToOne   private Project project;   @javax.persistence.OneToMany

pesimistic Lock semantic

(); pm1.currentTransaction().setOptimistic( false ); pm1.currentTransaction().begin(); long numOfPictures ... .currentTransaction().setOptimistic( false ); pm2.currentTransaction().begin(); Picture picture2

Access entity version before commit transaction

= transaction.getEntity(id, false );             ... ;      Flight flight = transaction.getEntity(id, false );     

Where Does ObjectDB Block/Lock?

.currentTransaction()? 3) Does it lock at transaction.begin() if optimistic= false ?  4) Does it lock ... and therefore ObjectDB 1.0 Manual's statement suggests datastore transactions (optimistic= false ) would be faster

Problem on JPA Merge Entity.

which methods it is true and in which false ? In addition, verify that the same EntityManager is used

Replaying recorded requests...

;      Questions: 1) Why am I seeing this if I've set recording enabled to false ? 2

Filename.odb$ Persisting Issue

; primaryStage.setResizable( false );     initRootLayout();     showMainMenu(); } private

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

= new HashMap (); m.put("ret", false ); System.out.println("Parameters: " + m); items = getFacade

License Activation Change and Checking Activation

", boolean.class).getSingleResult(); support Support This query always returns false in my case

@Column length is not working.

I am using objectdb 2.8.3, I have a Entity class with a column that is declared as  @Column(unique = true, nullable = false , length = 16)  but when i m trying to insert a string for that column with a string that has more than 16 character, not able to get any error or exception from

Problem with @UniqueConstraint

" }) }) public static final class CI { @Id @GeneratedValue long id; @Column (name = "NAME" , nullable = false

Join query problem with new statetment

;@Id     private long id;     @Column(nullable = false )  

Error occured during initialization of boot layer

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

Composite Index error 328

== null || getClass() != o.getClass()) return false ; UsrlistEntity that = (UsrlistEntity) o; return

@ElementCollection query returning extra result per element in collection

to a ' false ' condition, and extra entity is returned.  Any help is appreciated!   ObjectDB Version

newbie - lots of exeptions

_DataSync-ejb_jar] doneCalled = false Parent - org.glassfish.internal.api.DelegatingClassLoader

Issue with compile time enhancement

(Migrator.java:486) ... 6 more com.objectdb.jpa.Provider META-INF/orm.xml false paceap Joel Goldberger

disabling JDO in objectdb embedded mode

/applications/metamodel-ear-1.0-SNAPSHOT/lib/metamodel-ejb-1.0-SNAPSHOT.jar] doneCalled = false Parent

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

, but it seems to only be failing irregularly when only a single oid is present). I'm passing false in as the verification

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

Unable to delete the .odb file programatically

(); // getting false value for deleted boolean     } When i am calling pm.close

ObjectDB License Error I got

-view= false kadirbasol Kadir BASOL It is unclear from your post why the activation does not work

"Attempt to lock a non entity object" error

.currentTransaction().setRestoreValues( false ); To keep the entity objects managed but restore

Optimistic locking failure

] WRITE B2 version=2 value=30 A1 version=2 value=10, B2 version=2 value=30 Sequential= false Lock=WRITE

IN expression in a Criteria Query

Hello, I am trying to migrate my Spring project from Hibernate to ObjectDB. On ObjectDB page, it is written that ObjectDB is 100% compatible with JPA. However, I have problem with this JPQL query: SELECT e FROM Employee e WHERE e.present = false AND NOT EXISTS (SELECT c FROM Computer c WHERE c

OptimisticLockException

. what happens if locking version-check is set false ? are the changes from process B lost if process

Query only works correctly when debug printing results

; private String description; private String reqID; private boolean verified = false ; //Constructor

persistence.xml classes not respected by ObjectDB

, so specifying true, false or no value at all made no difference

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

)) return false ; CompoundKeyMapItemId other = (CompoundKeyMapItemId) o; return container.equals

ObectDb 2.3.6 in OSGi environment

= "SELECT rvn FROM RuleValueNode rvn where rvn.value.not = false and rvn.parent = :parent") }) public

database corrupt

. Using sync= false is faster but less safe (at least with some types of hardware), if objectdb is suddenly ... before starting to write to the database file. Although the default,  sync=" false

ObjectDB can't be activated

activation", boolean.class).getSingleResult()); Result is " false ". Also when trying to create ... .prepareDatabase(emf, "database"); Which results in the following output: false com.objectdb.o.UserException

NPE when doing a find()

I added a simple User entity during Tomcat startup: class User {  @Id @GeneratedValue private long id; @Basic(optional = false ) private String firstName; private String middleName; @Basic(optional = false ) private String lastName; } Everything works fine until I restart the server, which does

Calling List.removeIf makes object dirty even if nothing is removed

dirty: // Object state is: Nontransactional-Clean entity.removeIf(item - false ); // Object state ... .requireNonNull(filter);     boolean removed = false ;     final Iterator it = collection

Query Execution Error

// do return false ?? Alex quasado Alexander Adam This is the result of a change done today. Try 2.3.6_11. support Support

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

firstResult) { return findChartEntities( false , maxResults, firstResult); } private List

cannot delete objects after crash (see issue 2283)

Hans-Georg Zwicker You are using recovery in sync=" false " mode: In this mode, commit returns

NullPointerException using with "refresh" method

configuration. If it set to sync=" false " (default, for faster operation) you may want to try sync="true

Unexpected exception (Error 990) on find

    @Column(unique = true, nullable = false , length = 127)     private

ObjectDB 2.9.3

Fixed unstable  activation issues. Fixed  issue #2954  - using IS NULL (or == null) on parameters in queries. Fixed automatic schema update on renaming or moving an enum type. Fixed issue #2964  (critical) - concurrent update of large objects with version-check= false .

Doctor bug?

Benjamin Lorenz The database seems to be healthy and the reported errors are indeed false alarm