ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh
1

Query Method NullPointerException on List iteration

Code: public int countCategory(String categoryName) { int count = 0; for (Product p ... the product list in java code? MaxBri Maximilian Brinkema It is unclear from the question ... ) when trying to iterate over the product list: for (Product p : products) { // code.. } All suppliers
1

How to create dynamic Entity class.

to create dynamic class. Here i have written some code which is create dynamic class as well as object ... the problems, i have attach source code below. Please see my source code. Bimal Bimal kumar dalei Hi, I ... to guide ObjectDB to use your class loader. Changing the code in your test main as follows
1

Adding EntityListener Throws Unexpected Internal Exception

the following ObjectDB code: for (Class l = listenerClass; l != Object.class; l = l.getSuperclass ... ? If you try the code above on your listener class in a console application, probably no exception will be thrown, so it may be related somehow to your environment and class loading. ObjectDB (in the code
1

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 ... that a Java EE application does not run JNDI operations on java:comp/env names within static code
1

Update is ignored by ObjectDB

the database, and User entity remains modified only in code, even if I go: user = smdb.find(User ... direct access to fields simplifies code porting and direct JSON parsing. User has 100+ fields ... rather than the enhancement. Enhancement is used but not only entity classes are enhanced but also any code that accesses
1

Reading 1.x odb files in ObjectDB 2.x without upgrading

the instrucitons how to integrate the converter.jar in the software. Currently, I am using the following code ... conversion inside the jaa applications by using the following code com.objectdb.Converter.main(new ... is working fine when i am doing through the follwoing code String commandLine = "java -jar converter
1

find() cost unreasonable time!

unnecessary code"! Ok, Class of Nodes: package fpg; import java.util.List; import javax.persistence ... ()+""; } } test codes: package src.run; import java.util.Iterator; import java.util.LinkedList ... possible - remove unnecessary code"! Anything that is required for the sample application
0

com.objectdb.o.InternalException: java.lang.NullPointerException

in the original one. I can't send you the database and code, because they are about 8GB and 120K lines of code. Is it not enough with the info that I have sent you? Is there any other info that I ... to generate the error. BTW, if I need to send you code or database, I can't find a private option
0

Threaded Test - Failed to commit transaction: Unexpected internal exception

felixobjectdb Richard Szurgot Also if I run the example code with fewer consumer (I just tried 2 ... producer threads saving 1000 objects each and 5 consumer threads. Code is attached. I'm running with v2.2.7 ... is doomed to failure or is there a problem somewhere, either with my code, my use of objectdb config
0

Errors after unexpected server shutdown

] BTree Page: 18071876 [2018-03-26 14:39:30 #1101 store] Request code: 4 [2018-03-26 14:39 ... Code: -30 [2018-03-26 14:39:30 #1104 store] Request Real Key: 2018-03-26 13:26:27 [2018-03-26 14:39:30 #1105 store] Request Real Key Code: -30 [2018-03-26 14:39:30 #1106 store] Request

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support