About console

forum_thread

Problem with @OrderBy

When I use @OrderBy and supply multiple order fields I get and error when ObjectDB loads that entity. Example code: @Entity @Table(name="Problems", schema = myDB") public class Defects  implements Serializable { ... ...  @OneToMany(mappedBy="problem") @OrderBy("seqRel, noteSeq") Set<Notes> notes; ... ... } ... ... } The error is printed on the console where I started the Explorer Th error that seems most ...

 
forum_thread

Slow performance on Mac

- This code is tested on Windows and Mac. Windows is working great, Mac is very slow (read is 11 seconds on Mac, and 100 milliseconds on Windows). - Application is using Spring Boot console application (for JPA implementation) - MacOS Sierra 10.12.3, Core i7 CPU, 16GB RAM, SSD drive java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)   Running sample jar: ... on Windows). - Application is using Spring Boot console application (for JPA implementation) - MacOS Sierra 10.12.3, ...

 
forum_thread

Unable to persist TreeMap

import java.util.SortedMap; import java.util.TreeMap; import javax.persistence.Entity; //---------------- @Entity class Person { public SortedMap<String, String> memberships = new TreeMap<String, String>(); } //Person   ... } //Test Produces console output: Created memberships: { Bar Association=President ...

 
tutorial

Step 4: Run the Application

Running ObjectDB/JPA tutorial in the Eclipse IDE.... . The expected output in the Eclipse [Console] window, is: Total Points: 1000 Average X: 499.5 ( 0,0 ...

 
forum_thread

Trouble viewing db in Explorer.

I am having trouble with the Explorer.  I can open the db just fine. I can open a few simple extents and view/navigate fine also.  The problem occurs when I view the more complex extents. The Explorer will not repaint the right pane.  I drag off screen to force repaint and get(right pane):     (column1)=[n]     (column2)="Exception"     (column3)= "com.***.businessObjects.*myClass*.__odbSetTracker(Lcom/objectdb/spi/Tracker;)V" ... errors. -I have debug on, here is a sample of the console:     [2012-06-07 11:08:06 #47186 query.manager] ...

 
forum_thread

Schema migration - long to String

Hi, I need to change field type in our model from long to String. After changing filed type in our model and repairing database with doctor, most of our entities is gone. Doctor puts some errors on console: ... most of our entities is gone. Doctor puts some errors on console: [51030] Page #466190 entry 5 has unexpected value for field ...

 
forum_thread

Query debugging configuration from class

Is there a way to show what queries are actually being executed from within a Java class? I'm getting the exception: Exception in thread "main" [ObjectDB 2.5.4_05] javax.persistence.NonUniqueResultException However, I'm unable to debug it because I don't know what the query's actually searching for. I would like to show what it's actually executing without setting it in xml but rather through Java if possible? ... actually searching for. I would like to log (in the console or in a separate log file) what it's actually executing without ...

 
forum_thread

UPDATE query to set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save the changes to the DB via file->save. But when I execute a select on the DB I see that the field is still "null" for all instances. How do I initialize the field? ... The workaround is to write some code (even in a simple console application) that update the objects in a loop within an active ...

 
forum_thread

Java fails to run when using JMX Remote + ODB agent

Hi, When using both JMX Remote and ODB as agent, there is a problem to run JVM at all. All this is on Debian linux with two different JVM's. Let me show you some logs from console: - pure java  homplex@homplex01:~$ java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2~squeeze1) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) - pure java + agent ... two different JVM's. Let me show you some logs from console: - pure java  homplex@homplex01:~$ java ...

 
forum_thread

Get activation code for a server with no Internet connection

Hello, We bought a license, but the server is not connected to the Internet. How do we get the activation code? Dmitry Zakharov ... connection. The output of the activation console application is a url that you can open on another computer that is ...