I am using separate hbm.xml files for hibernate mappings and开发者_开发知识库 facing problem in defining transient property. I spent several hours without luck to search a working example or writing m
I have a JSF 2.0/Servlet 3.0 Web application using hibernate with a connection pooled data source on glassfish 3.
As per hibernate documentation , below is the definition of update开发者_开发知识库 operation
I have a native query that executes a stored procedure and the results is mapped to an entity, this works fine but the t开发者_开发技巧hing is the entity is created in the database (I\'m referring to
I have this Fluent NHibernate mapping: public LossMap() { Table(\"losses\"); Id(x => x.Id).Column(\"id\");
java.sql.SQLException: could not reset reader at org.hibernate.lob.ClobImpl.getCharacterStream(ClobImpl.java:100)
I\'m currently working on a project that uses data access on different databases. Our main database is accessed through Hibernate (either via the Criteria framework, or HQL queries), but we also have
I have a parent-child relationship, such as Order to Order Item, which I have represented in the domain model like this:
A simple case. A user has many photos. When a user gets deleted, all of his/her photos should be deleted too (rule of cascades).
In a Java EE application with hibernate, in a big table, I want to purge some millions of objects. For example