On Fri, 2003-02-21 at 18:12, Jonathan Carlson wrote:
> I'm still rather new to JBoss, but I think the best way to do this is instead to
> tell JBoss which methods are read-only in the jboss.xml file so those methods get a
> read lock instead of a write lock.
>
> However, I'm having trouble getting that info merged into my jboss.xml file.
>
> The merge point is jboss-{0}.xml and my entity bean class is DomainBean.java so I
> created a jboss-DomainBean.xml but it's not getting pulled in. Am I doing something
> wrong?
Where did you put it? If your bean class is
com.foobar.mybeans.DomainBean, the merge file would need to be
com/foobar/mybeans/jboss-DomainBean.xml, below wherever you set as the
mergedir. If you just put it directly in the mergedir, it won't be
found.
NB this only applies to the per-bean merge files, others should still go
in the mergedir itself (unless the template specifies otherwise).
However, with per-bean ones we have to allow for possible name clashes
e.g. com.foobar.bean1.MyBean and com.foobar.bean2.MyBean.
Andrew.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user