ObjectDB Database Search
101-150 of 200 resultsActivation code is invalid, if restart OS Ubuntu 22.04 I created an activation code and the database works fine. After restart of the computer I ... How the activation code is binded at the computer? The mac adress? There are three mac adresses ... be a problem? btc_es BTC EmbeddedSystems How the activation code is binded at the computer | |
Hitting Evaluation Limit After Code Rollback In error, we deployed code to production that was compiled on a machine without a valid license key. We have since rolled the code back, however our other production servers that access the same database files (that were touched by the unsigned code ) are still encountering | |
Get activation code for a server with no Internet connection. How do we get the activation code ? Dmitry Zakharov uncol Dmitry Zakharov Run activation on that server. It does not ... that you can open on another computer that is connected to the Internet, in order to retrieve the activation code . Add the activation code that is received on that url to the ObjectDB configuration file of the server. support Support | |
setting activation code in persistence.xml or env file or system properties Wondering if it's possible to add the activation code either: - in persistence.xml - or in a .env file - or system properties dmoshal David Moshal These options are not supported. However, you can embed the configuration file with the activation code as a resource, e.g. by replacing the objectdb | |
The drop code word does not work?The drop code word does not work? | |
2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"; (ObjectDB log file attached.) If I revert to ObjectDB 2 .7.3, then no more exception. (No other code ... ObjectDB 2 .7.3_03 gives my application a "com.objectdb.o.UserException: Attempt to modify ... image that shows the error is attached.) CBE CBE This is probably caused by a change in version 2 .7 | |
OutofMemory error with Object DB 2.0 Hi, I am getting the below OutOfMemoryError after I have migrated from objectdb 1.0 to 2 .0 The application works fine with only 256MB heap size with objectdb 1.0 But on 2 .0 even with max heap ... PersistentManager is used to begin the transaction. With objectdb 2 .x do we need to close the  | |
Reading 1.x odb files in ObjectDB 2.x without upgrading db odb file from version 1.x to 2 .x, user is unable to open the odb files in the application which is having object db 1.x installed. Is there any way to read odb files from 1.x in object db 2 .x ... binitbhaskar Binit Bhaskar Old ObjectDB 1.x databases cannot be opened directly by ObjectDB 2 .x | |
objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation objectdb- 2 .6.9_02 (with "objectdb.temp.no-enhancement-crc-check" system property ... there are now obsolete): - Issue #1924 - ObjectDB- 2 .6.9: Failed to commit transaction: Failed ... the system, just for Expert System cases). To make things simpler, this posting will examine only these 2 cases | |
Source not found error after downloading ObjectDB 2.3.7_04 Code snippet: Properties prop = new Properties(); prop.setProperty("javax.jdo ... for File PMF.class. I had added the zip file jdo_ 2 . 2 .zip as source. Please help need to complete assg in 2 days Pallavi pallavi You have to provide more details. What kind of error is it? Compilation | |
Upgrade to 2.4.1_01 Hi, We tried to upgrade from 2 .3.7_18 to 2 .4.1_01 to pickup some fixes. We discovered that our code no longer works when using 2 .4.1_01. We did some probing and found one thing. I have attached ... our code for 2 .3.7_18, we had @OneToOne(cascade=CascadeType.ALL, fetch=FetchType.EAGER | |
Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x seconds in object db 2 .x I have build the query using the follwoing Query query = persistanceManager ... objectdb explorer binitbhaskar Binit Bhaskar ObjectDB 2 .x is usually faster than ObjectDB 1.x, so it should be possible to get at least similar performance for this query with ObjectDB 2 .x. Maybe | |
objectdb:2.8.4 - Error occurred during initialization of boot layer with exit code 1 Is used below JAVA command "C:\Program Files\Java\Oracle Open JDKs\jdk9\bin\java.exe" -ea ... _UPDATE_JDK9\JavaApps\CommonThirdParty\mockito\objenesis- 2 .1.jar;D:\Projects\Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6_0_JAVA_UPDATE_JDK9\JavaApps\CommonThirdParty\mockito\cglib-nodep- 2 . 2 .jar | |
ID format in objectdb 2.x for JDOHelper.getObjectId Hi, I am trying to upgrade the objectdb from 1.x to 2 .x. I installed and configured as per object ... (logTestRunImpl) used to return suppose 1 obj.toString() = 1 but the same code when i am trying to execute for the same object in object db 2 .x, i am getting Object obj = JDOHelper.getObjectId(logTestRunImpl) obj | |
Explorer in 2.3. Then allow import of that file into another database. 2 . Lazy loading of data, especially in table view ... evaluation. For me, #1, # 2 and #3 would be the most important. Also, I've found some small bugs: 1 ... 'recent connections'. 2 . When editing a field in an @Embedded object, I get an error message | |
Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity a non-static logging variable holder can be used in an @Entity. ObjectDB 2 .6.3_04 Apache Log4j2 - 2 .5 Mac OS X   ... LoggerWrapper using the technique described under the Log4j2 manual: Generating Source Code for a Custom | |
Embedded in JDO metadata not working in objectDB 2.x ? are embedded too. I did not change the metadata when I was moving from ObjectDB 1 to 2 , I only adjusted the neccessary code to access the database (JDOConnection, etc.) and converted the DB ... . Is the enormous increase of database file size caused by the number of not-embedded objects in ObjectDB 2 opposed | |
null pointer exception in objectdb-2.4.4_06 I have the following stack trace. Is this a null ptr in our code or in the object db code ? Failed to commit transaction: (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279 ... to persist (indirectly via cascading) an object with a null primary key. Build 2 .4.4_17 may provide a better error message in this case. support Support | |
Unique contraint with 2 members? Thanks, Carl FastModel Ben Schreiber Just tried the following test code and got a "Unique | |
Will ObjectDB support JPA 2.1 CriteriaDelete? Code like this: CriteriaBuilder cb = getEntityManager().getCriteriaBuilder(); CriteriaDelete criteriaDelete = cb.createCriteriaDelete(entityClass); Throws: java.lang.UnsupportedOperationException at com.objectdb.jpa.criteria.CriteriaBuilderImpl.createCriteriaDelete(CriteriaBuilderImpl.java:1508 | |
Query fails with numerical values > 2^31 Hi ! I'm trying to execute the following query (from Java- code , also tried ObjectDB Explorer) delete from DataRecord p where p.TimeOfDeletion == 1410521635503 | |
Help: After upgrading from 2.2.8_02 to 2.2.8_04, can't perform LIKE query Hi, AFter the upgrade from 2 . 2 .8_02 (not sure if it was build 03/04 as I skipped 03 ... =false) OR ($1.conditionThree=false)))) Exception in thread "main" [ObjectDB 2 . 2 .8_04] Unexpected ... The criteria query AND/OR fix in 2 . 2 .8_04 caused this new problem. Please try build 2 . 2 .8_05 | |
Glassfish 3.1.2.1 and ObjectDB 2.4.3 - The requested resource () is not available. I tried it on Glassfish server 3.1. 2 and 3.1. 2 . 2 . Sometimes I ... INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3.1. 2 (build 23) INFO: Grizzly ... : Created HTTP listener [http-listener- 2 ] on host/port [0.0.0.0:8181] INFO: WEB0169: Created HTTP | |
javax.transaction-api-1.3.jar and javax.persistence-api.2.2.jar has moved to jakarta.transaction-api and is now on version 2 .0.1 Questions: a) Do I need this library at all? b) If I do need it, do I use jakarta.transaction-api 1.3 or 2 .0.1? Similarly java.persistence-api. 2 . 2 .jar ships with the zip file, but this has also moved to jakarta, and is now | |
objectdb:2.8.4 & 2.6.1.b06 backward compatibility We are decided to move our products from 2 .6.1.b06 to 2 .8.4, could you confirm that new objectDb 2 .8.4 is fully compatible with many already created databases based on 2 .6.1? So, it means that we need to be sure that new objectDb 2 .8.4 could read/write to databases created by 2 .6.1. Please confirm | |
ObjectDB version 2.2 has been released ObjectDB 2 . 2 has been released and it includes important additions and fixes: Added full support of JPA 2 Criteria Queries API ( issue #10 ) Added full support of JPA 2 Metamodel API ( issue #9 ... the ObjectDB Doctor of version 2 . 2 in repair mode on existing database files, and to switch to the new | |
JPA Criteria API Queries (); The Criteria API requires more code , especially for simple static queries. The equivalent JPQL query | |
JPA Optimistic and Pessimistic Locking lock or a PESSIMISTIC_READ lock on that database object. For example, consider the following code | |
Database Explorer, the Explorer can only execute queries that include user-defined methods if the code for those methods | |
Generating new activation code gives 500 server errorGenerating new activation code gives 500 server error | |
jakarta.persistence.EntityManager Exception thrown by ConnectionFunction.apply , if any. Since: Jakarta Persistence (JPA) 3. 2 void ... of entity graph Returns: entity graph. Since: Jakarta Persistence (JPA) 2 .1 EntityGraph ... graph. Since: Jakarta Persistence (JPA) 2 .1 Query createNamedQuery ( String name ) Create an instance | |
ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection The following error is reported for objectdb- 2 .6.9.jar: Failed to commit transaction: Failed ... (error 613) Did not happen with objectdb- 2 .6.3_04 (which one can easily test and compare in the test ... : (all classes within entity packages): javac.classpath:lib/objectdb- 2 .6.9.jar [ObjectDB 2 .6.9 Enhancer] 8 | |
jakarta.persistence.MapKeyTemporal: @OneToMany @MapKeyTemporal(DATE) protected Map employees; Deprecated: Newly-written code should use the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements | |
jakarta.persistence.Basic the Column annotation. Example 1: @Basic protected String name; Example 2 : @Basic(fetch = LAZY) protected ... discouraged. Newly-written code should use the date/time types defined in the package java.time , or | |
InternalException using 2.3.7_12 Sorry can't shed any light on this, other than the code where this came out of, worked fine with 2 .3.7_02. I had to upgrade to 2 .3.7_12 to pickup the fix for wildcard search on index, and now get this. [ObjectDB 2 .3.7_12] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server | |
[ObjectDB 2.8.3_01] Unexpected exception (Error 990) Seeing strange new error, with previously working code ! Objectdb: 2 .8.3_01 JVM: 1.8.0_252 OS: Ubuntu: 18.0.4 ---- [ObjectDB 2 .8.3_01] Unexpected exception (Error 990) Generated by OpenJDK 64 ... .ThreadExecutorMap$ 2 .run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable | |
[ObjectDB 2.4.1] Unexpected exception (Error 990) Hi, getting this unexpected exception, would welcome advice: [ObjectDB 2 .4.1] Unexpected exception ... .ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$ 2 .evaluate(ParentRunner ... and/or the code that causes this? Of course, a better error message should be produced if the query | |
[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById In this code : String id = "my key"; ABC itemDb = pm.getObjectById(ABC.class, id); I get this: [ObjectDB 2 .4.1] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.6.0_29 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o | |
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 All latest versions later 2 .4.5+ even 2 .4.5_05 doesn't work, it deployed but errors when running. But 2 .4.4 worked javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer ... Luc Have you tried 2 .4.5 or 2 .4.5_03? Because 2 .4.5_03 fixes a GlassFish integration issue . support | |
Entity Management Settings attribute specifies the size of the shared level- 2 cache that is managed by the EntityManagerFactory and shared by all its EntityManager instances. To disable the level- 2 cache, specify 0 or 0mb | |
jakarta.persistence.criteria.CriteriaBuilder compatible with varags. Since: Jakarta Persistence (JPA) 2 .0 The JPA Criteria API Queries article ... more restriction predicates Returns: and predicate. Since: Jakarta Persistence (JPA) 3. 2 Expression ... . Since: Jakarta Persistence (JPA) 3. 2 Order asc ( Expression expression ) Create an ordering by | |
ObjectDB 2.2.2ObjectDB 2.2.2 | |
jakarta.persistence.Query.setParameter(Parameter,Calendar,TemporalType) code should use the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 2 .0 | |
jakarta.persistence.Query.setParameter(Parameter,Date,TemporalType) - if the parameter does not correspond to a parameter of the query. Deprecated: Newly-written code should use the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 2 .0 | |
jakarta.persistence.EntityManagerFactory graph entityGraph - entity graph Since: Jakarta Persistence (JPA) 2 .1 void addNamedQuery ( String ... (JPA) 2 .1 R callInTransaction ( Function work ) Create a new application-managed EntityManager ... . 2 void close () Close the factory, releasing any resources that it holds. After a factory instance | |
ObjectDB 2.7.2_x Doctor Yields "Index Requires Rebuild" Always Take a .odb created with ObjectDB 2 .7. 2 or later OR EARLIER. Run ObjectDB 2 .7. 2 Doctor on it. See indexing errors reported. Run ObjectDB 2 .7.1 on same .odb and you will not see indexing errors. Run ObjectDB 2 .7. 2 (or later or earlier) Doctor with repair and create repaired.odb.  | |
Getting Started with JPA and NetBeans well (dialog boxes and menus might look slightly different but the code would be the same). This tutorial consists of the following steps: | |
Step 4: Add a Servlet Class of the new source file with the following code : package guest; import java.io.IOException; import java | |
Report Generation with BIRT and JPA = x : (0, 0), (1, 1), ( 2 , 2 ), ..., (999, 999) The BIRT report | |
[ODB1] Chapter 8 - ObjectDB Server mode are discussed in Section 1. 2 . Because the JDO API and the format of the database file ... is listening for new connections is specified in the configuration file (as explained in section 8. 2 ... to manage the server (stop, restart and start), and to exit the application. 8. 2 Single User |