About multiplication

forum_thread

Partial Indexing

I have a question about partial indexing. For example, a field of String type ttt, will be distinguished by the first 5 characters, then I can make a index of substr(ttt,1,5) in MySQL. With ObjectDB, how can I write the annotation for this purpose? TIA Institute of Computer Technologies #1 2011-05-22 12:24 I have a question about partial indexing. For example, a field of String type ttt, will be distinguished ...

 
forum_thread

Optimization of Map Queries

hi! I am having loads and loads of occurrences of something like ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someProperty ... ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someOtherProperty .. ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someMoreProperties I need to use full qualified names for casting as well as for the map keys because same entity simple names may occur multiple times. Now I've got two questions: #1 2012-01-18 07:13 hi! I am having loads and loads of occurrences of something like ( ( com . test . ...

 
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" #1 2011-04-29 04:30 Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. Howev ...

 
forum_thread

java.sql.Timestamp with milliseconds

Using JPA with other providers java.util.Date will not provide support to store milliseconds, this can usually be overcome using (see here http://docs.oracle.com/javase/1.5.0/docs/api/java/sql/Timestamp.html) @Id @Column(name = "STMP") @Temporal(TemporalType.TIMESTAMP) private Timestamp timestamp; However with ObjectDB the milliseconds are not being stored, as shown this is an ID field and I am encountering duplicate ID errors trying to create multiple entries in the same second. #1 2016-12-06 10:02 Using JPA with other providers java.util.Date will not provide support to store milliseconds, this can usually be ...

 
issue

Retrieving Metamodel without Connection

Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails the application isn't available at all. I had the situations multiple times that my database server took longer to boot after a power outage than the tomcat machine. This leads to an unusable application until i restart tomcat. Feature Request Version: 2.4.2 Priority: Normal Status: Fixed Replies: 1 Type:  Feature Request ...

 
api-jdo

javax.jdo.annotations.Joins

Annotation for a group of joins.(Annotation of JDO)

 
forum_thread

How does objectdb deal with conflicting schemas?

Suppose we have an objectdb network server with multiple clients connecting to it. Some clients have the latest object schema, matching that of the server. But some have an older schema, not using fields that have since been added. Will this work? #1 2012-03-15 21:48 Suppose we have an objectdb network server with multiple clients connecting to it. Some clients have the latest o ...

 
api-jdo

setMultithreaded(flag)

Set the Multithreaded flag for this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
forum_thread

High memory consumption even after close() of EntityManagerFactory

Hello, we still have memory usage problems. When debugging, we have now observed a case in which the execution of multiple queries increasingly byte array were generated (about 1.5 GB) which from GC could not be released. Not even after the EntityManagerFactory closed. We created a small test with which you can observe similar behavior. The huge memory usage only occurs if we execute the query (line 56 to 61). If we remove this query, all is well. The memory is only released after we re-run a query (on a different database). #1 2015-09-18 09:55 Hello, we still have memory usage problems. When debugging, we have now observed a case in which the execution of ...

 
forum_thread

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

Hello. We are currently using ObjectDB in application server Jboss as 7.1.1.final. ObjectDB version is 2.5.3_02. The following errors occur when multiple ajax requests are executed: Caused by: com.objectdb.o.InternalException: Error reading UTF string Caused by: com.objectdb.o.UserException: Mismatch client-server protocol prefix Our current settings: Persistence.xml: #1 2013-10-08 10:48 Hello. We are currently using ObjectDB in application server Jboss as 7.1.1.final. ObjectDB version is 2. ...