ObjectDB Database Search

101-150 of 200 results

Project runs in Eclipse but not when exported to runnable jar

running the system through eclipse. The full retrieval is not yet implemented, I concentrated ... windows is displayed. Other exceptions are thrown later because the odb file is not found and a new empty one is created (accessing a database file that is embedded in a jar file is not supported by

persistence.xml classes not respected by ObjectDB

. Otherwise I can't do it. What is it to be done? zmirc Mircea Chirac will not delete classes ... project. So, the bottom line is that ODB seems to do not respect the restriction when a fresh DB ... . There must be something else that made the change in your application. But we see now that actually this is not the right behavior, only 

java.sql.Date equals comparison not working with CriteriaAPI

: We can currently not update the ODB version as this is a production system. Note also that doing ... . However, since you will not be able to use a new build, try as a workaround to replace the date ... is irrelevant. As can seen above in the query's toString ( not shown in version 2.4.5) , the date

java.sql.Timestamp.getTime() not working

Player p fails with object is not an instance of declaring class or java.lang.ClassCastException ... = AppCore.getTime(); ... } Is there some other way to compare two Timestamps within ObjectDB not ... is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method

BTree 8 is not found at com.objectdb.o.JPE.d(JPE.java:91)

._RollbackException: Failed to commit transaction: Unexpected database state: BTree 8 is not found at com ... .transact(database.kt:64) at server.test.ChangeListenerTest.Should not publish same object ... .UserException: Unexpected database state: BTree 8 is not found at com.objectdb.o._PersistenceException

@Column length is not working.

for that column with a string that has more than 16 character, not able to get any error or exception from ObjectDB. It should give an error for exceeding the limit. But dose not throwing any error or exception ... If by expensive you mean slow then it is not that expensive. You can use external validation libraries, but they will not be faster. support Support

Slave server not getting deletes

, then delete it, then re-insert it again, the slave server will give this error because the record did not ... This is an interesting report. Have you tried a normal remove. i.e. not using a delete query? Update ... again. Trianglehead Json Error This might not be related to replication but to cache in general

ODB-WeakRefPurger threads not closing at all

thread for every DB Connection (using JDO and PersistenceManager) and not closing any of it. I've counted ... operation is slow, it may indicate that this timeout may not be sufficient. support Support I am closing only PersistenceManager instances, not the PersistenceManagerFactory instances. Should I

URGENCY, or in query does not report any objects on first operand having no results

this query does not return any objects even there are lot of objects to return for the second ... is not working at all the query plan is: Query plan 1/2 description ... ? support Support it does not happen with 2.7 (it was working for years) 2.8.9 not checked

Running ObjectDB on a node that does not have internet connectivity

Upon initializing our ObjectDB database on a node that does not have a connection to the outside ... a package.jdo file) has failed. You are probably using an old beta version, in which the dtd file is not ... do not match the local dtd. Try to set the headers of all your package.jdo files to: support Support

substring works with string but not with char

, the query does not return anything. i think it should also be possible to use char/Character types, do you agree? chris Christoph Ernst I am not sure that this comparison is valid, since the type ... ) is Character . In ObjectDB as in Java char is comparable to int but not to String. Maybe an exception

Items in list are doubled, when the entity class is not enhanced

are not enhanced, added items are doubled. Here is an example: @Entity public class Customer ... and this will be further explored (in addition to the difference between using enhancement or not and the new info in your #2 ... _03 and was changed in order to fix orphan removal). If Customer is not dirty - it doesn't cascade

enhanced object .. NOT enhanced

it I got an error that this class has not been ehanced (what is important, this class ... to persitst it I got an error that this class has not been ehanced Please provide full error message ... is triggered. Using serialization is not the result of no enhancement but of a missing @Entity

Drop in Client/server mode not working

is not connected to the database. ie: If explorer is connected to a c/s database then it is not ... only for a database that is currently not open and in use. The Explorer is like any other database

Source not found error after downloading ObjectDB 2.3.7_04

= pmf.getPersistenceManager(); I am getting an error Source attachment does not contain source ... time. I provided the zip file mentioned above. But them it throws an error that source not found.  Basically the PMF.class is compiled from PMF.java and in the source file I am not able to find

failure to enforce NOT NULL for java.lang.String

.EXCEPTION) are not enforced in 2.3.7_08 or that i have failed to understand how to annotate. example ... ) { this.username = username; }     } } NOT NULL constraints worked well for relationships but not for basic reference types such as String . Build 2.3.7_14 fixes this issue. support

Entity Type is not found (error 301) in Query

