1. How to achieve @MappedSuperclass logic using Hibernate ORM mapping? stackoverflow.comHow to achieve @MappedSuperclass logic using Hibernate ORM mapping? |
2. Applying annotations to fields inherited from @MappedSuperclass stackoverflow.comHas:
and
|
3. hibernate, inherit all entities from a @MappedSuperClass stackoverflow.comi want set some fields, like updateDate, createDate and deleteDate, for each my entities, so i thought to inherit my entities from a @MappedSuperClass that contains this properties. Is this a good ... |
4. Multiple @MappedSuperclass stackoverflow.comI'm using JPA 2.0 and EclipseLink 2.2.0. I have a @MappedSuperclass, AbstractEntity, that is the basis for all my entities providing PK and auditing columns. I want to have another @MappedSuperclass extend that ... |
5. Hibernate TABLE_PER_CLASS with @MappedSuperclass won't create UNION query stackoverflow.comI am trying to create a series of objects that all are stored in separate tables, but that there is a set of fields in common on all these tables. ... |
6. Query on attribute from @MappedSuperclass stackoverflow.comI have something like the following
But ... |
7. Does @EntityListener works with @MappedSuperclass as well? stackoverflow.comFolks!
If I define an Entity Class and annotate it with
|
8. @MappedSuperclass and @Version (Bug?) forum.hibernate.orgHi, I'm having two problems with @Version mapped in a @MappedSuperClass class. This is a preview of my AbstractEntiy: Code: @MappedSuperclass public abstract class AbstractEntity |
9. @Inheritance on @Mappedsuperclass forum.hibernate.org |
10. configuration_jndi_name and @MappedSuperClass forum.hibernate.orgNewbie Joined: Mon Nov 26, 2007 12:49 pm Posts: 7 Hi all, I'm using hibernate 3.6.0.Final with jboss 6.0.0.Final embedded and when I use the hibernate.ejb.configuration_jndi_name property to store the configuration object in the JNDI tree, then I get the following exception: Code: Could not bind Ejb3Configuration to JNDI: javax.naming.NamingException: Unable to serialize Ejb3Configuration [Root exception is java.io.NotSerializableException: org.hibernate.mapping.MappedSuperclass] ... |
11. @mappedsuperclass and @entity on same class forum.hibernate.org |
12. @TypeDef, @Entity & @MappedSuperClass problem forum.hibernate.org |
13. Associations in @EmbeddableSuperclass / @MappedSuperclass forum.hibernate.org |
14. Optional persistent associations in a @MappedSuperclass? forum.hibernate.orgHi all, Is there any way to have a @MappedSupperclass that has an association (@OneToOne in my case) that is not mapped there, possibly marking it with @Transient, but then optionally mapped as a one-to-one in the child classes extending it? I know that I can use the @AssociationOverride but I only want to do it some of the time, not ... |
15. @MappedSuperclass in the middle of an inheritance hierarchy forum.hibernate.orgHi, all, I'm having some issues with declaring a mapped superclass in the middle of an EJB3 inheritance hierarchy. According to the documentation at http://www.hibernate.org/hib_docs/annot ... tml#d0e901 this should be possible, but I can't seem to get it to work. Here's my situation: @Entity @Inheritance(strategy = InheritanceType.JOINED) public abstract class SubscriptionTransaction {...} @Entity public abstract class CreditCardTransaction extends SubscriptionTransaction{...} @MappedSuperclass public ... |
16. @Where clause with @MappedSuperclass? forum.hibernate.org |
17. @MappedSuperclass forum.hibernate.orgHi, Got a @MappedSuperclass question and I will greatly appreciated any help. Code: @MappedSuperclass class A{ @column(...) private Date modifiedDate; ... ... } @MappedSuperclass class B extends A{ ... |
18. @MappedSuperClass vs. @EntityListener forum.hibernate.org |
19. @OneToOne pointing to a abstract @MappedSuperclass forum.hibernate.orgHi, Sorry if this is a FAQ, but I've googled for a few hours and didn't come by an answer... Anyway, I'd like to have a @OneToOne relationship to a abstract class (or a interface would work too) that is implemented by several actual entities. Something like this: Code: @MappedSuperclass public abstract class AbstractShape { ... } @Entity ... |
20. verify doc correctness: query against a @MappedSuperclass forum.hibernate.org |