1. NHibernate - Updating a table with a trigger on it causes an error - Unexpected row count: 2; expected: 1 stackoverflow.comSo I'm trying to update an object in my MS SQL 2005 database using NHibernate. Please keep in mind that this is a legacy database used in many live systems ... |
2. How can I trigger actions in my JPA mapped classes whenever they are saved to the database? stackoverflow.comI want to have a function in one of my JPA annotated classes that is called every time the EntityManager saves them to the database (aka event listener). Is that possible? ... |
3. Manytoone triggers many selects. Or it is not being lazy. forum.hibernate.org@Entity public class User { ... @OneToMany(mappedBy="user") @JoinColumn(name="userId") @Cascade(value = { CascadeType.ALL, CascadeType.DELETE_ORPHAN }) @LazyCollection(LazyCollectionOption.TRUE) public Set |
4. Map (ORACLE) DB (Pre-Update) Trigger to Java Logic forum.hibernate.orgDear Hibernate Community, as I had to spend some time to solve the problem mentioned above I thought it might be helpful to post my solution (which is probably one of several possible approaches). A source that was very helpful: http://www.scribd.com/doc/35875415/Unde ... -Hibernate The difficult thing for me was to find a way to access an object the way it is ... |
5. Is there a Trigger function in mapping of Hibernate3? forum.hibernate.org |
6. Parent / Child save triggering delete forum.hibernate.orgNeed help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 3.3.1 GA Mapping documents: Code: |