Bug 225 : DDL generation not generating FK on inheritance ManyToOne
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.4.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
25/02/2010
Updated 
25/02/2010
Type 
Bug
 
Attachments 
No attachments

...
Hey Rob - we have a bug in FK generation for derived classes with a OneToMany - we don't generate a FK

example

public class Truck extends Vehicle

...
@ManyToOne
TruckRef truckRef;


for truckRef there is no FK generated. We probably don't descend the hierarchy while generating the FKs?

 
Rob 25 Feb 10:48
Fixed in HEAD

Fixed in HEAD.

woResponse

Upload a file