ObjectDB Database Search

101-150 of 178 results

Does ObjectDB create one instance of each entity class on (web app) load ?

and inspect each instance, each one has a GC root with a  path (from the instance) like : this r : UTY _b

Problem with queries on lists with reverse mapping

= query7.getResultList(); assertEquals(1, q7results.size()); It looks like the result is not filtered

Installing a VM security fix leads to inactive DB

! Kevin Kevin Pfaff Only changing MAC addresses should  require re-activation, so it is likely

Missing Data on Retrieval (0, null values)

am very impressed from your great help for such an (un)devoloper   like me! Best regards, Harald

Selecting random rows

Hello is there way to get random rows? Functions like rand(), random(), newid() doesn't work ;/ for example: em.createQuery("SELECT s FROM StawkaVat s ORDER BY rand()").setMaxResults(5).getResultList(); gives exception: Exception in thread "AWT-EventQueue-0" [ObjectDB 2.5.6_02] SELECT s FROM StawkaVat s == rand

Incremental online backup

. support Support Isn't the Transaction Replayer more like the opposite of this? The Transaction Replayer

Error with org.springframework.data.jpa.domain.AbstractPersistable

I am working on a Spring Boot application. I want to integrate ObjectDB with Spring Data JPA. I refer to the http://www.objectdb.com/database/forum/860 to do the configuration. When I start up my application, I got below error. It seems like ObjectDB does not support a generic @ID in the super

app.jelastic.eapps.com and objectdb

that in embedded mode using ObjectDB is like using any Java library (i.e. adding a JAR file

Exception on creation when running multithreaded

an improved fix. support Support Looks like this version works. Thanks, Eitan eitane Eitan Eibschutz

Join query problem with new statetment

;InspirationsPerSupplierResult is defined like this: public class InspirationsPerSupplierResult implements

Will ObjectDB support .Net and EntityFramework?

Hi, I'm porting an application POC from Java to C# with Entity Framework for data access. I was proving ObjectDB in the Java POC and i would like to keep ObjectDB datastore for C# POC. Are there some ObjectDB's version or support for C# and Entity Framework? Thanks!   Cthulhu Cthulhu Juan

Database corrupted after schema change

via the toString() method). The DB Doctor finds then errors like this in the file: ObjectDB Doctor [version

Performance in SELECT statement

) Example query looks like : String strSelect = "SELECT e FROM TestEntity WHERE e.state.entityState IN

How do handle fields with java.net.URI class

We are migrating an existing application to use ObjectDB as primary database. In this case it's necessary to be backward compatible and a change of class definitions isn't possible. So we have some fields like this: URI id; Set ids; These fields are very important for querying and we need an index

Memory leak

2.5.4_05, which includes a workaround that may solve this issue. support Support It looks like

Error reading UTF string

Good day, I have many errors like this, when try to use java.util.UUID as string in querys. 16:18:41,862 ERROR [org.jboss.ejb3.invocation] (http-0.0.0.0-0.0.0.0-8080-5) JBAS014134: EJB Invocation failed on component AuthenticationBean for method public abstract java.util.UUID granat.dp.ejb

selecting objects that have a particular key/value in persistant HashMap

create a JPA query that selects such objects?  Something like the following (but clearly does not

ObjectDB within a resource adapter module and Java EE Connector Architecture

you linked to look like good candidates for my current modular project structure

JRebel integration feature

Feature request: Dynamic class enhancement during development compatible with JRebel. dmoshal David Moshal ObjectDB 2 supports dynamic enhancement using a Java Agent. Please try it and see if it is compatible with JRebel. support Support I would like to support this ambitious feature request. I

Online Backup in client-server mode

until the next API change. Other solutions ( like adding a special prefix for absolute paths) are not

Why can't we persist an object with a field of type EnumMap in ObjectDB?

Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB? but it works fine for fields like = HashMap Thanks EKK EKK Emmanuel Keskes You can persist any Serializable type if you enable this ability in the configuration. But using this feature is not recommended

virtual servers and one file

Sorry for the late reply. First of all, I would like to thank you for your troubleshooting efforts

Error occured during initialization of boot layer

exports package javax.transaction.xa to objectdb   My entity class looks like this: package

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 MyEntity me where me.properties[42]=true Is it possible? Thank you! haromlabu Bela Haromlabu

Composite Index error 328

;   On the second class.I try to use this entity like shown below;   @Override public Triplet

Optimization Question

suggestions? P.S. Really like the new website design, good work! carr.onstott Carr Onstott I am afraid

New to Product & Having An Issue

(foreign.getObjectId())); } return false; } } I then setup a JUnit test case, like this: package test

