ObjectDB Database Search

1-50 of 86 results

ObjectDB Object Database Features

for Eclipse, NetBeans, IntelliJ and Maven. Getting Started Tutorial  ( console ). Web Application

Database Server

: avoid printing messages to the standard output - console : avoid showing the server tray icon

JPA Class Enhancer

reflection. Command Line Enhancement ObjectDB Enhancer is a Java console application. It is contained in

Posting Sample Code

/ embeddable classes. Avoid dependency on external libraries . Use a console application with a main

Unexpected output "*** PatternParameterImpl" in the java console

We have an unexpected output "*** PatternParameterImpl" in our java console . Do you know why? Caused by: PrintStream.write(String) line: 603 PrintStream.print(String) line: 745 PrintStream.println(String) line: 882 ThreadPrintStream.println(String) line: 179 TYS.k() line: 199 TYM.Z(boolean

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

system. - I have used both a console test app and a NetBeans web app in Glassfish; the initial report is limited to the console app, as the web app introduces some other factors (especially concerning the Ant build). - The NetBeans project for the console app uses a post-compile, pre-deployment Ant

Glassfish 3.1.2.1 and ObjectDB 2.4.3

, Browser, etc.). In addition, check if there are exceptions in the console or in the server log. support ... Framework 1.9.46 started in: 1ms - bound to [0.0.0.0:7676] INFO: The Admin Console is already installed ... : The Admin Console is already installed, but not yet loaded. INFO: The Admin Console is starting

How to disable use of graphic windows by objectDB

Pereira Try: java -cp objectdb.jar com.objectdb.Server run - console support Support It worked! But now i ... the following in another console window should stop the server: java -cp objectdb.jar com.objectdb.Server stop support Support No it didn't, the process is still running! Here is what i got from my console

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

is printed in the console , open ObjectDB Explorer, modify an entity's type from GOOD to BAD, save ... . If you need an immediate solution, please isolate the issue further into a simple minimal console ... almost every issue with a simple console application. If this is not possible, you may create an issue

JPA Tutorials

The following tutorials demonstrate how to develop database driven applications using JPA and the ObjectDB ODBMS (Object Oriented Database Management System). Console JPA Tutorial The Quick Start tutorial demonstrates how to use ObjectDB and JPA in a console application: Quick Start with JPA

Performance problem

on the production server from JBoss. The test database on the production server from a simple console test program. The production database on the production server from a simple console test program ... . Results from console program reveal some other interesting facts The test database on the production

LAZY @ManyToOne field functions as EAGER

to console a lazy @ManyToOne field after the entity manager closes. There is a switch DO_VIEW ... . console ; import javax.persistence.*; /** * * @author Darren Kelly (Webel IT Australia) */ public class ... the console view of the fields of the entities will be      * called after find

Show Sql/Jpql

Is there a way to show the executed Sql/Jpql in the console ? wua Andreas Wurm You can set the log element in ObjectDB configuration to write logging also to the console :      When stdout is set to true , all the logging information is written to the console , in addition

Remove a modified entity cause an optimistic lock exception

. Thanks for writing a minimal Java console test case. However, since it behaves differently ... the object. Committing the changes. The console application is the same but without the flush. Accordingly the following console application includes flush before remove and throws

Step 4: Run the Application

You can now run the application by right clicking the Main.java file (in the [ Package Explorer ] window) and selecting Run As Java Application . The expected output in the Eclipse [ Console ] window, is: Total Points: 1000 Average X: 499.5 (0,0) (1,1) (2,2) (3,3) : : (998,998) (999,999

Getting Started with JPA - NetBeans Project

To open and run the  Quick Start with JPA tutorial project in NetBeans: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in NetBeans: Select File Open Project... . Select the points- console directory and click Open Project . Run

Getting Started with JPA - IntelliJ Project

To open and run the  Quick Start with JPA tutorial project in IntelliJ IDEA: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the project in IntelliJ IDEA: Select File Open Project... . Select the points- console directory and click Open Project

Getting Started with JPA - Eclipse Project

To open and run the Quick Start with JPA tutorial project in Eclipse: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select the points- console

Getting Started with JPA - Maven Project

The current directory should be points- console (containing the pom.xml file). No need to download

Duplicate Entity class names causes Exception in Query

Please try to isolate the problem and provide a console test case, similar as possible to the simple ... console test apps! Thanks for your help. BTW the @Unique annotations for non @id attributes makes ...  a console app.    In this particular run no other JPA provider or other PU is being used

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

to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW ... ; package com.greensoft.objectdb.test. console ; import java.util.ArrayList; import java.util.List; import ... .greensoft.objectdb.test. console .TestLazyOneToMany Then ObjectDB follow the hint and the output is: a.listA

Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar

am having problems with a console -based Netbeans Java Application with a nominated Main class ... but not necessary for running simple console application tests), but it is difficult to simply ... it "stalls", I can see startup/welcome output from JRebel in the console window. I can well imagine

Error when trying to open the Explorer (failed to find Java VM)

