Bug 386 : ebean.allowSubclassing not enforcing on @Sql entity
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.7.7
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
21/03/2012
Updated 
21/03/2012
Type 
Bug
 
Attachments 
No attachments

A while ago I added the feature "ebean.allowSubclassing". I configure
my app to false. I have found that Ebean does not complain about Sql
entites not enhanced:

INFO: Entities enhanced[16] subclassed[2]

I'm trying to determine if this is a bug or a feature. I have an "ad-
hoc" model class (reporting bean?) annotated with
@Entity
@Sql

 
Rob 21 Mar 09:05
Fixed in HEAD

Fixed in HEAD.

Note that ebean.allowSubclassing=false was only working on abstract classes so not really working prior to this fix.

woResponse

Upload a file