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 ) - ...

 
forum_thread

Eclipse4 RCP - No Persistence provider for EntityManager

Hello, I'm developing an Eclipse4 RCP application which uses ObjectDB and have the following problem after calling Persistence.createEntityManagerFactory("test.odb") : javax.persistence.PersistenceException: No Persistence provider for EntityManager I'm using the latest ObjectDB 2.6.2.b03. It is integrated in our target platform. It is noticed that since 2.6.2.b02 there is no more integrated javax.persistence & javax.transaction. ... You may try embedding it into objectdb.jar, although not very pretty. Alternatively, see this ... ( LocalEntity. class ) ; storageSvc. insert ( new LocalEntity ( ) ) ; ...

 
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

Glassfish 4 JTA Data Source Support

I would like to have the persistence.xml of my server application (REST service) use a JTA data source, so that I can configure the data source from the app server (Glassfish 4 in my case).  My application already uses a number of JDBC data sources for Oracle etc., that are configured in that way, but I'm not sure how to achieve it with ObjectDB.... willing to share it then we may be able to integrate it into ObjectDB and maybe extend it in the future. ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. ... it was a problem in my code for how I loaded the content into the table, but then I tried checking the content from my ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then insert the text in the new created block. Avoid overflow of ...

 
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 ) - ...

 
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

locks on pure query activities

analyzing the dynamic behavior we can see from the thread dump that a lot of our threads that are just doing simple queries show locks like these (question is: why there are locks and how could we get rid of that):   log1:   ... the more threads are doing exactly the same query we step into more and more situations like the first heap dump where all are waiting to ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...