About directories

forum_thread

InternalError on multiple AND and JOIN Query

Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.contactDetails $2 JOIN $2.addresses $3 JOIN $3.attributeList $4 JOIN $2.phoneNumbers $5 JOIN $5.attributeList $6 WHERE ((($4.name='suburb') AND ($4.valueAsString='Los Angeles')) AND (($6.name='areacode') AND ($6.valueAsString='310'))) Getting: #1 2011-07-22 01:36 Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1. ...

 
release

2.0.3

Release date: 2010-12-13 Download (3.4 MB) Binary:  objectdb-2.0.3.zip ObjectDB 2 is already in use in production in several applications and is m ...

 
forum_thread

ODB lost?

I'm new to ObjectDB. While debugging small programs in single-step mode in NetBeans, the ODB appears to get corrupted or lost if I don't invoke close on EntityManager. If I re-run my program and get a new EntityManager, the instance behaves as if the data that was persisting is somehow gone. I noticed in the file system, indeed, the .odb file is gone, but there are <name>_<v>.odb files where <name> is the name of my odb and <v> is apparently a version number. Is there any way to recover <name>.odb? #1 2011-03-18 23:11 I'm new to ObjectDB. While debugging small programs in single-step mode in NetBeans, the ODB appears to get corru ...

 
tutorial

Step 4: Run the Application

Running ObjectDB/JPA tutorial in the Eclipse IDE. You can run the application now by right clicking the Main.java node (in the [ Package Explorer ] window) and selecting Run As > Java Application . The expected output in the Eclipse [Console] window, is: ...

 
forum_thread

Password Protect Database File

Is there a way to encrypt the odb file so that if hackers somehow steal it they cannot access the data without some kind of password? I would imagine accessing the database from java could just have another connection parameter while accessing from explorer.jar/exe would need to prompt the user for a password for encrypted odb files. ... operating systems support encryption of complete drives, directories or files, and an ObjectDB database is an ordinary file. If ...

 
tutorial

Java EE 6 JPA Tutorial - Maven Project

The Java EE 6 JPA Web Application tutorial for GlassFish as a Maven project (download & run). The  Java EE 6 Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in  Eclipse or  NetBeans . Building a new application step by step is an ...

 
forum_thread

Need disk usage and delete some old files

    Hello , is it possible to get disk usage of database ? If disk usage becomes too high , delete old date files from database. And recalculate disk usage back ?   #1 2013-01-28 01:27     Hello , is it possible to get disk usage of database ? If disk usage becomes too high , del ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in an Eclipse Spring MVC web application project. To store objects in an ObjectDB database using JPA we need to define an entity class: Right click the project node (in the [Package Explorer] window), select  New > Source Folder , enter src/main/java as Folder ...

 
tutorial

Spring MVC JPA Tutorial - IntelliJ Project

Opening a Spring MVC JPA Maven web application project in the IntelliJ IDEA. To open and run the  Spring MVC JPA tutorial project in Download and extract the project zip file: Spring MVC JPA - Maven Project (7KB) . Open the project in IntelliJ IDEA: Select  File > Open Project... . Select t ...

 
forum_thread

failure to enforce NOT NULL for java.lang.String

my test cases are indicating that @Basic(optional=false) and @Persistent(nullValue=NullValue.EXCEPTION) are not enforced in 2.3.7_08 or that i have failed to understand how to annotate. example: @Entity public class Request {   public Request() { }   @Id @GeneratedValue(strategy=GenerationType.IDENTITY)   private Long id; #1 2012-04-06 12:53 my test cases are indicating that @Basic(optional=false) and @Persistent(nullValue=NullValue.EXCEPTION) are not e ...