About type

forum_thread

Entity Type is not found (error 301) in Query

Overall test OpenJPA, HibernateJAP, EclipseLink and ObjectDB. No Problem with OpenJPA, HibernateJAP, EclipseLink For ObjectDB there is one query in following method, where the full qualified class name is necessary. See method code - red part Otherwise an error will occure. ... u.email = :email javax.persistence.PersistenceException Type User is not found (error 301) (position 14) at ...

 
manual

Query Parameters in JPA

Explains how to use parameters (named parameters and ordinal parameters) in JPA queries.... implicitly by appearing in the query string. The parameter type is inferred by the context. In the above example, a comparison of :name to a field whose type is String indicates that the type of :name itself is String . ...

 
api-jpa

javax.persistence.TemporalType

Type used to indicate a specific mapping of java.util.Date or java.util.Calendar.(Enum of JPA)

 
forum_thread

Can't get arraylist/vector type attributes

I have a class that contains some attributes of type Vector (also tried with ArrayList and same happens). When I try to get an object from that class doing using the find method it works fine, I get the object. But when I call the close method to close the EntityManager the information from the Vector dissapears and I get an empty vector. ... I have a class that contains some attributes of type Vector (also tried with ArrayList and same happens). When I try to get an ...

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

 
forum_thread

Activated ObjectDB still throws "Too many persistable types"

I have upgraded from 2.3.7 to 2.4.4 and now my activation won't work, throwing the dreaded com.objectdb.o.UserException: Too many persistable types (>10) - exceeds evaluation limit I have already reactivated and checked that my objectdb.conf is correctly used (by inserting random chars at the beginning of the file, which lead to an error). Yet I still get the error thrown. Nothing in my configuration changed except the version. What could possibly be the problem with that? #1 2012-10-29 14:43 I have upgraded from 2.3.7 to 2.4.4 and now my activation won't work, throwing the dreaded com. objec ...

 
issue

javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL

ObjectDB 2.3.6_16: The following works in EclipseLink+MySQL and EclipseLink+Oracle: ... Type:  JPA Feature ... should be posted as attachments . Type: * Bug JPA Feature JDO Feature Feature Request ...

 
api-jpa

javax.persistence.EnumType

Defines mapping for enumerated types.(Enum of JPA)

 
forum_thread

Not Enhanced: ...: com.objectdb.o.TEX: Type ..._$$_javassist_1 is not found

Hello! ObjectDB logs these errors when I start the app and open the log in page. (see attachment) dk.mandecentret.boundary.AuthB is a @javax.enterprise.context.RequestScoped and dk.mandecentret.boundary.UserSessionB is @javax.enterprise.context.SessionScoped. AuthB contains UserSessionB through @Inject. Both are not entities or anything related to ObjectDB. AuthB is used in a JSF page for login. UserSessionB contains @Inject UserC, which is @Stateless for dealing with CRUD operations on User (an ObjectDB Entity). #1 2013-06-02 15:19 Hello! ObjectDB logs these errors when I start the app and open the log in page. (see attachment) dk.mand ...

 
api-jpa

javax.persistence.Query

Interface used to control query execution.(Interface of JPA)