Have you tried both explorer.exe and explorer-b.exe ? Can you write it from the console : java -jar explorer.jar ... ; On console :  By trying explorer.exe I get the following: [info] Module INI: C:\dbs\objectdb-2.5.3 ... opens as supposed. Both on console and on windows using explorer.jar works as supposed

500Mb ObjectDb database opening issue

a simple test case that demonstrates the issue, i.e. a console application with your entity classes ... why). Other things to check that may help understanding the cause is opening a database file in a console ... a console application with no activation codes. support Support Call stack without activation codes

Remove an entity which attributes were changed - OptimisticLockException

console application? support Support In a simple console application the issue is not occurred. I ... to that console test case? It is very difficult to follow an issue in a large test case (2 projects

How to enable and disable auto schema update?

but it is not working. java -Djava.objectdb.temp.no-schema-upgrade=true -jar objectdb.jar - console ... working java -Dobjectdb.temp.no-schema-upgrade=true -jar objectdb.jar - console Manoj Manoj Kumar ... .no-schema-upgrade=true -jar objectdb.jar - console There should be no difference by ObjectDB - as in

Maven driven compile time ehnancement

your example to enhance a console application but it seems that applying it on a web application ... project . Replace the pom.xml file with the attached file. Run the project from the console - using

Eclipse plugin problem (using ObjectDB as a separate bundle)

the console . Please let me know what you think is the problem.   NB. I could not simply create ... ;Investigations. The console includes: !SESSION 2011-07-13 23:37:23.812

Double persist of Entity field with Cascade.ALL

all required projects) Run Book_dberror enterprise app project. On the Netbeans output console ... . Run Book_dberror enterprise app project again. On the Netbeans output console , when prompted

Eclipse/JPA database tutorial

more details: Is it the console tutorial? a web tutorial? When exactly do you get the error message ... , check if there are exceptions in the console or in the server log. support Support Thanks

Java 6/7 Performance Comparison

embedded mode based on the console tutorial, there seems to be a bit of a performance gap running ... operations, and no ObjectDB operations are recorded. It would be be better to use a simple console

@OneToMany(fetch = FetchType.LAZY) list is always null

; } } Vladiator Vlad Myachikov Please minimize the test case to a simple console application in this format . support Support All works normally in the console application. Vladiator Vlad Myachikov  I

Database Inconsistency or corruption

For further investigation of this issue please post a minimal console test case that demonstrates it in the format specified on the posting instructions . support Support Hi, providing a minimal console test is not

JPA example is failing

I am running the server using this command: java -cp objectdb.jar com.objectdb.Server start console output: ObjectDB Server started on port 6136. I am using the example you have given for JPA . I ... .encoding=UTF-8 -classpath /home/svcid/projects/points- console /target/classes:/home/svcid/.m2

Error 363 - Failed to read value of inverse relationship

instructions ) in order to demonstrate the problem. support Support Here's my console test app. I commented

Problem with @OrderBy

;... } The error is printed on the console where I started the Explorer Th error that seems most informative

problem with lazy loading - unittest project attached

Ernst I had some problems in using Maven with the test in Eclipse but it runs well from the console

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

EntityManager JPA or JDO impl and different behavior

you for the test project. Similar code works well in the following console test application: import java.util

Fantom

an executable jar and provide an explanation for a non Fantom user - what exactly to run from the console

Trouble viewing db in Explorer.

have debug on, here is a sample of the console :     [2012-06-07 11:08:06 #47186 query

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ObjectDB Server started on port 7136. Exception in thread "ODB-StoreHandler-29" java.lang.OutOfMemoryError: GC overhead limit exceeded         at java.lang.StackTraceElement

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 : [51030] Page #466190 entry 5 has unexpected value for field affiID   pl.hplxtool.model

Optimistic locking: prevent version increment on entity collection attribute

oudjanef Farid Oudjane Please try to create a simple console test. Unlike the test in #5 that passes

Unable to persist TreeMap

;} //main //---------------- } //Test Produces console output: Created memberships: {Bar Association

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

console app for NetBeans8.1 provided, as explained below). To reproduce download the app ... /objectdb/GreensoftObjectdbTestNoweb.2016-08-15.GS4230.tgz com.greensoft.objectdb.test. console .Main ... ) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) at com.greensoft.objectdb.test. console .Main

Improve ObjectDB Server

) - Keep it as a console -only app - Put important log info to the console as well - Provide possibility ... ObjectDB as a console application  including on headless servers and JVM with no GUI and Swing

ObjectDB 2.0.0

performance). Added support for running a server with no tray icon (using a - console flag). Changed

Eager load Map

map is empty so nothing is printed to the console . If you uncomment the 2 lines after the "find

New entity objects are duplicated on merge cascading

When merge is cascaded to a new entity object that has not been persisted yet - it becomes persisted twice rather than once. This was demonstrated by a Java EE application in this forum thread but may be reproduced also in a simple console test case: import java.util.*; import javax.persistence