About member

forum_thread

Error using query with MAX() function

I have a class that is persisting a Entity that holds remarks and a time. Then when I query for the latest remark I get a internal error when the remark is larger than 1966 chars. Here is a test class and entity that reproduces the problem on my system. ... <navigations> <addDate member="addDate" memberType="java.util.Date" id="0" /> ... var="1" directVar="0" ext="1"> <member exp="$1.addDate" type="java.util.Date" var="1" directVar="0" ext="1" ...

 
release

2.6.7

... time values (java.sql.Time). Fixed a bug in MEMBER OF queries on embedded objects. Fixed a bug in querying ... Added OSGi support. Added support of MEMBER OF for inverse (mapped by) collections. Changed logging of ...

 
forum_thread

Get multiple entities by Id

I'm trying to fetch a list of entities, by their Id. I Use this query: SELECT c FROM User c WHERE c.id IN :ids This querey works as long as I don't set the property "id" as @Id. If i set @Id to any other member, this query works, if I set id as @Id, it stops working and gives zero results. Is this a known limitation or a bug? Do you have any idea how to solve this problem? ... property "id" as @Id. If i set @Id to any other member, this query works, if I set id as @Id, it stops working and gives zero ...

 
forum_thread

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

hi, i currently try to use objectdb for a new project. i wanted to use it in combination with spring-data-jpa (M2), but i'm not able to use the automatic repository feature because the following code fails         EntityType<T> type = metamodel.entity(domainClass); ... ) ; in the debugger is i can see this member m_idType is null type EntityTypeImpl<X>  (id=57) ...

 
forum_thread

Eager Fetch is not stable for collection or map types?

Hi, thanks very much for your helpful software. The problem is the storage of collection or map types is not stable, we lost them sometimes after JVM restarted. Eager fetch is properly set.And we still found that the storage is stable when we not use generic, such as "private List users = new ArrayList();" instead of "private List<User> users = new ArrayList<User>();".   The code about entity and fetch is: #1 2011-11-22 12:19 Hi, thanks very much for your helpful software. The problem is the storage of collection or map types is not ...

 
api-jpa

javax.persistence.metamodel.MapAttribute

Instances of the type MapAttribute represent persistent java.util.Map-valued attributes.(Interface of JPA)

 
forum_thread

em.flush(); em.clear(); loosing data and not persisting managed objects

I'm having trouble with flush() and clear() in a loop inside a transaction not persisting modified objects to database. Sometimes it does other times it doesn't. Here is my Entity. ... <navigations> <addDate member="addDate" memberType="java.util.Date" id="0" /> ... var="1" directVar="0" ext="1"> <member exp="$1.addDate" type="java.util.Date" var="1" directVar="0" ext="1" ...

 
release

2.6.8

... time values (java.sql.Time). Fixed a bug in MEMBER OF queries on embedded objects. Fixed a bug in querying ... Added OSGi support. Added support of MEMBER OF for inverse (mapped by) collections. Changed logging of ...

 
release

2.6.9

... time values (java.sql.Time). Fixed a bug in MEMBER OF queries on embedded objects. Fixed a bug in querying ... Added OSGi support. Added support of MEMBER OF for inverse (mapped by) collections. Changed logging of ...

 
forum_thread

Date field Index is corrupted due to time change

Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete attempt with DB explorer results in the following exception: #1 2015-11-03 06:52 Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete attempt with ...