ObjectDB Database Search

101-150 of 200 results

Enhancement API - NullPointerException

Hi! I am trying to use the Enhancement API from within my application like this: com.objectdb.Enhancer.enhance("my.package.Foo"); However, I get the following NullPointerException: [ObjectDB 2.7.1 ... above). I'm not sure what is happening, the class exists and trying the API with a non-existent class

JDO support vs JPA

Hi, I am about to update the JDO metadata in the package.jdo files after moving from ObjectDB 1 to 2. However I found that there is no complete description or guide how the XML metadata should look ... description of XML metadata for ObjectDB ver2 using JDO which I did not find? 2. Is the combined

Java 8 time API

Hi.   Is Java 8 new DateTime API supported natively or through Converters in the newest versions of objectdb? If not, can we expect this feature in the next releases?   Best regards and congratulations on this awesome database.  Amsterdam Amsterdam Luís de Lima Filho It is not

Softdelete api like hibernate

maybe recover back with api ? It wont be hard to implement these to objectdb core! best regards kadirbasol Kadir BASOL

Separate ODB files API

Customer asked during opened ObjectDb connection (ODB location A) to stop writing and continue to another ODB file (Location B). Does exist some API to achieve that? What is a possible solution? Harman Alexander Golyshkin You have to close the database in location A, copy it from location

Is there an API to get the current version of ObjectDB that's being used?

Is there an API to get the current version of ObjectDB that's being used? This would be very handy to have, because it is somewhat difficult to know what version of the ObjectDB you are currently using since the objectdb.jar filename remains the same for all versions (which is not a bad thing by

disabling JDO in objectdb embedded mode

/slf4j- api -1.6.4.jar, URLEntry : file:/usr/local/glassfish/glassfish/domains/dex/applications ... .0-SNAPSHOT/lib/javaee- api -6.0.jar, URLEntry : file:/usr/local/glassfish/glassfish/domains/dex ... - org.glassfish.internal. api .DelegatingClassLoader@43de6a4f AT Thu Jun 02 14:19:14 CEST 2016 BY :java

mapping file is not being loaded

with the Persistence api : EntityManagerFactory emf = Persistence.createEntitManagerFactory("project.odb"); //this set ... -classes to false. The Metamodel API still returns the empty set when 'getEntities()' is invoked ... the Metamodel API (storing objects, etc)? Does it work? support Support So I changed the persistence

Indexing a field results in internal Exception

have long been a fan of JDO as it's a hugely easer API and gets work done with a lot less metadata .  ... and a test will be needed. Regarding JPA/JDO, when using ObjectDB no need to use much metadata in either of them, so you can stay with JPA and just remove the ORM metadata when switching to ObjectDB

How to define Default Entity Listeners without persistence.xml and orm.xml

Mahmoud Defining default listeners is one of the few things that currently require XML metadata ... Is there a way using em.getDelegate() and then using objectdb api ? I would like to do specifics actions ... chapter 3 of the manual. You may also register listener using the JDO API , which is not documented but supported by ObjectDB. support Support

Class fields selection to store

In a class how do I define which are the fields to be stored? (using JDO API ) It's using persistence-modifier="persistent" ? If I have a class with 40 fields and I only want to store ... @NonPersistent  (starting JDO 2.1 you can use annotations instead of XML metadata ). support Support

Changing existing objects from Entity to Embedded

metadata files:                       ... try I changed only the metadata to this:               ... :82)   I thought that simply changing JDO metadata is not sufficient. Should it be sufficient

locks on pure query activities

(JpaQuery.java:719) - locked (a com.objectdb.jdo.PMImpl) at com.agile.hummingbird. API .handleQuery( API .java:3020) at com.agile.hummingbird. API .directRequest( API .java:852) at com.agile.hummingbird. API .handleWebSocketRequest( API .java:614) at com.agile.hummingbird.WebSocketServerListener.onWebSocketText

is JDO field attribute "indexed" supported?

I prefer to use the package.jdo XML metadata rather than annotations, but you don't ... that it corresponds to the XML element which is one way to specify indexes in XML metadata ... whether objectdb supports this? spiffy Jonathan Harley JDO XML metadata , although not documented in ObjectDB 2

Should I use ObjectDB and JDO?

.   It looks like JDO is the preferred API for me (because ObjectDB FAQs lead me to believe ... solution.  =)   Thanks! CBE CBE Hmm, I just found this link:  https://www.objectdb.com/ api ... API reference unique to ObjectDB, or is it an exact copy of some JDO 2.x API that I could find

Adding EntityListener Throws Unexpected Internal Exception

) at play. api .GlobalPlugin.onStart(GlobalSettings.scala:220) at play. api .Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91) at play. api .Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91) at scala.collection.immutable.List.foreach(List.scala:383) at play. api .Play

