About Server

manual

Database Doctor

Explains how to use the ObjectDB object database Doctor tool to diagnose and repair database files and damaged Java/JPA/JDO objects.... by two instances of the ObjectDB engine (not using one server process), thus bypassing ObjectDB internal file lock protection. ...

 
forum_thread

ObjectDB Privacy

What privacy does ObjectDB have to offer? I'm watching my firewall and it looks like ObjectDB is pushing my data out? Are there any guarantees that I will retain my privacy when using ObjectDB? ... Data is transferred out only between your client and server, if they are not located on the same machine. Check your firewall again, ...

 
issue

NPE when doing a find()

I added a simple User entity during Tomcat startup: class User {  @Id @GeneratedValue private long id; @Basic(optional = false) private String firstName; private String middleName; @Basic(optional = false) private String lastName; } Everything works fine until I restart the server, which does a em.find(User.class, 1).  Then this happens: ... } Everything works fine until I restart the server, which does a em.find(User.class, 1).  Then this happens: ...

 
forum_thread

Entity factory - best practices

Suppose I run a website that handles services such as user registration, user login checks, etc. I have all the credentials stored in an ObjectDB. Currently, each time user sends a request, I initiate a db connection by creating entity manager factory from db on disk, get the entity manager, modify stuff, close the connections. I wonder if it is better to have an overall db manager created on server init, then provide the shared instance over all requests, instead of creating a new one every time. ... if it is better to have an overall db manager created on server init, then provide the shared instance over all requests, instead of ...

 
forum_thread

app.jelastic.eapps.com and objectdb

It seems that this web hosting service doesn't support objectdb and that is frustrating. Does anyone know a way around this? pls help a brother... ... Hi! Jelastic is a Java server Container enviroment. ...

 
tutorial

Step 3: Add a Context Listener Class

Explains how to add a servlet context listener (to manage an application scope EntityManagerFactory) in a NetBeans Web Application.... be closed when the web application stops (or when the web server shuts down), by closing that EntityManagerFactory . To ...

 
page

What is the Java Persistence API (JPA)?

... with a relational database such as Oracle, DB2, SQL Server or MySQL. The popular JPA implementations are Hibernate, TopLink, ...

 
tutorial

JPA Web App Tutorial - NetBeans Project

Opening a JPA Maven web application project in the NetBeans IDE.... Main Project... (or F6 ). Choose or define the server and click OK . If  a browser is not opened - open ...

 
issue

NPE on em.createQuery(query).getResultList()

(JPA2 support getting better but still not quite there, excellent progress regardless). Difficult to see what's going on because of obfuscation, but it didn't look like this exact issue was reported yet (seemed to differ from the other reported and fixed NPEs): ... 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_25 (on Windows 7 6.1). Please report this error on ...

 
forum_thread

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3.1.1 to 3.1.2 this error appears:   ... faced a very serious issue. After upgrading the GlassFish server from 3.1.1 to 3.1.2 this error appears: WARNING: EJB5184:A system ...