Hi

.Quick Hibernate qn....Thank in advance for your reply!

I get the following error though my AnalysisData.java class

file has a constructor.any help appreciated. thanks

AnalysisData.java class

public class AnalysisData {

private long id = -1l;

private TestData data;

private ActivityTModule test;

private AnalysisResult result;

private int type;

private String info;

public AnalysisData() {}

net.sf.hibernate.PropertyNotFoundException:

Object class must declare a default (no-argument) constructor reflection optimizer disabled for hibernate

 

2004-01-27 09:17:51,844 [main] INFO net.sf.hibernate.util.ReflectHelper - reflection optimizer disabled for: com.dynetics.vidrds.model.DurabilityTest, IllegalAccessError: tried to access method com.dynetics.vidrds.model.DurabilityTest.<init>()V from class com.dynetics.vidrds.model.DurabilityTestMetaClass1

net.sf.hibernate.PropertyNotFoundException: Object class com.dynetics.vidrds.model.AnalysisData must declare a default (no-argument) constructor

at net.sf.hibernate.util.ReflectHelper.getDefaultConstructor(ReflectHelper.java:304)


Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Reply via email to