Ok, thank you very much.
But I still have a Problem. Now its with the Interfaces.
I made up all instances for the Classes Account, DAccount and KAccount and
wrote them into the Mappingfile as being the proxy.
When I am loading no a Process, which has a Account in it, I recieve this error I allready had.
Quote:
org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of de.datentraum.allrounder.Processes.DProcess.setAccount
This is the Source:
Code:
/* (non-Javadoc)
* @see de.datentraum.allrounder.Processes.Process#setAccount(de.datentraum.allrounder.BaseClasses.Account)
*/
public void setAccount(Account acc) {
if (acc != null){
if(!(acc.getType()==Account.D)){
//ApplicationConf.getCurrentMessanger().failureMessage("Falsches Konto: "+acc.toString());
}else{
this.account = (Account) acc;
//((DAccountInt)acc).test();
}
}
}
Any Idea??
thx,
Alexander