About in

171-180 of 200Refresh
Forum
13

How find out ObjectDB version at runtime (in a web app)

of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 in /build ... at run-time ? It does not seem to be in the odb logs, and turning on the debug mode does not ... in the header of the log output. Answered here already: https://www.objectdb.com/database/forum/827?u#item-2 Gave ObjectDB version:(2.6.9_02).   webel
Forum
13

Intermittent Exception "Attempt to update types in read only mode"

will get this message when trying to establish an EntityManager to the slave: Exception in thread "main" [ObjectDB 2.4.1_06] javax.persistence.PersistenceException Attempt to update types in read only mode (error ... .java:48) Caused by: com.objectdb.o.UserException: Attempt to update types in read only mode
Forum
13

java.lang.ClassCastException in query results

I have a simple object stored in a ObjectDb file Stadium Name (java.lang.String) Capacity (int) City (java.lang.String)   When i run the following code i get the ClassCastException in ... .Capacity + ", City: " + result.City); } In debug mode i see that the objects in List results
Forum
13

JPQL keyword in entity - what to do?

and so on in my entities? It seems as an ObjectDB bug since you should be able to use JPQL keywords ... version.   Thank you for your report. There was another unrelated bug in handling new expressions in ... the same as in previous example.     It seems that the constructor is not found - try changing
Forum
13

Multi part paths in a composite index must have the same length

Hi, I am trying to create some index in a DB - but I get an exception when i try to commit. Exception in thread "main" [ObjectDB 2.6.0_01] javax.persistence.PersistenceException Invalid index path 'tStamp.value / instrumentId' in type Entities.OBN (error 328) at com.objectdb.jpa.EMImpl
Forum
13

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

Hi,  Object are not being persisted when ObjectDB and another db is used in the same application ... appreciate as we are currently evaluating ObjectDB to use in our new enterprise application ... ="myTxManager", readOnly = false) public void addObject() { ... } In addition, you should also amend
Forum
13

Retrieve data of all entity classes in a single query

I have in an objectdb file 10 Entity Classes with some data in each (Athlete, Trainer, Stadium ... types using instanceof. Alternatively, you may avoid casting and retrieve fields in a generic way using Java reflection. Thanks for your answers So in case I don't have the java classes declarations
Forum
13

SectionClassifier message in log

I'm trying to track down an issue in an application - the problem occurs around the retrieval of an object from a database the specifics are unclear at the moment. In the objectdb log the following ... the underlying problem will be on object insertion but in case it helps the error in
Issue
13

Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell ... should be enabled also in the ObjectDB configuration that is used by the STOP command, and in that case
Issue
13

unexpected exception - in query

I received the following exception while trying to process a query: Exception in thread "main ... that calculates average on values that at least one of them is not numeric. I could reproduce the exception in ... you for this report, but please try to provide more details (and a more informative title) in next bug reports