ObjectDB Database Search

151-200 of 200 results

How to use regular expressions in Criteria Builder

JPA criteria API (you can use LIKE, which is less powerful). ObjectDB supports regular ... the criterial API is not extendible. support Support Bummer. Is this  BIRT/ODA ObjectDB Driver  

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

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

Dirty checking

Hi, wondering if anyone knows the best way to detect which objects have been changed in the database. ie: which objects, and which collections of objects, have been dirtied. in the jdo api there is: void postDirty(InstanceLifecycleEvent event) http://www.objectdb.com/ api /java/jdo/listener

Problem Using Reflection

I'm currently working on developing my own API to use with ObjectDB and I'm running into the following problem.  Using the API I can insert data into an empty database without any issues; however, whenever I try to add new data to the database for a class that already has data stored, I

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb.equal(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o ... . Please try it. support Support As said, it still happens with criteria api and it is easy to replicate

Multiple inputs not supported on WHERE ?

- api -4.0.4.jar:4.0.4]     at org.springframework.web.servlet.FrameworkServlet.service ... .HttpServlet.service(HttpServlet.java:584) ~[jakarta.servlet- api -4.0.4.jar:4.0.4]     

PostUpdate on array changes

on JDO. Question: Is array tracking only available with the JDO api ? dmoshal David Moshal   ... .  Is array tracking only available with the JDO api ? Yes. Earlier you mentioned lists. Arrays

objectdb explorer in ver 2.2 and 1.0

Hi   In first step  I have evaluated JPA API now I'm testing JDO API and I'have spotted that object explorer has lower functionality than in ver 2.2 eg garbarage collector or xml import/export functions are missing, could You explain why?   br Tomasz Tomasz Tomasz Wozniak

Async query ObjectDb

1. Is it possible to run async objectDb queries for long time operations and stop them if it necessary? 2. Is it possible to stop sync ObjectDb query from another thread for long time operation for example getResultList()? Link to Java API : https://docs.oracle.com/javase/7/docs/ api /java/sql

JPA vs JDO - which is more efficient for OneToMany queries?

) is more efficient. But why do you compare JDO (a) with JPA (b). It doesn't matter which API you use. So in ... discusses which API should be preferred. support Support For JPA, how does one set automatic cascade

Failed to validate XML

' repositories { maven { url "http://m2.objectdb.com" } } dependencies { compile 'org.slf4j:slf4j- api :+' compile 'javax:javaee- api :+' testCompile 'junit:junit:+' testCompile 'com.objectdb:objectdb:+' }  

Using Scala collections with ObjectDB

of the scala.collection._   api for it to work ? (http://www.scala-lang.org/docu/files/collections- api /collections.html)   /Peter   lsPeter Peter You are right - Scala collections

Netbeans-Friendly Javadocs

Is there a .jar or URL that I can use to get javadocs that work within Netbeans code prediction popup boxes? I tried attaching the URL: https://www.objectdb.com/ api /java/jpa/EntityManager ... Manager or the Library Manager. ThreaT Ashton Hogan You can use the api -javadoc.zip file that is included

JDO support vs JPA

that ? 3. I found there is only API documentation for JDO and no manual at all as there is for JPA. Does ... databases with JPA and JDO concurrently. The use of API does not affect the database file format. support Support

Threading Problem (maybe with Criteria)

,p.m_udb) FROM PersonTest p WHERE m_age=50", AdvoluxUID.class); instead of Criteria API ... API . Please try build 2.5.2_02 that will hopefully fix this issue. Unfortunately we couldn't verify

migration path from JPA / Hibernate

to ObjectDB website) for exact details. Notice that the JPA 2 criteria query  API is now fully ... Hibernate API / extensions (e.g. Session instead of EntityManager , queries with HQL syntax instead of JPQL

ObjectDB without javax.persistence

for javax.persistence that only contains the Java Persistence API . So that the ObjectDB PersistenceProvider ... the Java EE tutorial, you use the ObjectDB with the JavaPersistence API as in the JavaSE Tuturial

Pessimistic Lock Timeouts setting

Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. However, there is a standardised query 'hint' that can be setup to make the underlying DB lock a record for a specific time. The hint property is: "javax.persistence.lock.timeout" I have a situation

NontransactionalWrite error using Collections.sort .

Hi, i started to use ObjectDB today and i'm having problem using command Collections.sort in persisted object.  Attempt to modify an object with no active transaction when NontransactionalWrite is disabled: br.ufpa.linc.MetriX. api .model.Interface#105 (error 635)   I don't want

Double persist of Entity field with Cascade.ALL

Class Library ( Book_dberror_Libs ). In Netbeans, I added the Java EE 6 API Library from Netbeans

Get database schema from objectDB file

I am a little bit confused about that Can someone explain what steps do I have to do in order to get the database schema in java given only the objectdb file? i.e. database.odb ezazop Akis Zazopoulos See the JPA Metamodel API . support Support

Missing (null) elements in eager loaded references

with the parallel stream but the steam api . If I change it to a normal stream or for each it works, as

package not found running ObjectDB under OSGi

doesn't provide an API for locating all the classes in a package. ObjectDB can still locate classes

Multi selection and distinct in a criteria query

hi, How can I realize multi selection with the criteria api concerning distinct? I.e. doing something like SELECT DISTINCT $1, $2 wouldn't work because I do only have something like criteria.multiselect(...) and nothing like builder.distinct(selection) so that I could do something like criteria

WebSphere Liberty Configuration

transaction - related tasks users must utilize a proprietary API known as ExtendedJTATransaction

Catching exceptions from online backup

accessible via some API or the  TypedQuery.getSingleResult() would accept a parameter of type

multiple different applications access one odb file

Hi, is it possible to access one odb file from different applications? What we would like to accomplish. We have one app (runs on Wildlfy server) and it uses xyz.odb DB file. The other two apps would be for API and BI, one would need to read data from the xyz.odb

Handling deleted references

). Since we have a REST based API one could also simply delete an existing instances which may be references

