i am wondering how i would be able to annotate an interface
@Entity
@Table(name = \"FOLDER_TABLE\")
public class Folder implements Serializable, Hierarchy {
A little Googling turned up...
You can use interfaces internally but you can't map interfaces in hibernate, you have to map classes, regardless of whether you are using xml mapping or annotation mapping. hibernate is handling lifecycle of your persistent objects so it needs to know what class to instantiate so you need to provide this information to it... I am not even sure how what you suggesting would even look like? how would you provide implementation for given interface to hibernate at runtime to instantiate?
http://forum.springsource.org/showthread.php?t=67420
So it looks like you are out of luck.