About WHERE

issue

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

we have a database shutdown, logs are showing: [2017-07-10 21:07:23 #1 store] Database 'F:\Hummingbird\Objectdb\db\coreSystemDb.odb' is opened by 11028@wzbhb101 [2017-07-10 21:07:23 #2 server] Server on port 3333 has started by 11028@wzbhb101 [2017-07-14 07:08:38 #3 store] SectionClassifier: SectionClassifier{2->merger[2699]-missing:1} [2017-07-14 07:09:08 #4 store] SectionClassifier: SectionClassifier{2->merger[2699]-missing:1} ... has around 50 million objects, I have no idea where these numbers (0,1) are comming from. in some minutes we have the rar of the corrupt database, do you have a ftp server where we could transfer it to ?   ...

 
forum_thread

Object comparation never matches

Hi! I'm trying to compare 2 identical objects in SELECT with no success: @Embeddable public class PhoneNumber implements Serializable {     int countryCode;     long number;   Which is a part of Customer object: ... , query = "SELECT a FROM Customer c WHERE c.principal = :principal" ) } ) public ... following query: SELECT a FROM Customer c WHERE c . principal . countryCode = :countryCode AND c . ...

 
forum_thread

Post-compilation enhancement vs Automatic Run-time enhancement

We are getting massively different results on field loading between explicit post-compile enhancement and automatic run-time enhancement. Testing exactly where and when the results are different for our demo web app is a very time consuming task, and very difficult, it means testing literally 100s of user interfaces (noting we get different results OUTSIDE THE JAVA SERVER FACES BACKING BEAN LAYER depending on the enhancement stragegy). Can you please explain how this could possibly be so ? ... and automatic run-time enhancement. Testing exactly where and when the results are different for our demo web app is a very time ... fly runtime enhancement is applied only to entity classes, where post compilation enhancement may also enhance non entity classes. This ...

 
manual

[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2.... com.objectdb.Server where <OBJECTDB_HOME> represents the installation path of ObjectDB. ... used by multi user applications (such as web applications) where the same username and password can be shared by all the database ... two required attributes of the <keystore> element, where $objectdb represents the ObjectDB installation directory, as shown ...

 
api-jpa

javax.persistence.criteria.Path

Represents a simple or compound attribute path from a bound type or collection, and is a "primitive" expression.(Interface of JPA)

 
forum_thread

String Contains Query Result - Possible?

Hi, I have a managed database for an Entity, "Program", filled with String fields, "description", that are effectively unique sub-strings of a system generated description. Example: System: For Series Sales usage: 6014-Private Individual Swim Lessons  10-Pack Database: 6014-Private Individual Swim Lessons  10-Pack I would like to know if it is possible to have a query return the "Program" object using the System Description? I've considered doing something similar to... ... similar to... SELECT FROM Program WHERE description LIKE " [something] " ...but, this ... use JPQL Locate : SELECT FROM Program WHERE LOCATE ( " [something] " , description ) > ...

 
forum_thread

Objectdb server out of heap space

I have had a server crash with the following stack trace: ... its resources, and so should never end up in a situation where it runs out of memory like this.  This could be a serious problem ... its resources, and so should never end up in a situation where it runs out of memory like this. Servers that run on Java JVM, ...

 
forum_thread

Pessimistic Lock Timeouts setting

Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. However, there is a standardised query 'hint' that can be setup to make the underlying DB lock a record for a specific time. The hint property is: "javax.persistence.lock.timeout" ... I have a situation where multiple threads can hit a shared counter (which is used to track ... impact all threads.   My situation is where many clients from 1 company are accessing the same counter when bulk ...

 
forum_thread

Eclipse - Maven - Dependencies not getting automatically reflected

I have installed Java 1.7 Eclipse Juno From Eclipse Market place have installed - Maven Integration for Eclipse WTP (a.k.a m2e-wtp), m2e-apt, Spring IDE, The Spring Tool Suite™ (STS) Have defined M2_HOME as directory where Maven is installed. PATH updated as %M2_HOME%/bin I am working on Windows XP. ... (STS) Have defined M2_HOME as directory where Maven is installed. PATH updated as %M2_HOME%/bin I am ... required jars. I am working on my home computer where I don't have any proxies and has set following in local m2 ...

 
forum_thread

Problem with queries on lists with reverse mapping

Hi, In version 2.4.2, when an object in a list is reversed mapped to the owning object, queries are returning objects of types that were not specified in the query.   In the attached example the last test fails because the query returns both TeamA and TeamB objects where only TeamA was specified in query. If the "team" is omitted from the player and targetEntity = Player.class, mappedBy = "team" are removed from Team the query returns the expected result.   ... because the query returns both TeamA and TeamB objects where only TeamA was specified in query. If the "team" is omitted from the ... ( "SELECT t FROM TeamA t JOIN t.squad s where s.name='Mark Wahlberg'" , TeamA. class ) ; ...