ObjectDB Database Search
51-100 of 200 resultsOnline backup problem) and it doesn't seem to be related to the online backup. Please post the code that you are using to run the backup. support Support This is the code I used in my servlet : EntityManagerFactory emf = null;   ... database without any problems. The code runs, result is "OK", but no files are created in ObjectDB | |
zip file or JAR manifest missing The codes is ok in MySQL, but not in ObjectDB. Before update a value, my threads will check ... Support I found this is a weird thing, the same codes run the different results in my office pc and home pc. I use svn to keep my codes . My ObjectDB path is the same. But, My home pc will get this message | |
Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01) what we did incorrectly or investigate how to fix it ASAP. Source code which causing memory leaks ... (); m_EntityManager.flush(); m_EntityManager.clear(); m_EntityManager.close(); } After executing code ... for mentioned code | |
Soft Reference Object Cache Recommendation and StoreLifecycleListener to have my code called to manipulate the softReferenceData in my JdoBlob2 instances ... off my byte[] from being freed. (Maybe something I am doing in my code with ObjectDB ... More information. I did a test to see if evict() would allow the RAM to be flushed. (e.g., code | |
How to resolve 404 errors with Eclipse/Maven Spring MVC thru the source code . Also, to remove the one syntax error that eclipse was giving me, I commented ... created from a directory that was created by eclipse and the source code files were created by ... -spring-mvc-annotated-tomcat6-from-scratch.zip I't is still kinda crazy for a half dozen source code | |
WebSphere Liberty Configuration application does not run JNDI operations on java:comp/env names within static code blocks or in threads created by that application. Such code does not necessarily run on the thread of a server application ... on java:comp/env names within static code blocks or in threads created by that application. Such code does not | |
Finance data from SQL Server into ObjectDB daily classes to store the data in ObjectDB." I am doing this exactly. Here is the quick code I whipped ... ). Code is straight forward, and attached - it was written in about 3 minutes so please disregard the 'in line' nature. Customise as required! EDIT: Code assumes that your PK is 'id' and is of type | |
Failed to read DB file while online backup is running related anymore to running of online backups. Maybe some new bug was added to the code ... (JdoQuery.java:748) jakab Gergely Jakab Build 2.6.2_05 changed only online backup code ... also paste my code for the online backuping which I launch automatically every few hours. I | |
License Activation Change and Checking Activation a different activation code . With this code it works. The only difference I can think of is that my WiFi ... . You should include both activation codes now in your configuration, so ObjectDB will work on your laptop | |
Activation error on Schema change that an activation code that was generated specially for the server machine is included in ... about that, this shouldn't happen. Pre 2.3.7 activation codes should work with 2.3.7. But in the logs I ... 2.3.7 will require you to fix it and generate a specific activation code for that machine. In | |
Failed to commit transaction: Attempt to commit a rollback only transaction is a groovy closure), however: that code has been running without any problem for some time. The problem arose when different code was run against the same database. ie: it appears to be related to some ... only explicitly anywhere in my code . dmoshal David Moshal First of all - the Doctor output | |
Cast exception? That seem to be the issue here, but I'm not doing any casting in the code ! Is it some casting done by ... my current web app, and I created a Point object successfully in code . So I think objectdb.jar ... at the Persistence.java source code and extracted the method that is throwing the exception: /* */ public static | |
Connection is closed Caused by: java.io.EOFException I am getting this exception on a regular basis, after a period of time of repeating the same code execution. I don't understand why. I restart the DB server and my code works ... an EntityManager . I have checked throughout my code to ensure that all instances of EntityManager | |
UserException: Package com.example.model is not found by the enhancer However, in my source code's lib directory I have: \lib\objectdb-2.5.4_05\database\example.odb ... . Is there a way that I can get it to work within the code ? I've also tried commenting out the line: //com ... after building the jar and running it? Also, it would be cool if Netbeans gave a warning when code referenced | |
Single Server License and Embedded Mode you have to update the configuration file by adding the activation code . If the evaluation limits are not removed then most likely activation code was not added to the correct objectdb.conf ... a specific objectdb.jar file is used (regardless of how it was obtain). The code in that JAR is looking | |
Understanding limitations of schema evolution, and you will have to write code for making this schema change. support Support Thanks for your reply. Could you please elaborate more on the nature and complexity of the code that one has to write in the second ... "Could you please elaborate more on the nature and complexity of the code that one has to write in order to develop an application?" support Support | |
How to avoid NULL values on Embedded entities the emmbedeable Direccion not nulleable? In the code above, the optional=false, works only on fechaYhora ... clear Edit: Sorry. Solved. The code was working, the problem was that i'm savin an empty string "" (not null) elnll002 Facundo Curti | |
Database connection url sure about the connection url for the code , and for the explorer. I tried this: Transactor.emf ... a server, and how does one connect to it from code , and from explorer? dmoshal David Moshal | |
IDs of Entities suddenly became UUIDs? anything in the ObjectDB code that can generate uuid values. Therefore, uuid values are probably generated ... ; myId as Long and the other with myId as String ). Also check your code for generating uuid strings | |
Cross-platform license My activation code works fine on my computer Ubuntu but fails on the same machine if I boot into Windows 8. Is the activation code restricted to an operating system? Would I lose it's use if I upgraded Ubuntu at some point? sjzlondon Steve Zara You should be able to use | |
Double persist of Entity field with Cascade.ALL that moves all Entity manipulation code to the Server in Netbeans project. This works flawlessly, however it might result in more complicated code for some use-cases. Running it is same as | |
Academic license limitations? code in the wrong configuration file, i.e. letting ObjectDB use a configuration file other than the one that includes the activation code . support Support Thank you so much. I removed an accidental | |
Failed to create a new file 'target\objectdb\log\archive' (error 112) under which the JVM is executed in which the code below is run does have write permissions on the folder ... Christian Code we run: private void registerTypes() { try { EntityManager em | |
OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011) . support Support Thank you for the link to the class enhancing confirmation checking code .  ... the application has an ObjectDB OEM Activation code installed). ObjectDB class enhancing HAS been performed | |
Problem with distinct select, order by and equivalent alias/attribute path in the code (before loading an EntityManager) and as a run argument for the wildfly server instance ... expression, even when executing the same code with the same Entity classes as in my post before, in embedded | |
EntityManager refresh problem Hi, in the following code you can see an example with EntityManager.refresh(). The example throws an assertion error (The Assert statement is Assert.assertEquals("entity 1", simpleEntity1 ... object has not been stored yet in the database. If we change the code and add a flush operation | |
Migration problem Will this code work on objectdb ? I was using it on mariadb , i need to inject GenericEntity to many tables to watch user activities. If this wont work , does objectdb has any other solution ... and listeners . Is there anything specific in this code that you want to check? support Support | |
Missing (null) elements in eager loaded references. But if I run the exact same code with the exact same data again everything is fine. The problem ... dependencies, only the minimum required classes, in each class only the minimum required code , in | |
Join query problem with new statetment Hi, I'm trying to implement some reporting logic in my application and got nasty exception when using query with join. The query code is: TypedQuery inspirationQuery = em.createQuery(   ... a sample case that reproduces the exception (you may attach the database and the code to a support | |
Storing objects problem; emf.close(); Database content is attached. kiki Kristijan Your code doesn't ... = interfaceMy; } } } kiki Kristijan Your code persists only the root object. If you want to cascade | |
Retrieve data of all entity classes in a single query I have in an objectdb file 10 Entity Classes with some data in each (Athlete, Trainer, Stadium etc) This is the code I use to retrieve all Managed Types and data for the Athlete class Metamodel ... = query.getResultList(); for(Athlete result : results) { System.out.println(result. Code | |
First query before any of the object has been stored I have some code that, before writing an object via ObjectDB makes a query to ensure the new object is different from what's already stored. The problem is that, before any instances ... ;NoResultException to be thrown, and coded to handle that as an empty result. What's really getting thrown | |
Error occured during initialization of boot layer."; } And my code for actually writing to the database is: import javax.persistence.*; public class DatabaseManager { EntityManagerFactory emf = Persistence.createEntityManagerFactory("D:// Coding /MESTrackDB | |
Memory Leak in EntityManagerFactory ? has not been cleared as expected. Looking at the relevant ObjectDB code it seems that this situation ... .g. by using synchronized on a larger section of code ). support Support Thank | |
objectdb (licensed) + github action error repeating activations on upgrades, but unless you write code to automate activations (i.e. run the Activator from a program, open the result link from the program, parse the activation code , etc.), or | |
multiple different applications access one odb file or maybe even contribute code if necessary (it could possibly be open source) to such JDBC driver ... it. We can contribute code as well but can't at the moment commit much time to the project, will need to wait | |
DB Doctor sets type to "unknown" for new fields) is set to unknown. Both are defined as Boolean in Java code . As a result, update operations ... when it will be fixed, but you can use the workaround of writing several lines of code to update the database after adding a new field. support Support | |
Memory Leak? and other HashMap. Here is the code that retrieves the data. I'm pretty sure I'm not holding objects that I'm using directly that causes ever expanding memory usage. I'm putting my code as a reply | |
ArrayIndexOutOfBoundsException on flush:151) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:722) ... 40 more The code ... can get the test operational. felixobjectdb Richard Szurgot I hope you still have the code that caused ... , so if you can try your code with the last build of ObjectDB (with a new database) and report | |
After using the enhancer, Lazy loaded collections are no longer loading. They are set as null; timbob1000 Tim Osborn Your issue cannot be reproduced, since the posted code is not runnable. Particularly the invocation of find in your code does not compile. The following code included an attempt | |
Query Execution Error in java client code . Please note that this one worked before but stopped working.. I'd be so happy ... .. Well okay, anyway the error code (NullPointerException seems to occurr) isn't very helpful :( Alex | |
evalution limit error on digital ocean ubuntu Trying to run the code on Digital Ocean Ubuntu instance. Generated license and set key in objectdb conf file. It gives below exceeds evaluation error when we try to run the code . Caused by: com.objectdb.o.UserException: Too many persistable types (10) - exceeds evaluation limit at com.objectdb.o | |
JDO PersistenceManager.getSequence() returns null sometimes to it. If nothing has yet been persisted, or if the odb file is not newly created, getSequence() returns null. Code ... ! That will certainly help us port our code to ObjectDB. spiffy Jonathan Harley Sequences are defined using class | |
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 | |
Eager load Map I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok. The attached code attempts to replicate the scenario. Its not an exact match but is the best I | |
Lazy retrieval by access not working correctly correctly. Without the breakpoint, my lazy collection does not get loaded. Here are code ... } ... } JohnSchneider John Schneider Values are not expected to be loaded in this code . getValues | |
Navigation through lazy loading from Detached Objects and spec of JPA2. It will however make it much easier for many people who have coded ... because for us it is, we simply can't use ObjectDB for our system as coded . webel Dr Darren Kelly Build 2.3.6_16 includes | |
Memory leak in com.objectdb.o.CST done on your java code (object db code ) the red part is the jvm, and usually when the red part is big | |
Error reading UTF string (Serialized Objects in Explorer) Support Hi, Well, the issue occurs in our Code as well during retrieval. Actually, I don't care ... a freshly generatec test db from our Code . We cannot make Money (and some other classes) being entities | |
Collection update does not increase entity version and is not persisted. If I change the code to use the setAttachments() it also fails. This is very urgent ... code , ObjectDB has to fall back to tracking changes by comparing object snapshots, which is less efficient. support Support |