This could happen if the entity class is not in the database yet (no instances of that class have been persisted yet), and a persistence unit is not defined. If this seems to be the cause, either define ... this files was created, but not for ObjectDB. with best regards Peter pezifromvienna Peter Sauer

JPA-Query does not lead to any result

that works without a problem, but in case of this database that query does not have any results. Can anyome ... are two databases, one where the query has a result and one where the query does not has any results. skolb Sebastian Kolb The query is executed using an index on field userName . In not -working.odb

Objectdb ignores not null annotations

I'd like to mark field of an entity not nullable so that when developer tries to persist ... which is not JPA, anyway I've tried :) Please specify valid way to mark a field (might be of another Entity type or primitive) not nullable... Regards vachagan Vachagan Please see the answer in this forum thread . support Support

Field not persisted in abstract class with two level of nesting

Hi, I have a field (embedded TZ1) which is not persisted in class MHD1 (TZ1  extends AS ... . That subclass cannot access your abstract class because it is not public . Adding public to the definition ... , but starting build 2.5.6_02 it will not be generated for non public abstract class, so your test

Bug with unique constraint exception not resulting in transaction roll back

would expect ObjectDB to roll back the transaction and not persist anything.  ... by the application server and not be the application, sometimes it is difficult ... is where the persistence is happening, and so I think the transaction should not be committed no matter

makeTransient() not working on Embedded class

._JdoUserException: Type quant.phdsc_new.placement_builder.data.Project is not defined as an entity (@Entity ... am using JDO and PMImpl. Should I not call the makeTransient() on an @EmbeddedOnly object ... objects are not managed by their own and cannot change state from managed to transient. support Support

Metamodel Attribute NOT EQUALS to same Attribute in a different EntityManager

Attribute from Metamodel initialized on @PostConstruct event IS NOT EQUALS of the same Attribute ... am testing one application over Spring Web MVC and I can not post one Simple Test Case. The problem ... and the other on a @Controller @RequestMapping event, they return not equals Attributes using

Complex Schema Upgrade not working

? quasado Alexander Adam The configuration XML is not synchronized with the example (in package names), but this is probably only in this post and not in your application. The ObjectDB schema evolution ... is managed automatically and should not be specified in the configuration. If you have instances

Activation license not picked up in Jenkins

Hi, trying to understand why the activation license is not being picked up. We have tests ... containers. For some reason, Jenkins (which runs as docker-in-docker) is not recognizing the activation ... it, ObjectDB license activation uses a MAC address. (Given that any machine might have several, it's not

Visibility of changes in Transaction is not visible to a JPA QL Query

.6b24 on Windows Server 2008 SP2 32bit. I have not added any objectdb jars  in any other location ... which only show the values for all entities if the Query is in AUTO mode? No. Changes during transaction are not

To open source, or not to open source

are not been backported to stable releases, but only put into bleeding edge branches.   Therefore we do the bugfix backporting ourself. This would not have be possible if db4o was close source. 

embedded objects marked final not persisted.

Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should the case. Is this a bug?     dmoshal David Moshal Final fields are treated as transient regardless of their type. If you mean that declaring the embeddable class as transient causes

Recovery file does not match db file

'/auctionologies/java/storage.odb$' does not match db file '/auctionologies/java/storage.odb' (error 145 ... data loss. not currently able to upgrade to the latest version, but will do so in the next release. Dave dmoshal David Moshal

Using Enum type in NamedQuery: Field is not found in type

.UserException: Field 'Type' is not found in type 'com.my.fully.qualified.name.Obj' I have noticed that my entities seem not to be getting picked up as entities until they are first persisted - Hibernate

Level 2 cache not hit in @ManyToOne

and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field ... results in the query execution round trip. However, in that case, if not all the results are cached

The project does not contain a persistence unit

How do I fix this error/warning that Netbeans gives me regarding no persistence unit?   ThreaT Ashton Hogan ObjectDB itself does not require a persistence unit, but NetBeans produces ... Ashton Hogan Maybe the META-INF directory is not in the right place. See the Java EE / JPA / Netbeans

CriteriaBuilder createCriteriaUpdate are not executing

Regards all!! CriteriaBuilder createCriteriaUpdate are not executing. CriteriaUpdate criteriaUpdate = cb.createCriteriaUpdate(Order.class);   java.lang.UnsupportedOperationException at com ... that is not implemented yet in ObjectDB. support Support Thank you! I'll be anxiously waiting for this news. flavioreboucassantos Flávio Rebouças Santos

composite index not used in query

and a.startDate ?1)) the composite index is not used, query plan:  Step 1: Process Action ... (remark: the order of the arguments in the query does not make any difference) ? hgzwicker Hans

http://www.objectdb.com/eclipse address not found

Hi In Installing the ObjectDB Data Source Driver section, site url: https://www.objectdb.com/eclipse is not working, is there any other solution to add objectDb inside eclipse. and create ... like..  could not find  http://www.objectdb.com/eclipse. Screen shoot of that 

Fields in objects not populated in query result.

and reflection mode but mixing modes is not supported and if some classes in the hierarchy are enhanced and some are not this could happen. Note also that null values are expected when viewing

EntityTransaction.commit() does not release a pessimistic lock

It appears that EntityTransaction.commit() does not release a pessimistic lock - test code below. I tried it in with the current (2.7.6_01) and older versions (2.6.9, 2.5.7, 2.4.7) with the same ... . You are right. Pessimistic locks are not released automatically (by default) on transaction commit. The reason

Method not found on...

") It returns the error: Method 'hasAlias' is not found in type 'Language' Ieodaq Daniele Lotti I found out this error too: Method 'containsAll' is not found in type 'java.util.List' if I

javax.jdo.JDONullIdentityException: The identity must not be null.

, yielding in not merging athene.odb and athene.odb$. A bug in objectdb?    bjjl@ps2:~$ ls ... must not be null.         at javax.jdo.identity.SingleFieldIdentity ... #2 reflects a locked database file (due to a failure during close) and not a corrupted database

Error in production. Failed to commit transaction: Unexpected database state: BTree -152 is not found

.Read .doGet (115 ): Failed to commit transaction: Unexpected database state: BTree -152 is not found ... database state: BTree -152 is not found (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:302 ... .PersistenceException: com.objectdb.o.UserException: Unexpected database state: BTree -152 is not found

Enhancer option -s works not as expected

. This we did not expected. btc_es BTC EmbeddedSystems This is not a bug, but maybe a feature request ... .g. ... com.objectdb.Enhancer -noaware -s c:\my-project\bin\*.class but should not use to cover sub ... enough, it seems that investing time now in other options would not be justified. support Support

Unexpected exception during query, if entity is not enhanced

Hello, the entity TCVector is not enhanced and the enhancement check in the objectdb.conf ... We found the reason for the issue. The TCVector is really not enhanced and is created ... structure in our main database where the TCVector is not needed. Then the enhancement check threw

Enhancing a class causes it to not save changes.

that have not existed for ages.  In enhancement mode, there are no exceptions. I can't figure out how ObjectDB is holding on to the old classes, as they have not existed for  months.  ... as I can tell, it's not causing any problems,   so feel free to tell me to take a hike

Table view does not work for queries

This shows that table view does not work for queries     Trianglehead Json Error The attached database seems to be empty. support Support Here it is.  Not sure why that was empty ... did not replace the jar files in my production game server though. 

Can not have unique index on Byte Array

an index that does not allow duplicate keys. An index on a collection or array (including byte ... also that an index on a collection or array will not be useful in queries that compare the entire array or collection ... 'a'? Thanks. eko EKO FAJAR Strings are not considered as collections or arrays but as values. support Support

DB persist operation results are not available for another Thread/EntityManager immdiately

a query. But there are not any results available. We debugged the problem. Thread B executes the query and prints the results to the console, but there are not results. After that the thread stops ... operations then the problem does not happen. Can you imagine or explain this timing problem? btc_es BTC

Application not starting after enhancement

: java.lang.AbstractMethodError: Receiver class org.test.app.base.models.Data does not define or ... an entity class but not its super entity class (or mapped superclass) you may get error messages like ... my error, I thought that the .* also included sub directories but it does not . If i use -s instead of -cp everything works. Thanks! Kevin Kevin Pfaff

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

._PersistenceException: Type User is not found at com.objectdb.o._PersistenceException.b(_PersistenceException.java ... (EJBLocalObjectInvocationHandler.java:214) ... 75 more Caused by: com.objectdb.o.TEX: Type User is not

Cascade.ALL with LAZY fetchtype does not clean up all references on remove

Hello, I have a tree of entity classes that reference others using Cascade.ALL in combination with FetchType.LAZY. If I now delete a root entity using EntityManager.remove all leaf nodes will not ... so that these new leafes will not be deleted. I created a small test case which can be downloaded at 

Sometimes cascade persist does not work during commit

Hello, sometimes our test suite runs into an unexpected behavior. The test suite persists an entity A, afterwards not persisted entities B are added to entity A. At the end a commit is executed ... work correctly, so that entities B are not persisted. Unfortunately we cannot reproduce this bug in