Re: [Xdoclet-user] SOLVED - Bug in documentation - Hibernate coposite element in map

2003-11-18 Thread Andrew Stevens
On Tue, 2003-11-18 at 11:00, Jose Gonzalez Gomez wrote: > Solved... the documentation states that you must use the tag > @hibernate.composite-element. Instead of this you must use > @hibernate.collection-composite-element. Known issue - XDT-560 http://opensource.atlassian.com/projects/xdocle

[Xdoclet-user] xdoclet-ejb-hibernate discussion

2003-11-18 Thread khote
I'm looking for a discussion and advice on using xdoclet to implement some EJB things with hibernate, JBoss, etc., I'm coming at EJBs quite a newbie. I've seen http://www.hibernate.org/82.html but it leaves a lot that I don't yet understand. I've created a Hibernate SAR, which installs just fine.

Re: [Xdoclet-user] Resend: Account rollover in XDoclet

2003-11-18 Thread Brad Cox
At 8:31 AM -0800 11/18/03, Konstantin Priblouda wrote: > See http://virtualschool.edu/jwaa for details. bad gateway :) Sorry. New colloc. Jetty keeps shutting down mysteriously. Its back up now. You can model your domain data in a way, that no relation goes out of transaction ( say transaction k

Re: [Xdoclet-user] Resend: Account rollover in XDoclet

2003-11-18 Thread Konstantin Priblouda
--- Brad Cox <[EMAIL PROTECTED]> wrote: > At 7:31 AM -0800 11/18/03, Konstantin Priblouda > wrote: > >XDcolet is source code generator and nothing > more > >So it certainly can not implement this. However, it > >can assist you in this task. > > Thanks! I've been reconsidering this whole EJB >

Re: [Xdoclet-user] Resend: Account rollover in XDoclet

2003-11-18 Thread Brad Cox
At 7:31 AM -0800 11/18/03, Konstantin Priblouda wrote: XDcolet is source code generator and nothing more So it certainly can not implement this. However, it can assist you in this task. Thanks! I've been reconsidering this whole EJB assumption and am looking at Hibernate seriously. Mainly inte

Re: [Xdoclet-user] Resend: Account rollover in XDoclet

2003-11-18 Thread Konstantin Priblouda
--- Brad Cox <[EMAIL PROTECTED]> wrote: > Could someone please respond to this request? A > pointer to relevant > references would do. Thanks! > > > > Hi. I'm converting a legacy application from > servlets/jdbc to > ejb/xdoclet and am stymied by a problem with no > obvious answer. > > T

[Xdoclet-user] Resend: Account rollover in XDoclet

2003-11-18 Thread Brad Cox
Could someone please respond to this request? A pointer to relevant references would do. Thanks! Hi. I'm converting a legacy application from servlets/jdbc to ejb/xdoclet and am stymied by a problem with no obvious answer. The application is essentially a double entry bank accounting app

RE: [Xdoclet-user] session bean & value objects

2003-11-18 Thread Nayan Hajratwala
Yes, I do have the valueobject tag and the class comment... Some more searching on the list has revealed this to be a deficiency, in that generated Session Beans will only return data objects. The value object can then be obtained from the data object. I'm sure it will be streamlined in the f

Re: [Xdoclet-user] taskdef class xdoclet.ejb.EjbDocletTask cannot be found

2003-11-18 Thread Konstantin Priblouda
--- Romanas <[EMAIL PROTECTED]> wrote: > Hi! > > I'm a newbie with XDoclet! > > I'm trying to build an example application. The > build.xml file is : Some hints to live peacefully with ANT ( not only with xdoclet ) : 1. Never mention anything from ANT_HOME/lib in your build.xml defined classpat

Re: [Xdoclet-user] SOLVED - Bug in documentation - Hibernate coposite element in map

2003-11-18 Thread Jose Gonzalez Gomez
Solved... the documentation states that you must use the tag @hibernate.composite-element. Instead of this you must use @hibernate.collection-composite-element. Regards Jose Jose Gonzalez Gomez wrote: Hi there, I'm trying to generate a mapping where I have a map with composite

RE: [Xdoclet-user] Problem with 1-->Many bidirectional relationship /solved & thanks

2003-11-18 Thread Marco.Mistroni
hi, thanx a lot guo... that worked. i have posted a mail before this but i noticed that i made mistake in writing javadocs.. regards marco > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > ext guo yingshou > Sent: 18 November, 2003

[Xdoclet-user] Hibernate coposite element in map

2003-11-18 Thread Jose Gonzalez Gomez
Hi there, I'm trying to generate a mapping where I have a map with composite elements with no success. I have the following: * @hibernate.map table = "localizedCategory" cascade = "all" * @hibernate.collection-key column = "category" type = "string" length = "32" * @hibernate.collec

RE: [Xdoclet-user] Problem with 1-->Many bidirectional relationship

2003-11-18 Thread Marco.Mistroni
Hi thanx a lot for the suggestion, but it did not worked out.. now i have following method comments -- Group Bean -- /** * @ejb.interface-method * @ejb.relation *name="GroupsHaveUsers" *role-name="GroupHasUsers" public abstrac

Re: [Xdoclet-user] Problem with 1-->Many bidirectional relationship

2003-11-18 Thread guo yingshou
Comment out the target-* attributes in your GroupBean. These attributes are used in uni-directional relationship. guo --- [EMAIL PROTECTED] 的正文:> hi all, > i have a GroupBean and UserBean which have 1-->Many > cmr. > > a group can have many users, and each user has only > one group. > i am

RE: [Xdoclet-user] session bean & value objects

2003-11-18 Thread COCKLE Timothy
Are you using the: ant tag in your build? and do you have the: * @ejb.value-object comment tag in your class comment? -Original Message- From: Nayan Hajratwala [mailto:[EMAIL PROTECTED] Sent: Mon 17/11/2003 20:42 To: [EMAIL PROTECTED] Cc: Subject:[Xdoclet-user] se

[Xdoclet-user] Problem with 1-->Many bidirectional relationship

2003-11-18 Thread Marco.Mistroni
hi all, i have a GroupBean and UserBean which have 1-->Many cmr. a group can have many users, and each user has only one group. i am trying to deploy in weblogic and i have put following tags in Groupbean /** * @ejb.interface-method * @ejb.relation *name="Groups

RE: [Xdoclet-user] can anyone help me?

2003-11-18 Thread COCKLE Timothy
I would recommend downloading this: http://www.manning.com/sullins2/chap02.pdf And you could even buy the book if you find it usefull! This got me up and running very quickly. Tim -Original Message- From: pramod [mailto:[EMAIL PROTECTED] Sent: Tue 18/11/2003 04:06 To: [EMAIL PR