hibernate throws ClassDefNotFound on this excption , when i'm trying trying to use hbm2ddl the attached xml,
u'll notice the class is extended on some implementation which uses 3 properties of the supertype, is this allowed?
you were right , i did miss the cglib jar, (i thought i had it earlier), anway not it creates the schema, but the table is unchanged, i thought i would have some foriegn key references to my record but i don't, so what design should i use many-to-one?
Any chance you provide more details about what you are doing and also more about what the problem is you are having. Posting some code and configuration helps.
i'm attempting to persist a class which actually represents a field, the field (n it's abstract class level) which contains a number value which identifies it's type, as well as a either a string or numeric values (in the sub classes) which contain the actuall values.
problem is that i also have 'field' which contains a composite types of the same type, i have period field which contains 3 fields ,interval(in months), from date, to date, all which inherit from the same abstract type, so i have period field which inherits from abstractTypeBo, that contains 3 types which also inherit from the same type.