I'm not sure how to specify mappings in the properties file, or whether that's even possible. When you do use a properties file to do some initialization, you can let hibernate know about your mapped classes like this, provided that your mapping files are on the classpath in the same location as your class files:
Configuration cfg = new Configuration();
cfg.addClass(com.pepsi.compensation.PlanComponent.class);
.
.
.
cfg.configure();
If you've already done this, then I can't really say what's causing your problem.
_________________ Mike Davison
|