Hibernate
EclipseLink to Hibernate migration
I\'m trying to migrate enterprise application which was built for Glassfish3 + EclipseLink to JBoss7 + Hibernate.[详细]
2023-04-12 05:50 分类:问答How can I cascade delete a collection which is part of a JPA entity?
@Entity public class Report extends Model { public Date date; public double availability; @ElementCollection[详细]
2023-04-12 03:24 分类:问答JPA - Multiple columns discriminator
I have 3 tables like this in MySQL 5: PERSON| |id|fullName| isEmp|isParent| EMPLOYEE| |personId|code| PARENT|[详细]
2023-04-12 03:05 分类:问答NHibernate - CreateSQLQuery exception "No persister for ..", why?
I\'m trying to create a SQL query in NHibernate using CreateSQLQuery: var query = session.CreateSQLQuery([详细]
2023-04-12 03:04 分类:问答Hibernate Annotations one-to-many parent-child delete
I am working with onetomany relationship in hibernate JPA annotations, here is my table and entity class details...[详细]
2023-04-12 02:52 分类:问答What does %{ } mean?
I\'m new t开发者_如何学编程o some Java technologies; I\'m trying to use a combination of struts, hibernate, and jQuery. I\'m trying to figure out what does the %{} means in the following line of code:[详细]
2023-04-12 02:02 分类:问答Hibernate Search in a Clustered Configuration?
I have a Java web app that I\'m developing, using JBoss Seam as the application framework.I\'d like to take advantage of Hibernate Search to provide entity searching capabilities.The integration has g[详细]
2023-04-12 01:47 分类:问答Hibernate EntityManagerImpl: Getting or setting up access to it
We are developing a Java EE application using Hibernate as a JPA provider. We now wish to use Hibernate Criterias but for that I need to get access to the HibernateEntityManagerImpl.[详细]
2023-04-12 01:30 分类:问答Usecases that really need Hibernate HQL over JPQL
I know JPQL is a subset of HQL. Are there any practical usecases (please give examples) that really need HQL specific features to be used (that means it is impossible or considerably difficult with[详细]
2023-04-12 01:09 分类:问答Creating persistance layer with spring/hibernate
I\'m trying to create a persistance project so it can be re-used by some other projects I\'m building on top. I.e it will be used by a web service/spring mvc project and by standalone jar which does s[详细]
2023-04-12 01:08 分类:问答