About start

issue

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log reports this as: ... mode - connection management seemed like a good place to start. edit ...

 
forum_thread

Attempt to begin a new transaction when a transaction is active

The code I have a RecordDao stateless java bean :  ... and as the error message states, you are trying to the start a transaction that is already active. Try commenting the begin and ...

 
forum_thread

Deploying objectdb.jar to karaf 4.0.7 seems to fail

Hello, I'm evaluating ObjectDB for a future use in an OSGi project using Apache Karaf 4.0.7 (and later) as OSGi container. When I try to deploy the objectdb.jar file to Karaf (copy the jar file to the deploy folder in Karaf) I get a stacktrace in the Karaf log file with the following message: ...   karaf@root()> list START LEVEL 100 , List Threshold: 50 ID | State  | Lvl | ...

 
forum_thread

Problem using Maven Repository - Enitiy Class will be ignored

I found this suspect if i use the maven to download objectdb. <dependency>             <groupId>com.objectdb</groupId>             <artifactId>objectdb</artifactId>             <version>2.6.2</version> </dependency> I got follow Java Warning that tells me that Entity Class will be ignored. #1 2015-05-29 19:44 I found this suspect if i use the maven to download objectdb. <dependency > < ...

 
release

2.1.0

... You should start by following a  tutorial or reading the manual . For ... JPA 1 jar in the classpath. Changed server start avoiding new process creation. Added logging for class ...

 
issue

InternalException

I'm getting a new InternalException (see below). No repeatable example as yet but will work on that and let you know as soon as we have one. If there's anything in the exception which could help us narrow down the problem please let me know. ... the EntityManager ) before the ordinary working threads start and their  EntityManager  instances are instantiated makes ... using the em.getMetamodel().entity() method on start-up (otherwise we used to get errors on empty database queries). The app ...

 
forum_thread

Left join fetch behaviour doesn't retrieve children?

Hello support, I'm a little bit confused about a left join fetch behaviour. In this test case, i try to fetch my 3 children using a left join fetch. But my collection is null after closing the em. It was expected to be fetched before closing the em, no ? In fact, that is the objective of the fetch purpose (i guess ?). ... createEntityManager ( ) ;   Long start = new Date ( ) . getTime ( ) ; ... ;   Long duration = ( end - start ) / 1000 ; System. out . println ( ...

 
forum_thread

Composite indexes

Hi, I read your manual about defining Indexes for JPA Entities (http://www.objectdb.com/java/jpa/entity/index), but I still have some problems understanding how and when should I use them.   Let's start with some example then. Assume we have an entity that represents an interior design image, called Inspiration : ... when should I use them.   Let's start with some example then. Assume we have an entity that represents an ... on relations? @OneToOne, @ManyToOne? I don't want to start with complex example, so maybe I'll try to explain my doubts ...

 
forum_thread

Replication failed

Dear support members, I am trying to set up a replication url in objectdb.conf and have the the following error in the log files: [ObjectDB 2.3.4] javax.persistence.PersistenceException Failed to connect to server 127.0.0.1:6136 (Connection refused) (error 522) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:176) My objectdb.conf: ... verify that both servers on 6136 and 6000 are running, start with an empty database or with an up to date copy of the master database ...

 
forum_thread

Not able to update records

Hi,   I am tring to update the simple object by using Update query by i am getting following exception [ObjectDB 2.4.4_15] javax.persistence.TransactionRequiredException Attempt to run update query when no transaction is active (error 611) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery.java:758) Following is the code i am executing   ... executeUpdate with em.getTransaction().begin() to start the transaction and em.getTransaction().commit() to end the ... ( ) . begin ( ) ; // start the transaction Query query = em. createQuery ( ...