Bug 50 : Eclipse IDE Enhancement plugin and @Transactional on interfaces
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.0.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
25/11/2008
Updated 
25/11/2008
Type 
Bug
 
Attachments 
No attachments

You can put @Transactional on java interfaces. The classes that implement that interface will then be enhanced to with the transactional support.

There is a situation where this enhancement does not take effect. Specifically when you are:
- using the Eclipse IDE Enhancement plugin
- Have a class that implements an interface
- Later, change the interface via adding @Transactional

The issue is that the enhancement that should occur on all classes that implement that interface will not occur until those classes are re-saved.

To workaround this issue: make sure all classes that implement that changed interface are saved after the change to the interface. Perform a project - clean for example.

 
Rob 17 Dec 10:35
BTW - there is no real fix to this

There is no real fix for this bug.

Rob 25 Jul 09:27
Ok, will close this now.

Not a lot of point keeping it around.

Will close as there is no real known solution for it.

woResponse

Upload a file