ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh

Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar

. To enable enhancement I use the following in the Project Properties dialog Run section under VM Options ... fine for a Netbeans Web Application (that runs in Glassfish as web application container). However I ... .jar is present in the VM Options, in which case the class begins to execute then simply "stalls

How to convert a boolean to an int in the query?

How to convert a boolean to an int in the query? I have five parameters of type boolean in ... , approvePhoneNumber, .... because the parameters equivalent. I want to sort them in the query by their sum ... them. You can calculate it in a JPA lifecycle event. Currently you cannot convert boolean to int in

Is there an update on running ObjectDB purely in-memory?

ObjectDB purely in-memory, without a any file on disk? Note that "file on RAM disk", which was proposed in the past, is not an option for the application I have in mind. It would need to be true in ... We had this as an unreleased feature for a while, and following your post it is now included in

How to change properties in urls2.xml?

Hello, I am using objectdb in an embedded case with network private access to each database. I ... The solution in #2 is for hiding sensitive information, in case you have a problem with the urls2.xml file. Information is written to that file just to enable opening recent connections easily in

How to use ObjectDB properly in spring boot application?

catch finally blocks in order to properly close connections. I want to refactore my application so that database operations are done in JpaRepositories or Dao classes with @Transactional methods (as described in https://spring.io/guides/gs/accessing-data-jpa/) I had a research on the web

Redeployment in GlassFish - Failed to open file

Hi. I am facing a problem with the redeployment of the application in GlassFish. I can deploy my application in GlassFish for the first time and it works. Once I need to redeploy it after making some changes in the source codes, the following errors come up in the GlassFish Log

Performance issue in a query due to internal calls visitRefs and visitKeyRefs

Hello, we have a question about a performance issue in a query. We executed a query on the following entity and there is only one entity in the database and we expects that the query is executed within 1 ms. SELECT v.sheetUID FROM TCVector But how you can see in the attached snapshot 'stacktrace

Problems down-casting in WHERE clause

AND ((Derived2)b).val4 LIKE :search When I run my query in the ObjectDB explorer, I get Query Execution Error ... {         String val4;     } } It seems to be a bug, but we will need your help in reproducing ... example to throw the exception, even after adding in a few details. I have opened a direct support

What algorithm in find()

a linear complexity, i.e. O(n). So what algorithm in find()? Can it improved to O(log(n)) complexity ... , the time cost in the attachment shows a O(n) complexity. Why? The cost of insertion is subjected to the number of objects in database? When the 1,000,000 objects being persisted, I record the time cost

Query in nested transaction returns detached entity if lazy-loaded

of the relevant work flow and fails at the assert in line 58: assertTrue(secondQueryResult.get(1).strValue ... will be available soon. support Support Your test case demonstrates a bug in retrieving new objects ... then we get another issues in our test suites. We worked on enhanced classes. We activated the entity listeners for pre

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