odb files and config file

and found it somewhere in my workspace metadata (eclipse plugins). What can I do to save the odb files in ... '/db/account.odb' viewId=/index.xhtml location=/Users/USER/workspace/. metadata /.plugins/org.eclipse

How to Use a SF with extended Persistence Context?

-servlet- api _3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet- api _3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core ... (HttpServlet.java:754) [jboss-servlet- api _3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http

UTF Error

.UIData.getValue(UIData.java:736) at org.primefaces.component. api .UIData.getDataModel(UIData.java:628) at javax.faces.component.UIData.getRowCount(UIData.java:347) at org.primefaces.component. api ... . api .UIData.getDataModel(UIData.java:628) at javax.faces.component.UIData.getRowCount(UIData.java:347

ObjectDB Enincompatible with Quarkus?

.junit.jupiter. api .extension.InvocationInterceptor.interceptTestClassConstructor(InvocationInterceptor ... (DefaultLauncher.java:75)     at org.gradle. api .internal.tasks.testing.junitplatform ... (JUnitPlatformTestClassProcessor.java:99)     at org.gradle. api .internal.tasks.testing.junitplatform

Error happened while running report.

finished,the problem occurred at preview result time. Like: org.eclipse.birt.report.engine. api .EngineException: Error happened while running the report. at org.eclipse.birt.report.engine. api .impl.DatasetPreviewTask.doRun(DatasetPreviewTask.java:330) at org.eclipse.birt.report.engine. api .impl

Great product - needs better marketing - more popularity

;are clear selling points. (JPA and JDO APIs versus an elegant proprietary API  is a negative ... , but expectations should remain realistic. Supporting the JPA and JDO APIs is an important selling ... investment that you make in a software that uses ObjectDB is secured by the standard API

How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?

. @Controller @RequestMapping("/ api ") public class APIController{     @Autowired   ... @RequestMapping("/ api ") public class APIController{ Try http://localhost:8080/Guestbook / api ... "Accept: application/json" http://localhost:8080/Guestbook/ api /user/siegfried -X GET HTTP/1.1 406 Not

JBoss 7 startup fails

.jboss.as.jpa] (MSC service thread 1-1) added javax.persistence. api dependency to Guestbook_ObjectDB_web ... .Persistence.createEntityManagerFactory(Persistence.java:69) [hibernate-jpa-2.0- api -1.0.1.Final.jar:1.0.1 ... -jpa-2.0- api -1.0.1.Final.jar:1.0.1.Final] at guest.GuestListener.contextInitialized(GuestListener

ArrayIndexOutOfBounds with Critera API and function call

Hello, This is getting really frustrating sorry but we're close before delivering our app to our customer and went against a show-stopper again. We're building a simple query with the criteria api ... ; } }; Create Selection Query (Critera- API ) from * TestEntity and add WHERE class

Strange Error with Criteria API and Sorting

the sorted results. However, running this with the criteria API produces this error: Caused by: com

jakarta.persistence.criteria.Path.get(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Path Path get (    String attributeName ) Create a path corresponding to the referenced attribute. Note: Applications using the string-based API may need to specify the type resulting from the Path.get operation in order

jakarta.persistence.EntityManagerFactory.unwrap(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory T unwrap (    Class cls ) Return an object of the specified type to allow access to a provider-specific API . If the provider implementation of EntityManagerFactory does not support the given type

jakarta.persistence.EntityManager.unwrap(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager T unwrap (    Class cls ) Return an object of the specified type to allow access to a provider-specific API . If the provider implementation of EntityManager does not support the given type, the PersistenceException

jakarta.persistence.EntityManager.createNativeQuery(String,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager Query createNativeQuery (    String sqlString ,    Class resultClass ) Create an instance of Query for executing a native SQL query. In the next release of this API , the return type of this method will change

jakarta.persistence.SqlResultSetMapping.name

Jakarta Persistence (JPA) Method in jakarta.persistence.SqlResultSetMapping String name The name given to the result set mapping, and used to refer to it in the methods of the Query and StoredProcedureQuery APIs . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Cache.unwrap(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.Cache T unwrap (    Class cls ) Return an object of the specified type to allow access to the provider-specific API . If the provider's implementation of the Cache interface does not support the specified class

jakarta.persistence.Query.unwrap(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.Query T unwrap (    Class cls ) Return an object of the specified type to allow access to a provider-specific API . If the provider implementation of Query does not support the given type, the PersistenceException is thrown

jakarta.persistence.criteria.CriteriaQuery.select(Selection)

API may need to specify the type of the select item when it results from a get or join operation

SelfTest and com.objectdb.Doctor

. This technique is currently in use internally by ObjectDB tests. Not ideal (and obviously dedicated API ... ; may we hope for an Api in some future release ? best regards Arne Arne Arne Stocker An API may be added. There is a plan to support running the Doctor online (against an open database) using an API

Issue with TYPE expression in Criteria API

Issue with TYPE expression in Criteria API

criteria api / embedded objects / where order

criteria api / embedded objects / where order

Query fails with failed to read

.hummingbird.CT_Container.computeContainer(CT_Container.java:214) com.agile.hummingbird. API .handleGetContainer( API .java:3130) com.agile.hummingbird. API .directRequest( API .java:965) com.agile.hummingbird. API .handleWebSocketRequest( API .java:808) com.agile.hummingbird.WebSocketServerListener

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

;      at org.hibernate.validator. metadata .MetaConstraint. (MetaConstraint.java:75)         at org.hibernate.validator. metadata ... ; at org.hibernate.validator. metadata .BeanMetaDataImpl.initMethodConstraints(BeanMetaDataImpl.java:376

Exception makes the system unusable for several minutes

.endAction(AC_Action.java:878) at com.agile.hummingbird. API .executeEndAction( API .java:1874) at com.agile.hummingbird. API .handleAction( API .java:1614) at com.agile.hummingbird. API .directRequest( API .java:1089) at com.agile.hummingbird. API .handleWebSocketRequest( API .java:890) at com.agile.hummingbird

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls ... ) at com.fitbird.boundary. api .util.PlanAccessVerifier. (PlanAccessVerifier.java:40) at com.fitbird.boundary

Out of Memory - Slow leak?

is actually 2 databases to seperate metadata used for searching and the data itself. So in total ... is reperesented by 2 databases under the covers - one for small metadata objects which are used ... which can be anything from 1k to 10mb. We've proved the benefits of keeping the metadata & data separate in past

Query Execution Error

.vereinsverwaltung.abrechnung. api .model.mitglied.MitgliedDebitorenKontoFragment) $1.qubletFRAGMENTMAP.get('com.lexware.vereinsverwaltung.abrechnung. api .model.mitglied.MitgliedDebitorenKontoFragment')).debitor=true)) AND ((((com.lexware.vereinsverwaltung.abrechnung. api .model.mitglied

Errors in log to repprt

.hummingbird. API .executeEndAction( API .java:1718) at com.agile.hummingbird. API .handleAction( API .java:1480) at com.agile.hummingbird. API .directRequest( API .java:1001) at com.agile.hummingbird. API .handleWebSocketRequest( API .java:836) at com.agile.hummingbird.WebSocketServerListener.onWebSocketText

again merger missing logs + objectdb exception

.hummingbird. API .handleGetContainer( API .java:2745) at com.agile.hummingbird. API .directRequest( API .java:802) at com.agile.hummingbird. API .handleWebSocketRequest( API .java:630) at com.agile.hummingbird ... .java:163) at com.agile.hummingbird. API .handleGetContainer( API .java:2745) at com.agile.hummingbird. API

ObjectDB BIRT Driver Update

output here.  I confirmed that the directory C:\Users\kwhittin\new_workspace_birt\. metadata ... _birt\. metadata \.plugins\org.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb\db\META-INF ... \new_workspace_birt\. metadata \.plugins\org.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb\db

missing merger

.hummingbirdcore. API .executeEndAction( API .java:3017)     at com.agile.hummingbirdcore. API .handleAction( API .java:2533)     at com.agile.hummingbirdcore. API .handleActionBulk( API .java:2133)     at com.agile.hummingbirdcore. API .directRequest( API .java:1695)   

retrieval again and again started

.agile.hummingbirdcore. API .executeErrorAction( API .java:2940)     at com.agile.hummingbirdcore. API .handleAction( API .java:2418)     at com.agile.hummingbirdcore. API .directRequest( API .java:1621)     at com.agile.hummingbirdcore. API .handleWebSocketRequest( API

JPA Metamodel (JPA 2.0)

The JPA Metamodel API enables examining the classes, fields and properties of the persistent object model, similarly to the Java reflection API . The JPA Metamodel API has a major role in defining queries using the JPA Criteria API . support Support Implementation of the JPA Metamodel API was just

Different behavior for casting and not casting

.qubletFRAGMENTMAP.get('com.lexware.vereinsverwaltung.abrechnung. api .model.mitglied ... WHERE ((com.quasado.foundation.warehouse. api .model.inventory.contact.AbstractContactContractsFragment)$1.qubletFRAGMENTMAP.get('com.lexware.vereinsverwaltung.abrechnung. api .model.mitglied