ObjectDB Database Search

51-100 of 123 results

NULL prefered in ORDER BY?

Hi! Is there a way to NOT prefer NULL in Order BY? I.e. assume this: @Entity class Hint {     private String name; } @Entity class Test {     private Hint hint ; } I've got a few Test entries, some do have a hint assigned, some do not (NULL). Now when I

EM close causes an exception

. We had to change the implemention so that it works also in Linux. Do you need a hint how we solved ... to the original post or a separate issue? Of course, any hint on how to improve ObjectDB will be appreciated ... . If this is the case than it could be a hint for a possible fix. Does it happen only on Linux? Does it happen

Pessimistic Lock Timeouts setting

. 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 ... however is lacking in this area (hence why they made it a ' hint ' - that should be considered non-portable

Is 2 level cache in use?

hint and check if it helps:  query.setHint("objectdb.result-fetch", "lazy ... by indexes without accessing the primary data. Currently this hint must be set at the query level (as demonstrated above) - but it should be supported in all other query hint scopes in future

how to query by properties of onetomany relations? (Error 990)

objects. i adapted my query and it works like expected. thanks for the hint chris Christoph Ernst ... the following query hint : em.setProperty("objectdb.query-language", "JPQL"); The default query language ... to JPQL using a hint the following exception is thrown on attempt to use the new navigation from

a REPLY button will be good!

, that can add a hint to which message the author is reply.     Sometimes, multiple replies confuse us in tracking the discussing topic, if a hint like this will be good: On 5/13/2011 11:46 AM, James007 wrote at floor 3: line 1 line 2 ...   gzdillon Lai Yang If no hint , just a link

Listing large number of complicated objects with paging.

( setMaxResults ). Does that number affect? You may try running the query with a lazy fetch hint (as done by ... () objects? I will try lazy fetch hint , but as I understand it will run 50 queries find(Product) while iterating over product list, right?   lwalkowski Lukasz Walkowski OK, I just set lazy hint

Problem with @Basic(fetch = FetchType.LAZY)

and description properties must have been loaded on the query, ignoring the  fetch = FetchType.LAZY hint ... De Clercq LAZY in JPA (unlike EAGER ) is merely a hint , which JPA implementations may ignore ... is still a hint . ObjectDB (as other JPA providers) can only load one-to-one relationships lazily when entity classes are enhanced . support Support

Need help to analyse very high memory usage by objectdb (PRU, SEV, VAL[])

consumption yet. Can you give us any any hints , which leads to the generation of these objects ... them.  Any kind of hints would help us to analyse/fix our problem.   We use version 2.6.9_08 in embedded mode. btc_es BTC EmbeddedSystems Small hint @ObjectDB (not related to this thread): I got

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

; }     } } webel Dr Darren Kelly LAZY in JPA is a hint . If your code is enhanced (as ... .greensoft.objectdb.test.console.TestLazyOneToMany Then ObjectDB follow the hint and the output is: a.listA

Possible issue with LAZY Loading

(unlike EAGER ) is considered in JPA as a hint and in some cases data is fetched eagerly regardless of the hint . This happens, for example, when ObjectDB uses reflection mode (classes are not enhanced

Failed to write the value of field using reflection (error 363) on LAZY fetch

(e.g. a Modell has several Artikels) . When I remove the LAZY hint (query.setHint("objectdb.result ... hints ? The Mapping of class Modell and its member: @Entity class Modell { ... @OneToMany(fetch

Soft Reference Object Cache Recommendation

; I understand that the ObjectDb.conf value I specify ( ) is a HINT to the number of PAGs ... the configuration is indeed a hint . ObjectDB allows up to 80 additional pages (in addition to the pages

Memory error during commit, if @ElementCollection field contains many elements

content still requires memory space. Lazy setting in JPA is considered as a hint to the implementation, but the implementation can still load content eagerly. ObjectDB follows the lazy setting hint

Difference performance in ObjectDB Explorer and in java project

other useful hints for object db? Performance is better, but still not the same 1000 ms in ... hints . If your classes are not enhanced then try enhancing them. support Support Appreciate your help Konstantin Konstantin

Memory Leak in EntityManagerFactory ?

ours (there might be some additional issues from our side). Could you please give me a hint how we could avoid ... ; or does I miss something ?        can you please give me a hint

Catching exceptions from online backup

(when it is not an immediate exception)? Maybe a query hint to disable starting the threads ... client-server mode. The query hint to disable automatic starting of the backup thread

ODB with Netbeans

a NetBeans forum. I didn't find these errors in Tools Options Editor Hints Java. However, please notice

Web Framework Recommendation for leveraging JPA + ObjectDB

+ ObjectDB" couple successfully in conjunction with a contemporary Web Framework ? Any hints

Problems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web App

hint as to where the build is failing. Regards, Erick erick.rosas Erick

LAZY @ManyToOne field functions as EAGER

(unlike EAGER ) is merely a hint . For example, ObjectDB always loads simple value fields eagerly (e.g

Occasionally slow requests in load testing

a timeout for queries (using a hint ).   support Support

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

] (http--127.0.0.1-8080-1) persisted Guest count: 0 any hint on what's going on ?   clicker

Out of memory

;on the server side. Maybe changing some queries, setting indexes or using the objectdb.result-fetch hint

like operator (String)

isn't a problem. The GUI related methods will add implicit a '%' character. Additional hint : 

Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found)

:126) ... 28 more Any hints please? Thanks a lot in advance. zmirc Mircea Chirac It seems as

Level 2 cache not hit in @ManyToOne

without performance penalty. You can change this behavior by setting the  "objectdb.result-fetch" query hint

@Lob @Basic(fetch = FetchType.LAZY) is loaded when it's not needed

Vlad Myachikov FetchType.LAZY is a hint that JPA implementations are allowed to ignore. Currently

JPA and handling large data sets

data sets the way is slow. We have an own entity for storing binary data (pictures, documents). Hint

performance limit

result loading, using the objectdb.result-fetch query's hint in order to separate query execution from

Dependency from enhanced classes to the objectDB library

example? Then we may be able to solve the persistence unit not found exception using the hint at #2

Performance in SELECT statement

would be very happy if someone could give me a hint why this query tooks so long. edit: I just tried to remove

ODB IndexActivation NullPointerException

.objectdb.o.IXM.run(IXM.java:322) Maybe we have a not correct handled schema change or any other hint

Access entity version before commit transaction

since it returns 3 here         }); Hint : transactional.execute

Unexpected internal exception during set field of an Embeddable to null

that I found a important hint . The stack trace has been reduced to very (by the printer

combined index not used

that is executed using a hint (will be explained in the next post). As you have several heavy queries ... 2 new query hints are introduced in build 2.7.6_01: 1. Selecting a query plan from the sorted list ... ) of the executed query plan (always 1 unless a hint is provided), the total number of query plans in

queries under 2.7.6_4 significantly slower than under 2.7.6

hint to request a specific preferred query as discussed in  issue #2379 . However, during the work on this issue it was found that the new query plan hint feature that was introduced in 2.7 ... )) [[objectdb.query-plan-text=index(ctso['(TC)'-'(TC)']] The 2nd query requires (using a hint ) to use

Best practise loading big data

less memory consumption by doing that, too. We would kindly ask you to give us some hints or advice ... then we can do that instead. Thanks for this hint ! Yes, only enhanced classes are used in this example

ObjectDB 2.8.0

a query hint ( see issue #2379 ). Added logging when the number of allowed entity classes ... to select a query plan using a query hint ( see issue #2379 ). Fixed a critical bug in index based query

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

(even though it is allowed by JPA - lazy is only a hint ),  allocating IDs during persist

Unexpected Exception during commit

I'm testing code that otherwise has been working with a clean database. I have seen several examples of the following exception. It never seems to happen in the same place twice, though. If you can give me a hint as to what would internally cause this, I'll try to reproduce it. Carl  

Lazy loading of mapped by (inverse) singular references

ObjectDB ignores lazy setting of non collection mapped by (inverse) fields and loads them always eagerly. This is allowed by JPA since lazy is only hint but it is not efficient. The reason is that currently when an entity object is loaded all the referenced objects are instantiated

@FetchGroup in JPA similar to JDO

as a hint that this query should return Entities with only those fields filled with data: TypedQuery

Negative snapshot user count exception

a link in a private support ticket) we can try getting some hint . support Support On our Dev server

Enable intern() for Retrieved Strings

Implement a setting, where the developer can specify which Strings should be loaded via the String.intern() function. Hint for this enhancement: When loading a large list of persons, the persons first names are many time the same ones (here it is Martin, Michael, Thomas, ...). Instead

Deleting archive log folder causes exception

. The only way to get system working is to delete the archive file. Can you provide us some hint

NullPointer when accessing entity field

. Could you provide us some hint what is the cause of this problem? Thanks Marta   Maruta M Sedlakova The cause

InternalException when using MEMBER OF on a large list in a query

they seem to be 36 bytes). support Support Thanks for the fix. Also thanks for the hint with long keys

javax.jdo.datastore.Sequence

JDO Interface Sequence Implementations of this interface can be used to obtain sequences. The behavior with regard to the transaction and rollover behavior are defined in the metadata. Since: JDO 2.0 Public Methods void allocate (int additional) Provides a hint to the implementation

Sequence.allocate(additional) - JDO Method

JDO Method in javax.jdo.datastore.Sequence void allocate (   int additional ) Provides a hint to the implementation that the application will need additional sequence value objects in short order. There is no externally visible behavior of this method. It is used to potentially