Re: Date or Timestamp

2013-01-14 Thread Michael Gentry
Hi there, You can choose java.sql.Timestamp in the ObjEntity and TIMESTAMP in the DbEntity. mrg On Mon, Jan 14, 2013 at 2:47 PM, emeka okafor wrote: > I am working with h2 at the moment and the modeler is mapping > java.util.Date to the database Date type but I would live to have the > dateb

Re: many2many + single table inheritance

2013-01-14 Thread emeka okafor
Yes, I tried what you said and it seems to work in most cases. As my model grows and becomes more complicated, I have to do a lot of fiddling at some places in my code. I think I am going to get rid of inheritance and only work with data. Thanks lot. From: Ram

Re: many2many + single table inheritance

2013-01-14 Thread Ramiro Aparicio
I have been working with inheritance a lot lately but finally I had to remove it from my model. If Base is an abstract class you will have problems at deleting A o Base child objects. Anyway in your case you want to make 3 relationships, A<-Base A->Base1 A->Base2 (the arrows are not for cardin