newbie - lots of exeptions

(ASURLClassLoader.java:179) and our persistence.xml file looks like com.objectdb.jpa.Provider com.prohire

Possible issue with timestamps

Hi, If I query doing something like : select c from CDI c where c.creationDate {ts '2012-03-29 11:00:00} and c.creationDate :startDate and c.creationDate {ts '2012-03-29 00:00:00'} and c.creationDate :startdate and c.creationDate :startdate and c.creationDate {ts '2012-03-29 00:00:00'} and c

Evaluating ObjectDB for SaaS Application

We are currently evaluating objectdb for our SaaS(multi-tenant) product. It is a data intensive health care product . We would like to know the horizontal scalability options available. arunjoy Arun Joy Horizontal scalability may be achieved by using replication . support Support Thanks

Database(*.odb) file size on disk

; We have created a small test, in which we create and delete entities. It looks like that the released memory

Is it possible to using JDO and distributed transaction?

I'am new to study JDO. Can and How I use JDO an distributed transaction?(multiple database)。 Is ObjectDB also provided JCA util just like DataNucleus? Reference:     Spring Framework Reference Documentation       JCA, JTA, and JDO Transactions - Using

Database Files

.apply(em) will do stuff like persist, delete, etc.  I only have 1 instance of emf.   

Change Sequcene Id

could I change sequcence id ? allocating small value may not be effect. or something other ways ? javax.jdo.datastore.Sequence seq = em.unwrap(javax.jdo.PersistenceManager.class).getSequence("MyEntity$identity"); long currentValue = seq.currentValue(); // I would like to change currentValue

Is there any GUI for creating/editing entity?

for creating/editing entity and JPA/JDO things. I'm expecting the one like MySQL Workbench. 

About LIMIT and OFFSET as query tokens

Hi,   I would like to know why the query tokens OFFSET AND LIMIT are not available and if they will be in a near future. Is there any equivalent way to get, from the database, the object at given position i as well as a given number of objects that follow such object? Thanks you in advance

Thanks for assistance

condescending answers to beginners like "why don't you read a book first", "you should take a course

Getting Foreign Key

How to get Foreign key using  org.eclipse.persistence.queries.WriteObjectQuery class ..? please help me by using this class only..why means i am implementing audit log concept in my application, so i have forms like header level and line level forms. so when i am updating line level i

disabling JDO in objectdb embedded mode

. The trace in #1 is the best I can show to explain the problem. (I can also add a log file if you like

DB Doctor sets type to "unknown" for new fields

like the following fail to change the value from null to false: UPDATE RecordingMetaData AS r SET r

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

works. webel Dr Darren Kelly It seems like a class loading conflict. This will be solved in future

Why does ObjectDB duplicate classes from javax.jdo:jdo-api?

packages and classes that clash with the JDO API's JAR? If a project uses JPA and JDO, it is most likely

InternalException caused by OOM: Metaspace

Our java server app using objectDB threw this mistake. Looks like due to OutOfMemory exception, but the app was running with -Xmx12G and before the mistake there was used 1,6G from that heap. Although Metaspace can happen independently on the heap usage I believe. Stacktrace follows: [ObjectDB 2.5

UPDATE statemen crash when i put the WHERE clause.

Hello, i have a problem with a UPDATE statement. When i run the code without WHERE clause the cod is executed, but when i attach the WHERE the program stop there. The code looks like this. EntityManager em = emf.createEntityManager() ; em.getTransaction().begin() ; EntityManager updateEm = emf

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

to something like getOdbHidden can solve the problem. Please try build 2.2.6_01 that tries exactly

Enum fields are set to null and embeddable enum class does not show in explorer

?* * it worked like this before! itsme Martin Petzold Thank you for this test case. After investigation

query returns failed to read from database file

we have since today exceptions on executing some queries like this: Failed to read from file 'F:\Hummingbird\Objectdb\db\coreSystemDb.odb' we are using objectdb 2.7.2_05 in the objectdb log there is no message       hgzwicker Hans-Georg Zwicker it seams that this is only happening

ArrayIndexOutOfBoundException

of running. We would like to avoid using synchronized="true" due to performance reason. I am going to run

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

then our application gets into trouble. So we need a solution for this serious issue. We would like

Memory leak in com.objectdb.o.CST

posted earlier. It seems like if I do several heavy queries I ObjectDB can crash.  How do I avoid