Tuesday, April 2, 2002 10:15 AM
Ask yourself this question: how does xdoclet find out which primary key class to use? Afterall xdoclet should put a class name in ejb-jar.xml for pk class, right? Well, if you don't specifically specify it then it looks at the
and defaults to generating it for you. What you should do now is to specify pk type for the ejb with @ejb:pk class="java.lang.Long" class level tag. Take a look at @ejb:pk's documentation for more details.