About in

171-180 of 200Refresh
Forum
7

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

I doubt this is an ObjectDB-enhancer problem, I am however reporting it in case anybody else encounters the problem too. It is mostly also not a concern for my own web app, because in most cases a non-static logging variable holder can be used in an @Entity.     ObjectDB 2.6.3_04     Apache Log4j2
Forum
7

Query to search for common elements in two separate collections.

OF :someCollection Is something like this possible in the JPA spec? A possible efficient way ... code of every stored collection should be stored in an indexed field, possibly in a new entity or ... want to check if a collection contains an element that is also present in another collection. Right
Forum
7

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

Hi, We have a problem in the backward compatibilty in our software as once we have migrated object 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
Forum
7

What algorithm in find()

a linear complexity, i.e. O(n). So what algorithm in find()? Can it improved to O(log(n)) complexity ... this forum thread that might be relevant.   I use your codes to commit, 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
Forum
7

'DROP TABLE' in ODB?

Let's say I no longer need some entity in my project and after deleting all the objects of this type in database I want to remove this type from schema. How can I do this? Is there something like SQL 'drop table' in ODB? This is currently not supported. As far as I understand the main effect
Forum
7

Cannot sort descending, when ordering by caluculated float in a method

Hi, I have found an issue in ordering by a method. I have two entities : Invoice and InvoiceItem ... EDIT: I have found out, that ordering doesn't work in this case at all - it was only a luck, that asc ... (inverse) fields are unavailable to methods in queries, regardless if the method is used in ORDER BY or in
Forum
7

Concerning coding style of the example in the posting instructions

(This forum item was spawned from discussions in a private helpdesk ticket.) I write with reference to the coding example in the posting instructions and many of your other examples posted in ... , compliant entity classes belong in separate files. Secondly, in many forum posting examples, package
Forum
7

Configure ObjectDB in spring context

is to configure entire ObjectDB (optionally objectdb.conf too) in springs context.xml file so that I'd be able ... ObjectDB with Spring Framework in this tutorial. Yes I've seen that option, but my application is not ... database.xml (which is included in application-context.xml) look like this
Forum
7

Deploy ObjectDB in WildFly 10

Hi, I'm currently evaluating ObjectDB and try to deploy my project in WildFly 10. I've installed ObjectDB in the modules directory and added a persistence.xml file: in-memory-db.jar".FIRST_MODULE_USE: org.jboss.msc.service.StartException in
Forum
7

explorer locks local database in readonly mode

hi, my current use case is: execute unit test, verify results in explorer. my problem, i ... down the whole process. i opened the database in readonly mode, but the file will be locked by the explorer ... , so this is now in a very high priority and version 2.3 is expected to support essential improvements. Viewing