QL « EJB « JPA Q&A





1. Does an EJB-QL UPDATE statement defeat CMP    stackoverflow.com

Does running an EJBQL UPDATE statement defeat the performance benefits of container managed persistance when compared to modifing the accessors on a managed entity? I'm interested in this specifically for a database ...

2. MEMBER OF in EJB-QL 3 doesn't work    stackoverflow.com

I would like to retrieve many 'Access' which have one 'Role' in common. It's the Named Querie

SELECT access FROM Access AS access WHERE :role MEMBER OF access.listRole
The Access Entity
public class Access implements ...

3. EJB-Ql vs HQL    coderanch.com

4. EJB QL + Collection property bug    forum.hibernate.org

[I posted this to the EJB3 list as well because we are using them and I don't know if that matters] Hi, We are trying to upgrade from Hibernate-3.1alpha to Hibernate-3.1rc2 (along with the entitymanager and annotation features). We are entirely EJB3 based and some of our queries have stopped working that used to work. For instance, we have a query ...

5. EJB QL and hibernate entity    forum.hibernate.org

I have to say that I don't quite understand how entity beans fit into the picture when you use Hibernate. I thought the idea was to use Hibernate to replace entity beans, since they are two different approaches to the same problem (O-R mapping). So, if the entity bean has an EJB deployment descriptor, which I think it has to have, ...

6. EJB3 QL problem    forum.hibernate.org

Hi I am using EJB QL and have the embedden version of Hibernate which is released with jboss-4.0.4.GA and am experiencing a query problrm which I cannot find a solution for. This is probably not an error, but my lack of knowledge in EJB QL. I am trying to do this: I have an entity (UserDescription) which have an instance of ...

7. hql vs ejb-ql    forum.hibernate.org

hello! you have the choice of using hibernate-core (without entitymanager) or the ejb3 implementation hibernate-entitymanager. both have advantages and disadvantages, with hibernate-core you are using plain-hibernate (session-factory, hibernate-query-language) with all the features hibernate offer. a change to another persistence framework could be harder, because you have to migrate all the code. if you use hibernate-entitymanager, you are using only the ejb3 ...

8. An EJB QL request    forum.hibernate.org

Newbie Joined: Fri May 30, 2008 9:05 am Posts: 18 Hello, i just need any help about an EJB QL query. I have an entity person that as a ManyToMany relation on itself (because a Person has contacts, wich are Persons too). My annotations are well written, i have tested. So, this is my entity Person: Code: @Entity @Table(name="PERSON") @NamedQueries({ ...

9. many-to-many join_table in ejb-ql.    forum.hibernate.org





10. Compare EJB-QL and HQL    forum.hibernate.org