About INSERT INTO

forum_thread

How to install ObjectDB on my Amazon EC2?

Hi I just created an Amazon EC2 account and I want to build project based on Java/JPA and OpenDB. I searched the web but didn't find any proper tutorials. I appreciate if you help me with a guide. Thanks.  ... VPS, then unzip the ObjectDB archive, then you navigate into "bin" folder of the folder that was created due to unzipping, then you run ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
issue

Object DB Explorer fails to open database

Hello,   I am trying to integrate Object DB into my tapestry project which will use spring-security. I have created an entity class named "Role" which implements springs "GrantedAuthority" interface. The code runs fine. i.e. Role objects are getting persisted in the database. But when I try to open the database using Object DB Explorer, it fails.    I have attached all the related files.    Regards, Md. Towfique Imam. ... I am trying to integrate Object DB into my tapestry project which will use spring-security. I have created an ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
issue

Full Text Indexing and Query

The ability of ObjectDB to index collections, including collections of strings, can be used for text indexing and search. By splitting the text into words and keeping the words in a List<String> persistent fields, documents that contain specific words can be retrieved easily and efficiently. This ability should be extended in future versions of ObjectDB to complete full text support, as provided by separate tools such as Apache Luncene.... in text indexing and search. By splitting document text into words and keeping these words in a List<String> persistent ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

removed objects stay with null field values in the reference

We have a class with a one to many relationship declared like this (1 or more objects of the same class are linked into the relationship, no circular referencing): ... like this (1 or more objects of the same class are linked into the relationship, no circular referencing): @ Entity ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Annotations not supported in -source1.3 (use -source 5 or higher ..)

objectdb-2.2.5_03 Netbeans IDE6.9.1 java version "1.6.0_24": as user running Netbeans java version "1.5.0_28": as su running maven mvn Maven version: 2.0.8 Firstly, I followed the instructions to build the points example from Maven, but on opening it in Netbeans 6.9.1 I got an error in Points.java and other files: Annotations not supported in -source1.3 (use -source 5 or higher ..) Generics not supported in -source1.3 (use -source 5 or higher ..) ... Application in Netbeans and copied the points package over into it, and added the objectdb.jar library and it compiled and ran. ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Failover from Master to Slave

Good morning! I am interested in ObjectDB for a client project I am currently working on. In order to evaluate your tool I would like to know if your product has the ability to failover from a Master Database to a Slave Database and then recover back to the master when the master comes back online. I don't see any documentation about automatic failover.   Thanks Rich   ... DB A won't have all the modifications that were added into B while it was down. One possible solution: when we configure ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Multi-Threading/Distributed-Database Questions...

Greetings ObjectDB team, All below questions assume a very large database (~1,000,000,000 objects): Q1: In what cases would ObjectDB utilize multi-threading ? how about in JOIN operations ? Q2: Is it true that two read-only JPQL queries accessing the same database file actually run simultaneously if placed into two independent threads ? no I/O synchronization bottlenecks ?... same database file actually run simultaneously if placed into two independent threads ? no I/O synchronization bottlenecks ? ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Removing entity class

Hello, I am using evaluation version of ObjectDB for long term private project. Recently I hit the 10 entities limit and got exception: com.objectdb.o.UserException: Too many persistable types (>10) - exceeds evaluation limit Among the 10 entities in the project there are 2 entities I added long time ago and they were never really used. I deleted them from Java source code, but there are still in ObjectDB database. The 2 tables for these entities are empty, but the tables exist, so they count into 10 entities limit. ... entities are empty, but the tables exist, so they count into 10 entities limit. My question is: Is it possible to remove ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Problem persisting a TreeSet field

Hello, I am getting a "java.lang.IllegalArgumentException: Can not set java.util.TreeSet field Message.children to java.util.HashSet" when persisting a Message object with a parent/children relationship: @ManyToOne private Message parent; @OneToMany(mappedBy = "parent") private TreeSet<Message> children; Seems that objectdb is converting TreeSet into HashSet? Why? http://www.objectdb.com/java/jpa/entity/types says TreeSet is supported... ... ; Seems that objectdb is converting TreeSet into HashSet? Why?  http://www.objectdb.com/java/jpa/entity/types says ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Bug with unique constraint exception not resulting in transaction roll back

I'm using ObjectDB 2.5.6_02 and running into a bug with a JDO @Unique constraint.  I'm using JPA in general. I have an EJB persisting two entities with @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) declared on the EJB method.  The two entities have the same value for the field with the @Unique constraint. The unique constraint causes an exception as expected, but I would expect ObjectDB to roll back the transaction and not persist anything.  However, it is persisting both entities. ... I'm using ObjectDB 2.5.6_02 and running into a bug with a JDO @Unique constraint.  I'm using JPA in general. I ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...