Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Injecting DAO/Repository into domain entity object

Hi,

Using spring annotation configuration I've tried to inject a DAO into a
domain entity object like so

@Resource
private transient KeywordDAO keywordDao;

However when I run the JUnit test for the container DAO I immediately
run into strange errors like:

java.lang.NoSuchMethodError:
****.ImageSerie._persistence_checkFetched(Ljava/lang/String;)V

Is what I'm trying to do not support or just plain stupid?

-J.



Back to the top