About console
Step 1: Create a Java Project
Explains how to create an Eclipse project with ObjectDB/JPA support. We start by creating a new Eclipse Project, using: File > New > Project... If you are using Eclipse IDE for Java EE Developers, you can see in the [New] menu a command for creating a [JPA Project]. We are not using that type of pro ...
Step 1: Create a Java Project
Explains how to create a NetBeans project with ObjectDB/JPA support. We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File > New Project... Select Java > Java Application and click Next . Choose a Project Name (e.g. Tutorial ). Th ...
Getting Started with JPA - Maven Project
The Getting Started with JPA tutorial as a Maven project (download & run).... mvn test The current directory should be points-console (containing the pom.xml file). No need to download and ...
JPA Tutorials
Tutorials for using JPA and ObjectDB in Eclipse and NetBeans (console applications, web application, Java EE 6 applications).... (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 Tutorial ...
Improve ObjectDB Server
Improve ObjectDB Server to behave and feel more like a traditional db-server: - Remove SWING dependency (i.e. remove the tray icon or make it external from the core server) - Provide the possibility to easily install the objectdb as service on each system (requires removing swing dependency) - Keep it as a console-only app - Put important log info to the console as well - Provide possibility to not only create new databases but remove existing ones as well ... removing swing dependency) - Keep it as a console-only app - Put important log info to the console as well - Provide possibility to not only create new databases ...
How to disable use of graphic windows by objectDB
Helo folks, i created a shell script to start objectDB as a service in my linux machine, but the problem is when it starts, show some popup windows and try to create a notification icon in my gnome's process bar. How can i disable that feature? Regards, LottaLava ... java -cp objectdb.jar com.objectdb.Server run -console ObjectDB Support ObjectDB - Fast ... Running the following in another console window should stop the server: java -cp objectdb.jar ...
LAZY @ManyToOne field functions as EAGER
In the code example below (also attached) I would like to understand why I am able to print to console a lazy @ManyToOne field after the entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a LAZY @ManyToOne field and an EAGER @ManyToOne field are viewable: b.cLazy:{C}[2]"cLazy" b.cEager:{C}[3]"cEager" ... would like to understand why I am able to print to console a lazy @ManyToOne field after the entity manager closes. There is a ... package com. greensoft . objectdb . test . console ; import javax. persistence . *; /** * * ...
Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar
This is not a question to ObjectDB support, it is a discussion item for ObjectDB users who use Netbeans IDE. I am encountering the following problem when using enhancement with Netbeans IDE 7.1. To enable enhancement I use the following in the Project Properties dialog Run section under VM Options: -javaagent:lib/objectdb.jar where there is a lib folder under the main project folder. This works fine for a Netbeans Web Application (that runs in Glassfish as web application container). ... container). However I am having problems with a console-based Netbeans Java Application with a nominated Main class to run, and ... development but not necessary for running simple console application tests), but it is difficult to simply switch JRebel on and ...
Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany
In the code example below (also attached) I would like to understand why I am able to print to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a mapped @OneToMany list and an unmapped @OneToMany list are viewable: a.listA_mapped:[{A}[4]"ownedElement1", {A}[5]"ownedElement2"] a.listB_unmapped:[{B}[2]"b1", {B}[3]"b2"] ... I would like to understand why I am able to print to console a lazy @OneToMany mapped field after a finding entity manager closes. ... package com. greensoft . objectdb . test . console ; import java. util . ArrayList ; import ...
Maven driven compile time ehnancement
Hi, Just thought I'd share a small bit of Maven config to aid in enhancing persistent classes during compile time. Just add the following to your pom.xml: ... useful. I could use your example to enhance a console application but it seems that applying it on a web application might ... the attached file. Run the project from the console - using mvn package jetty:run The enhancement ...