About files

forum_thread

Spring + Maven + persitence.xml

Hi, I tested ObjectDB embedded and it is really fast! Everything worked out of the box. Maven: <dependency>    <groupId>com.objectdb</groupId>    <artifactId>objectdb</artifactId>    <version>2.4.3</version>   </dependency> Persistence.xml #1 2012-09-16 08:58 Hi, I tested ObjectDB embedded and it is really fast! Everything worked out of the box. Maven: ...

 
forum_thread

"where in" query

Is it possible to run a query selecting values that exist in a provided list? e.g. something like: SELECT u FROM User m WHERE u.username IN ('test_user','anotheruser') I've tried various combinations of this including passing the list as a named parameter but without any joy. The only similar examples I can find in the docs involve a join query - but my list isn't in the database - and the MEMBER OF operator doesn't seem to do what I want (although I may be using it incorrectly! #1 2011-06-23 08:12 Is it possible to run a query selecting values that exist in a provided list? e.g. something like: SELEC ...

 
forum_thread

Can't post on your forum

Since yesterday, I can't post on the forum because it always says that I should log in in order to do that. I was already logged in, but, anyway, it appeared as not. I go to log in, then I authenticate, then I'm redirected to the home page, but it still looks that I'm not logged in, so I can't post on the forum. I tried removing the cookies, but nothing. I tried in another browser, but the same. I have new bugs to post, so it's pretty important. #1 2014-05-22 09:21 Since yesterday, I can't post on the forum because it always says that I should log in in order to do that. ...

 
issue

GC overhead limit exceeded

I had some memory problems with a process running over the weekend and received the following exceptions in the objectdb log: 1) Bug Version: Priority: Normal Status: Closed Replies: 1 Type:  Bug ...

 
forum_thread

Distinct Error

Hi, I'm getting a NullPointerException thrown on using DISTINCT. The query works fine if I don't have distinct. However thats NOT a solution as the code generating the query is used for other queries, and some of them do need the distinct. Its only a simple query: QUERY: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.attributeList $2 WHERE ($2.name='firstname') AND ($2.valueAsString='Alex') #1 2011-07-21 01:32 Hi, I'm getting a NullPointerException thrown on using DISTINCT. The query works fine if I don't ...

 
forum_thread

Issue with orphanRemoval and multiple EntityManagers

Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the following issue: #1 2012-04-04 12:17 Hi, We have a problem where our database size grows over time more than expected. We've traced it dow ...

 
issue

new objects not available in mappedBy associations

Given a mappedBy association: e.g: @OneToMany(mappedBy="department") public List <Employee> employees;   creating a new mapped class, e.g. new Employee, won't result in this object being available in the same transaction: ie: for (Employee e : department.employee) won't include the new object, even if it is persisted, and even if the transaction is committed??   Bug Version: 2.0.1 Priority: Normal Status: Closed Replies: 6 Type:  Bug ...

 
forum_thread

On ensuring ID available after persist

This reports on a possible solution to a common problem: I was trialling ObjectDB on an existing, functioning, large JavaEE/JPA web application, which until now had used EclipseLink+MySQL and then Oracle+MySQL. On trying it out on ObjectDB I hit a problem with my very extensive entity wiring code, which relies on an "external" entity object having a non-null id after it has been passed to EntityManager.persist, thus: #1 2011-05-31 00:39 This reports on a possible solution to a common problem: I was trialling ObjectDB on an existing, functio ...

 
forum_thread

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

I have two classes a Container type class and another class that is 'contained' by that class. The contained class, CompoundKeyMapItem, represents an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works fine on Eclipselink. However when I try and run this in ObjectDb I get the following error; #1 2011-09-23 10:36 I have two classes a Container type class and another class that is 'contained' by that class. The co ...

 
forum_thread

@Convert is not supported?

Does objectdb jpa implementation support @Convert annotation? (convertion of property before persistance and vice versa)   for example @Convert(converter = MyConverter.class) private Date date;   I've wrote a test on this, and seems that my Converters methods are not executed at all (like annotation doesent exist) #1 2014-08-25 14:06 Does objectdb jpa implementation support @Convert annotation? (convertion of property before persistance and vice ...