Re: [Xdoclet-user] @jboss:finder-query doesn't modify jbosscmp-jdbc.xml

2002-04-17 Thread Dmitri Colebatch
> Yes, I know that > And @ejb:finder works just fine > I need order clause for sorting > And ejb-ql doesn't have it sorry... ok... yes (o: now that I've caught up. There have been recent discussions on this. from my (vague) memory, I think Marcus Brio said something about it but I cant reme

RE: [Xdoclet-user] @jboss:finder-query doesn't modify jbosscmp-jdbc.xml

2002-04-17 Thread Boris Tamarkin
Title: RE: [Xdoclet-user] @jboss:finder-query doesn't modify jbosscmp-jdbc.xml Yes, I know that And @ejb:finder works just fine I need order clause  for sorting And ejb-ql doesn't have it -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17,

Re: [Xdoclet-user] @jboss:finder-query doesn't modify jbosscmp-jdbc.xml

2002-04-17 Thread Dmitri Colebatch
Boris, yep - have a look at the docs for ejb:finder (http://xdoclet.sourceforge.net/ejbdoclet.html#finder) and try something like: * @ejb:finder signature="Collection findMe(java.lang.String aMe)" * query=" ejbql query language for finder" hth dim - Original Message - F

RE: [Xdoclet-user] @jboss:finder-query doesn't modify jbosscmp-jdbc.xml

2002-04-17 Thread Boris Tamarkin
Title: RE: [Xdoclet-user] @jboss:finder-query doesn't modify jbosscmp-jdbc.xml hmm, You right. I looked jbosscmp-jdbc DTD and saw the finder element there exists. However xdoclet didn't generated finder in jbosscmp-jdbc.xml Probably Xdoclet doesn't modify jbosscmp-jdbc.xml? That is weird Wel

Re: [Xdoclet-user] @jboss:finder-query doesn't modify home interface

2002-04-17 Thread Dmitri Colebatch
Boris, this is odd > I am doing accordingly to to the documentation > It slightly different > So > * @ejb:finder signature="Collection findMe(java.lang.String aMe)" > * @jboss:finder-query name="findLargeAccounts" query="me = {0}" order="me" > > "me" is a member of entity bean (CMP2) > > The pro

RE: [Xdoclet-user] @jboss:finder-query doesn't modify home interface

2002-04-17 Thread Boris Tamarkin
Title: RE: [Xdoclet-user] @jboss:finder-query doesn't modify home interface Hi, I am doing accordingly to to the documentation It slightly different So * @ejb:finder signature="Collection findMe(java.lang.String aMe)" * @jboss:finder-query name="findLargeAccounts" query="me = {0}" order="m

RE: [Xdoclet-user] Help...getting javax.naming.NamingException. WebLogic 6.1

2002-04-17 Thread Aslak Hellesøy
When you're looking up an ejb from a JSP (I assume the JSP is inside a war), you must have ejb-ref elements in your web.xml file. You can either insert these using XDoclet and putting @web:ejb-ref/@web:ejb-local-ref in one of the classes that go into your war file (struts actions, servlets, whatev

RE: [Xdoclet-user] @jboss:finder-query doesn't modify home interface

2002-04-17 Thread Enrique Rodriguez
Title: RE: [Xdoclet-user] @jboss:finder-query doesn't modify home interface $1 -->{0}   * @jboss:finder-query name="findLargeAccounts" query="{1} > 1000" order="balance" read-ahead="true"   _Enrique Rodriguez LasterraMendibile 22 4ºB LeioaCP 48940 (Bizkaia) Espa

Re: [Xdoclet-user] @jboss:finder-query doesn't modify home interface

2002-04-17 Thread Dmitri Colebatch
Title: RE: [Xdoclet-user] @jboss:finder-query doesn't modify home interface Hi,From the samples (AccountBean)* @ejb:finder signature="Collection findLargeAccounts(int balance)" role-name="Teller,IRS"* @jboss:finder-query name="findLargeAccounts" query="$1 > 1000" order="balance" read-ahead="

[Xdoclet-user] Relationships, ValueObjects, and Packaged Components

2002-04-17 Thread Hicks, James
am using EJB 2.0 CMP and CMR. I am getting IllegalStateExceptions when I try to use a ValueObject on a relationship that points to a component that is not built when XDoclet runs. I am developing several components and want each one to build seperately. the Address component doesn't have a relat

[Xdoclet-user] Help...getting javax.naming.NamingException. WebLogic 6.1

2002-04-17 Thread Grant Marblestone
We are starting to put Xdoclet generated Session Beans (see snip 1 below) onto WebLogic 6.1 and we are getting Naming exceptions (see snip 2 below) when we call this Bean from a jsp page (see snip 3) as a simple test. I'm wondering how to browse the comp:env tree or how to write this xdoclet

RE: [Xdoclet-user] Problem in using the @ejb:home generate tag

2002-04-17 Thread Ara Abrahamian
Shouldn’t be generated. Maybe you forgot to “build clean” and left the old home intf file there?   Ara. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Lanh TRAN VAN Sent: Wednesday, April 17, 2002 2:38 PM To: [EMAIL PROTECTED] Subject: [

RE: [Xdoclet-user] @jboss:finder-query doesn't modify home interface

2002-04-17 Thread Boris Tamarkin
Title: RE: [Xdoclet-user] @jboss:finder-query doesn't modify home interface Thanks for help However still not works. I provided just @ejb:finder signature="java.util.Collection findThisThatOrWhatever()" Without query itself in @ejb:finder In ejb-jar.xml the query for that finder doesn't exis

[Xdoclet-user] New XDoclet Binary

2002-04-17 Thread bwillner
Guys, any thoughts on release date of next (official) binary build of XDoclet (1.1.3. or 1.2. whatever it'll be called). Just curious, otherwise I'll try using CVS version for now, since I'm especially interested in the xjavadoc and new dataobject/valueobject task. Thanks, Bernie

Re: [Xdoclet-user] Problem in using @ejb:home generate and @ejb:pk generate tags

2002-04-17 Thread Vincent Harcq
Hi, It is in fact generate="false" not generate="none" (neither generate="nothing"...) Vincent > > Hi, > > I don't want to generate the Home and the PK interface files, then I > use the xdoclet tags: > > @ejb:home generate="none" > @ejb:pk generate="none" > > But after running xdoclet, both of

[Xdoclet-user] Problem in using @ejb:home generate and @ejb:pk generate tags

2002-04-17 Thread Lanh TRAN VAN
Hi,   I don't want to generate the Home and the PK interface files, then I use the xdoclet tags:    @ejb:home generate="none"  @ejb:pk generate="none"   But after running xdoclet, both of them are generated.     Please help.     Thanks   Lanh

[Xdoclet-user] Problem in using @ejb:home generate and @ejb:pk generate tags

2002-04-17 Thread Lanh TRAN VAN
  Hi,   I don't want to generate the Home and the PK interface files, then I use the xdoclet tags:    @ejb:home generate="none"  @ejb:pk generate="none"   But after running xdoclet, both of them are generated.     Please help.     Thanks   Lanh    

[Xdoclet-user] JBoss SubTask last updated?

2002-04-17 Thread Peter Shillan
Hi there, When was the JBoss subtask last updated? I have been using xdoclet 1.1.2 to generate my JBoss beans and although the ejb-jar.xml file comes out OK, the jbosscmp-jdbc.xml file doesn't seem to bear a lot of resemblance to the test cases in JBoss 3.0 CVS or RC1. I had to get rid of what

[Xdoclet-user] compilation problem with latest 17/04/02

2002-04-17 Thread Colin Daly
Hi, I'm getting the following compile errors when I try the latest version in CVS (I had to check out xjavadoc to get this far.) Everything seems to be related to the same "attempting to assign weaker access privileges" problem ... do you think I've just got an unstable version from CVS? t