Replicated cluster recovery

it works fine. I had similar situation in JPA API but it was corrected: http://www.objectdb.com/database

Failed to enhance dynamic type

to generate dynamic type com.quasado.galaxy.foundation. api .language.LanguageContext I am curious

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

/java/apache-log4j-2.5-bin/log4j- api -2.5.jar:/usr/local/java/apache-log4j-2.5-bin/log4j-web-2.5.jar If I

Embedded and autosync

For a POC, we are considering using ObjectDB. The app is multi-threaded, multi-user, rest API service with UI. Let's say we want to deploy our app across 10 linux boxes and instead of each of these boxes connecting to a shared remote RDBMS we want them to each have an embedded ObjectDB

Bad Backups – Null Error when issuing simple query on backup via ObjectDB Explorer

I have attempted to access two different backups that were taken by ObjectDB’s internal backup API .  Upon attempting to access both of the databases via ODB Explorer (via server mode) I receive the below error and stack trace in the log.  Can you please help us determine the problem

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. 

Future JDO versions?

better API than JPA, as all kinds of features that are optional or require special extensions in

JSON serialization and __odbHidden members

Hi.. Building a REST API (Jersey-based one) I noticed that every object I serialize to JSON has a clone field with "__odbHidden" suffix, e.g.there's  "id" and "id__odbHidden" is also (unwantenly) present with the same value. In general, we can annotate fields to include/exclude them from JSON

UserException: Package com.example.model is not found by the enhancer

. The most user-friendly, environment-friendly option seems to be via the enhancement API

ObjectDB and JPA

JPA + its own old API + extensions. ObjectDB supports also JDO. But in the JPA context Hibernate

Optimistic lock failed

.objectdb.com/ api /java/jpa/exceptions support Support One more thing. You can disable optimistic locking

Access ClassTransformer

Hello, As in our OSGI Environment, we do need to manually weave classes. To be able to do so, we'd need access to the ClassTransformer from ObjectDB. However, there's only the global enhancer api which is not of any help. There's the JEhancerAgent which seems to implement a ClassTransformer as

Failed to synchronize replicated database

yet to the slaves (e.g. if the slave was down). support Support So there is not currently an API

Recommendation - concurrent access multiple class v

Hi! I've just started to architect a new system, stateless JSON API , which is expected to have very high load and to require more servers for parallel deployments (same app across multiple servers). I am considering using ObjectDB, because of its advantages and easy usage, but I'm afraid

ObjectDB 2.9.2

3.x. JDO updated to API version 3.2.1 ( API only, no new functionality). Note: JDO is not expected

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

. http://www.objectdb.com/ api /java/jpa/PersistenceUtil Does not seem to provide a method for testing ... for that entity object. I think that JPA doesn't provide an API for checking detachment but JDO does:  

Internal exception: NPE on criteria query with IN clause and empty collection

use JPA criteria query API , and I pass an empty collection to IN expression: CriteriaBuilder cb ... would really love to see support for static metamodel in ObjectDB implementation of both JPA criteria API

Bean Validation (JPA 2.0)

JPA 2 adds support for integration with the Bean Validation API . Constraints that are defined for entity and embeddable classes by using annotations can be checked automatically on PrePersist, PreUpdate and PreRemove JPA lifecycle events. Integration with the Validation API is not supported yet by

Integration with Java EE (JPA 1.0)

ObjectDB can be used in both Java EE and Java SE by using application managed EntityManager . Support of container managed EntityManager and integration with the JTA (Java Transaction API ) is not implemented yet. support Support Support for Java Transaction API (JTA) and running ObjectDB in Java

Multiple MEMBER OF query

the criteria API query? About your solution: As a quick solution, you may replace AND of MEMBER ... problem, can I avoid that using the criteria API query? It would not help because criteria queries

auto-generated uuid fields

/ api /java/jdo/annotations/IdGeneratorStrategy which lists the UUIDHEX and UUIDSTRING strategies

Better OSGI Compability

We are currently using objectdb using osgi. However, the objectdb jar seems to be very monolithic and should be more modular to make it easier to use it with osgi, samples are: - Remove SWING dependency from core objectdb bundle - Externalize persistence and jdo apis and not putting them into