Re: [Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss

2003-09-25 Thread Kevin Norton
Thanks for info Jason, I also just want to use the min configuration necessary, but find it difficult to determine what that is :-) But i'm getting there. I add the tags at class level: * @ejb.persistence table-name="sometable" to explicitly define the table name, then * @jboss.persistence c

Re: [Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss

2003-09-25 Thread Jason Essington
I add the tags at class level: * @ejb.persistence table-name="sometable" to explicitly define the table name, then * @jboss.persistence create-table="true" remove-table="true" to tell jboss wether or not to create and remove the table then at method level, just * @ejb.persistence column-name

RE: [Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss

2003-09-25 Thread Kevin Norton
PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: [Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss Date: Thu, 25 Sep 2003 10:49:59 -0700 Ok, I took you suggestion and found that it now complains on the comments column. So I took it one step further a

RE: [Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss

2003-09-25 Thread Harkness, David
Kevin Norton once said: > Ok, I took you suggestion and found that it now complains on the > comments > column. > So I took it one step further and removed the comments attribute and > low and > behold it creates the entity bean correctly with only the name > column. So

RE: [Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss

2003-09-25 Thread Kevin Norton
Ok, I took you suggestion and found that it now complains on the comments column. So I took it one step further and removed the comments attribute and low and behold it creates the entity bean correctly with only the name column. So it is creating a table with one column, I think. So I guess I ne

RE: [Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss

2003-09-25 Thread Harkness, David
Kevin Norton once said: > I am using the DefaultDS > version="3.0" > xmlencoding="UTF-8" > destdir="${ejb.dd.dir}" > validatexml="false" > typemapping="Hypersonic SQL" > /> > > This is not my

RE: [Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss

2003-09-25 Thread Kevin Norton
I am using the DefaultDS This is not my ultimate goal but I am trying to keep it simple and not connect to my Oracle instance yet. So as far as table creation ect.. I believe that Hypersonic is creating my table based off of my column desciptors? Have you double-checked your DB schema

Re: [Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss

2003-09-24 Thread Andrew Stevens
On Thu, 2003-09-25 at 00:07, Kevin Norton wrote: > I have put in about 3 days worth of struggling to use Xdoclet. Need basic > beginner help. > > I can get my Entity Bean to launch and I can get a handle to the home > interface by using the generated Util Class. But when I try to call my > crea

RE: [Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss

2003-09-24 Thread Harkness, David
t;Mandatory" */ public abstract void setLine1 ( String line1 ) ; } David Harkness Sr. Software Engineer Sony Pictures Digital Networks (310) 482-4756 -----Original Message- From: Kevin Norton [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 4:08 PM To: [EMAIL PROTECTED] Subjec

[Xdoclet-user] Newbie, Help with basic CMP Entity Bean using Jboss

2003-09-24 Thread Kevin Norton
I have put in about 3 days worth of struggling to use Xdoclet. Need basic beginner help. I can get my Entity Bean to launch and I can get a handle to the home interface by using the generated Util Class. But when I try to call my create method I get the following error. javax.ejb.CreateExcepti