Re: [hibernate-dev] Test success may not mean functionality is correct

2012-08-09 Thread Gail Badner
AFAIK, joined inheritance and one-to-one are not implemented. - Original Message - > From: "Hardy Ferentschik" > To: "Steve Ebersole" > Cc: "Gail Badner" , "Hibernate hibernate-dev" > > Sent: Thursday, August 9, 2012 12:04:37 PM &

Re: [hibernate-dev] Test success may not mean functionality is correct

2012-08-09 Thread Hardy Ferentschik
On 9 Jan 2012, at 8:32 PM, Steve Ebersole wrote: > OK, I added adding FK between joined inheritance tables but > org.hibernate.test.annotations.genericsinheritance.GenericsInheritanceTest > still fails. AFAICT the problem there is that joined inheritance is > considered the default if no inhe

Re: [hibernate-dev] Test success may not mean functionality is correct

2012-08-09 Thread Steve Ebersole
OK, I added adding FK between joined inheritance tables but org.hibernate.test.annotations.genericsinheritance.GenericsInheritanceTest still fails. AFAICT the problem there is that joined inheritance is considered the default if no inheritance type is specified (at least based on the old DDL o

Re: [hibernate-dev] Test success may not mean functionality is correct

2012-08-09 Thread Steve Ebersole
I hooked in using the new schema management tool code to handle schema create/drop processing. These particular FKs are still not being created. So I looked at the tests a little closer. The issue there is that code building the bindings are not always creating Database objects. Specifically

Re: [hibernate-dev] Test success may not mean functionality is correct

2012-08-07 Thread Steve Ebersole
Perhaps we should actually hook in the new schema management code before we start worrying about missing DDL bits? ;) As it is right now, building the SessionFactory through the Metamodel is still just using SchemaExport to the hacked-together Database#generateSchemaCreationScript and Database

[hibernate-dev] Test success may not mean functionality is correct

2012-08-06 Thread Gail Badner
I've seen some cases where tests are passing for functionality that is not yet implemented. In these cases, generated DDL for the new metamodel is incorrect. For example: org.hibernate.test.annotations.genericsinheritance.GenericsInheritanceTest Generated DDL using old metamodel: create table