modelj-user Mailing List for ModelJ - Generate J2EE-Based Web Sites
Status: Beta
Brought to you by:
tom_tessier
You can subscribe to this list here.
| 2003 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(9) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(7) |
Feb
(6) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Ben A. <ben...@st...> - 2007-06-25 09:09:25
|
Hello there I would greatly appreciate a small amount of your time to assist with my doctoral research at The University of Newcastle. The research concerns open source licensing and we're seeking developers working on Java projects. The research is supervised, ethics-approved, anonymous and results will be freely available. Participation will also provide a custom licensing report for your project. To learn more, please visit: http://licensing-research.newcastle.edu.au Thanks for reading this email, and I hope you'll consider participating. Best regards Ben Alex (My apologies for being off-topic; this list will not be emailed again) |
|
From: <ben...@id...> - 2004-05-21 08:13:46
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
|
From: Andrey Y. <an...@ga...> - 2004-02-05 07:55:02
|
|
From: Tom T. <tom...@ho...> - 2004-02-03 04:27:49
|
PurchaseOrder and UserRole aren't displayed because they are 1-1 relationships.. a user has a role, etc. ModelJ is not vary active at the moment, but we're always looking for developers willing to take up the torch =) Tom >From: Neil Earnshaw <ne...@os...> >To: James Mitchell <jmi...@ap...> >CC: mod...@li... >Thanks for the help guys. I now have a minimal working demo for tomorrow. > >Here are a couple more questions for you, if you can bear it: > > What's happening to the PurchaseOrder and UserRole? (They don't show up >in the browser) > > How active is the ModelJ project? > >I ask the second question because I have a prototype UML tool ><http://www.ose-ltd.com/PatternBuilder/> that generates complete >Objective-C applications (it can generate itself). Of course, there isn't >much of a market for Objective-C tools compared to the J2EE market. It >strikes me that PatternBuilder and ModelJ could be wired together to >produce a full J2EE solution, after rewriting PatternBuilder in Java. > >Food for thought? > >-Neil > >-- > >Neil Earnshaw >Consultant Software Engineer >Object Software Engineers Ltd >ne...@os... >Tel : 01747 850 676 >Mbl : 07793 084 161 > > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Modelj-user mailing list >Mod...@li... >https://lists.sourceforge.net/lists/listinfo/modelj-user _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca |
|
From: James M. <jmi...@ap...> - 2004-02-02 14:11:26
|
I'm not really into application generation like I used to be, but you might take a look at MDE by Metanology: http://www.metanology.com/ I haven't used it exclusively, and I'm not sure how flexible the app is, but since the app is built on Eclipse, you might have some luck creating your own customizations via Eclipse plugins. Good luck with it! -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 (cell) AIM: jmitchtx MSN: jmi...@ap... ----- Original Message ----- From: "Neil Earnshaw" <ne...@os...> To: "James Mitchell" <jmi...@ap...> Cc: <mod...@li...> Sent: Monday, February 02, 2004 9:03 AM Subject: Re: [Modelj-user] Re: Setting up jboss & mysql > Hurrah! I've changed User to AppUser in the Sample.xml file and > re-gen'd. Now I've got three tables in the browser that all list > properly. > > The standardjaws.xml for strings currently looks like this: > > <type-mapping-definition> > <name>mySQL</name> > ... > <mapping> > <java-type>java.lang.String</java-type> > <jdbc-type>VARCHAR</jdbc-type> > <sql-type>VARCHAR(255)</sql-type> > </mapping> > ... > </type-mapping-definition> > > Thanks for the help guys. I now have a minimal working demo for > tomorrow. > > Here are a couple more questions for you, if you can bear it: > > What's happening to the PurchaseOrder and UserRole? (They don't show > up in the browser) > > How active is the ModelJ project? > > I ask the second question because I have a prototype UML tool > <http://www.ose-ltd.com/PatternBuilder/> that generates complete > Objective-C applications (it can generate itself). Of course, there > isn't much of a market for Objective-C tools compared to the J2EE > market. It strikes me that PatternBuilder and ModelJ could be wired > together to produce a full J2EE solution, after rewriting > PatternBuilder in Java. > > Food for thought? > > -Neil > > -- > > Neil Earnshaw > Consultant Software Engineer > Object Software Engineers Ltd > ne...@os... > Tel : 01747 850 676 > Mbl : 07793 084 161 |
|
From: Neil E. <ne...@os...> - 2004-02-02 14:00:20
|
Hurrah! I've changed User to AppUser in the Sample.xml file and
re-gen'd. Now I've got three tables in the browser that all list
properly.
The standardjaws.xml for strings currently looks like this:
<type-mapping-definition>
<name>mySQL</name>
...
<mapping>
<java-type>java.lang.String</java-type>
<jdbc-type>VARCHAR</jdbc-type>
<sql-type>VARCHAR(255)</sql-type>
</mapping>
...
</type-mapping-definition>
Thanks for the help guys. I now have a minimal working demo for
tomorrow.
Here are a couple more questions for you, if you can bear it:
What's happening to the PurchaseOrder and UserRole? (They don't show
up in the browser)
How active is the ModelJ project?
I ask the second question because I have a prototype UML tool
<http://www.ose-ltd.com/PatternBuilder/> that generates complete
Objective-C applications (it can generate itself). Of course, there
isn't much of a market for Objective-C tools compared to the J2EE
market. It strikes me that PatternBuilder and ModelJ could be wired
together to produce a full J2EE solution, after rewriting
PatternBuilder in Java.
Food for thought?
-Neil
--
Neil Earnshaw
Consultant Software Engineer
Object Software Engineers Ltd
ne...@os...
Tel : 01747 850 676
Mbl : 07793 084 161
|
|
From: James M. <jmi...@ap...> - 2004-02-02 13:08:29
|
On Mon, 2 Feb 2004, Neil Earnshaw wrote: Interesting.......you know, thinking back, I seem to remember a discussion on the JBoss list about that file not being used anymore, but I could be wrong. > I changed this: > > <mapping> > <java-type>java.lang.String</java-type> > <jdbc-type>VARCHAR</jdbc-type> > <sql-type>VARCHAR(255) BINARY</sql-type> > </mapping> > > in $JBOSS_HOME/server/default/conf/standardjaws.xml to this > > <mapping> > <java-type>java.lang.String</java-type> > <jdbc-type>VARCHAR</jdbc-type> > <sql-type>VARCHAR(255)</sql-type> > </mapping> That's what I usually do as well. > > which didn't seem to change anything, then this > > <mapping> > <java-type>java.lang.String</java-type> > <jdbc-type>VARCHAR</jdbc-type> > <sql-type>BINARY</sql-type> > </mapping> > > and got the same error again. > > Do I need to: > regenerate the sample app? No > take the whole line out? No > take VARCHAR(255) out? No > take BINARY out? No > > Looking for the plot, It seemed that removing the extra 'BINARY' string from the xml file worked for me before (that was probably when JBoss actually used it.......not sure) I downloaded, generated and ran the latest distribution "as is" form sf.net on JBoss3.2.2/Tomcat4.1.24 and it worked fine for me. Sorry, wish I could be of more help. > > -Neil > > -- > > Neil Earnshaw > Consultant Software Engineer > Object Software Engineers Ltd > ne...@os... > Tel : 01747 850 676 > Mbl : 07793 084 161 > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Modelj-user mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modelj-user > -- James Mitchell Software Developer / Struts Evangelist http://www.struts-atlanta.org |
|
From: Neil E. <ne...@os...> - 2004-02-02 12:34:02
|
I changed this: <mapping> <java-type>java.lang.String</java-type> <jdbc-type>VARCHAR</jdbc-type> <sql-type>VARCHAR(255) BINARY</sql-type> </mapping> in $JBOSS_HOME/server/default/conf/standardjaws.xml to this <mapping> <java-type>java.lang.String</java-type> <jdbc-type>VARCHAR</jdbc-type> <sql-type>VARCHAR(255)</sql-type> </mapping> which didn't seem to change anything, then this <mapping> <java-type>java.lang.String</java-type> <jdbc-type>VARCHAR</jdbc-type> <sql-type>BINARY</sql-type> </mapping> and got the same error again. Do I need to: regenerate the sample app? take the whole line out? take VARCHAR(255) out? take BINARY out? Looking for the plot, -Neil -- Neil Earnshaw Consultant Software Engineer Object Software Engineers Ltd ne...@os... Tel : 01747 850 676 Mbl : 07793 084 161 |
|
From: Neil E. <ne...@os...> - 2004-01-31 14:38:06
|
I changed this: <mapping> <java-type>java.lang.String</java-type> <jdbc-type>VARCHAR</jdbc-type> <sql-type>VARCHAR(255) BINARY</sql-type> </mapping> in $JBOSS_HOME/server/default/conf/standardjaws.xml to this <mapping> <java-type>java.lang.String</java-type> <jdbc-type>VARCHAR</jdbc-type> <sql-type>VARCHAR(255)</sql-type> </mapping> which didn't seem to change anything. Do I need to regenerate the sample app, or did you mean for me to take the whole line out or take VARCHAR(255) out? -Neil |
|
From: James M. <jmi...@ap...> - 2004-01-31 13:49:35
|
On Sat, 31 Jan 2004, Neil Earnshaw wrote:
> Good news,
>
> The address and userRole tables have been created in the database.
> (Installing the JDBC driver seems to have helped :)
> The address table is listed in the web browser and I can add
> addresses.
>
> Not so good news,
>
> The Options box displays options for Role, User, and Address but not
> for Purchase Order and User Role
> The list option doesn't work for Role and User
> When JBoss starts up I get the following error
>
> > 12:38:59,076 INFO [Address] Created table 'ADDRESS' successfully.
> > 12:38:59,452 INFO [UserInfo] Created table 'USERINFO' successfully.
> > 12:38:59,537 ERROR [EntityContainer] Starting failed
> > org.jboss.deployment.DeploymentException: Error while creating table
> > USER; - nested throwable: (java.sql.SQLException: Syntax error or
> > access violation, message from server: "You have an error in your SQL
> > syntax. Check the manual that corresponds to your MySQL server
> > version for the right syntax to use near 'USER(id INTEGER NOT NULL,
> > username VARCHAR(250) BINARY, passwor")
> > at
> > org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCo
> > mmand.java:231)
Yes, this has to do with a JBoss configuration file. Open
$JBOSS_HOME/server/default/conf/standardjaws.xml and search for 'binary'.
You'll notice under the mysql type mapping a like like this:
<sql-type>VARCHAR(255) BINARY</sql-type>
^^^^^^
...remove that and it should work fine.
>
> I can see that mysql might have a problem with USER and ROLE, but that
> wouldn't explain why the PurchaseOrder table wasn't created.
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Modelj-user mailing list
> Mod...@li...
> https://lists.sourceforge.net/lists/listinfo/modelj-user
>
--
James Mitchell
Software Developer / Struts Evangelist
http://www.struts-atlanta.org
|
|
From: Neil E. <ne...@os...> - 2004-01-31 12:59:40
|
Good news, The address and userRole tables have been created in the database. (Installing the JDBC driver seems to have helped :) The address table is listed in the web browser and I can add addresses. Not so good news, The Options box displays options for Role, User, and Address but not for Purchase Order and User Role The list option doesn't work for Role and User When JBoss starts up I get the following error > 12:38:59,076 INFO [Address] Created table 'ADDRESS' successfully. > 12:38:59,452 INFO [UserInfo] Created table 'USERINFO' successfully. > 12:38:59,537 ERROR [EntityContainer] Starting failed > org.jboss.deployment.DeploymentException: Error while creating table > USER; - nested throwable: (java.sql.SQLException: Syntax error or > access violation, message from server: "You have an error in your SQL > syntax. Check the manual that corresponds to your MySQL server > version for the right syntax to use near 'USER(id INTEGER NOT NULL, > username VARCHAR(250) BINARY, passwor") > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCo > mmand.java:231) I can see that mysql might have a problem with USER and ROLE, but that wouldn't explain why the PurchaseOrder table wasn't created. |
|
From: Tom T. <tom...@ho...> - 2004-01-31 02:13:59
|
Your <connection-url> and <driver-class> should look like:
<connection-url>jdbc:mysql://localhost/DB_NAME?autoReconnect=true</connection-url>
<driver-class>org.gjt.mm.mysql.Driver</driver-class>
The generated code doesn't itself create the database tables, but once you
deploy the .ear file the database tables will be created (if they do not
exist).
Tom
>From: Neil Earnshaw <ne...@os...>
>To: mod...@li...
>Subject: [Modelj-user] Re: Setting up jboss & mysql
>Date: Fri, 30 Jan 2004 23:00:40 +0000
>MIME-Version: 1.0 (Apple Message framework v609)
>Received: from sc8-sf-list1.sourceforge.net ([66.35.250.206]) by
>mc11-f12.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Fri, 30 Jan
>2004 15:04:23 -0800
>Received: from localhost ([127.0.0.1] helo=projects.sourceforge.net)by
>sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30)id 1Amhed-0003kf-AT;
>Fri, 30 Jan 2004 15:02:27 -0800
>Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11]
>helo=sc8-sf-mx1.sourceforge.net)by sc8-sf-list1.sourceforge.net with esmtp
>(Exim 4.30)id 1AmhYn-0001c0-Fdfor mod...@li...; Fri,
>30 Jan 2004 14:56:25 -0800
>Received: from mercury0.easily.co.uk ([213.161.76.90] helo=easily.co.uk)by
>sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30)id 1AmhYm-0007H0-Jifor
>mod...@li...; Fri, 30 Jan 2004 14:56:24 -0800
>Received: from [213.160.109.105] (account rk3zalsq4z32 HELO [192.168.1.33])
> by easily.co.uk (CommuniGate Pro SMTP 4.1.3) with ESMTP id 45626962 for
>mod...@li...; Fri, 30 Jan 2004 22:56:14 +0000
>X-Message-Info: JGTYoYF78jEjEOX1Xlj8yuJaR4vNiOMo
>Message-Id: <1FE...@os...>
>X-Mailer: Apple Mail (2.609)
>X-Spam-Score: 0.0 (/)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See
>http://spamassassin.org/tag/ for more details.Report problems to
>http://sf.net/tracker/?func=add&group_id=1&atid=200001
>Errors-To: mod...@li...
>X-BeenThere: mod...@li...
>X-Mailman-Version: 2.0.9-sf.net
>Precedence: bulk
>List-Unsubscribe:
><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=unsubscribe>
>List-Id: <modelj-user.lists.sourceforge.net>
>List-Post: <mailto:mod...@li...>
>List-Help: <mailto:mod...@li...?subject=help>
>List-Subscribe:
><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=subscribe>
>List-Archive:
><http://sourceforge.net/mailarchive/forum.php?forum=modelj-user>
>Return-Path: mod...@li...
>X-OriginalArrivalTime: 30 Jan 2004 23:04:23.0970 (UTC)
>FILETIME=[66E8B820:01C3E785]
>
>I found mysql-ds.xml and dragged it into
>/usr/local/jboss/server/default/deploy/mysql-ds.xml
>
>Judging by the activity in the JBoss term it was quite happy with it, but
>there was no change in the web front end.
>
>mysql-ds.xml contains this line
>
> <connection-url>jdbc:mysql://dell:3306/jbossdb</connection-url>
>
>which I find a bit suspect, as I'm on a Mac, not a Dell box. Or does dell
>signify something else?
>
>Does the generated code create a mysql database and tables?
>
>I have verified that mysql is running, but I had to 'sudo mysql' before I
>could create a database. Could it be that the it's a permission thing
>that's stopping the database being created, or do I need to set it up
>manually.
>
>I feel really uncomfortable, ignorantly poking things to see what happens.
>Are there any good references on-line for setting up JBoss? I've got to
>demo a quick and nasty UML to J2EE by Tuesday so I don't have time to wait
>for Amazon to deliver. I've done loads of code generation from models, but
>I'm a complete starter in the J2EE world.
>
>Any help greatly appreciated.
>
>-Neil
>
>--
>
>Neil Earnshaw
>Consultant Software Engineer
>Object Software Engineers Ltd
>ne...@os...
>Tel : 01747 850 676
>Mbl : 07793 084 161
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
|
|
From: Neil E. <ne...@os...> - 2004-01-30 22:56:31
|
I found mysql-ds.xml and dragged it into
/usr/local/jboss/server/default/deploy/mysql-ds.xml
Judging by the activity in the JBoss term it was quite happy with it,
but there was no change in the web front end.
mysql-ds.xml contains this line
<connection-url>jdbc:mysql://dell:3306/jbossdb</connection-url>
which I find a bit suspect, as I'm on a Mac, not a Dell box. Or does
dell signify something else?
Does the generated code create a mysql database and tables?
I have verified that mysql is running, but I had to 'sudo mysql' before
I could create a database. Could it be that the it's a permission
thing that's stopping the database being created, or do I need to set
it up manually.
I feel really uncomfortable, ignorantly poking things to see what
happens. Are there any good references on-line for setting up JBoss?
I've got to demo a quick and nasty UML to J2EE by Tuesday so I don't
have time to wait for Amazon to deliver. I've done loads of code
generation from models, but I'm a complete starter in the J2EE world.
Any help greatly appreciated.
-Neil
--
Neil Earnshaw
Consultant Software Engineer
Object Software Engineers Ltd
ne...@os...
Tel : 01747 850 676
Mbl : 07793 084 161 |
|
From: James M. <jmi...@ap...> - 2004-01-30 17:07:16
|
Did you configure your datasource in JBoss? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 (cell) AIM: jmitchtx MSN: jmi...@ap... ----- Original Message ----- From: "Earnshaw, Neil" <Nei...@bs...> To: <mod...@li...> Sent: Friday, January 30, 2004 9:29 AM Subject: [Modelj-user] Setting up jboss & mysql > All, > > First, apologies for being a complete newbie with JBoss and mySQL. > > I've gen'd the sample, and deployed the .ear but when I run in my browser > the main part of the resulting page displays an error report. The error > description is createBeanClassInstanceCommand == null; > > The 'add new' options seem to work, but the 'list' options all give the > error above. > > Do I need to create a mysql database? Does ModelJ produce an sql schema? > Do I need to tell JBoss where the database is? > > I'm training up on J2EE and so on. If there isn't any documentation for > newbies then I'd be quite happy to document the configuration and deployment > process if the list can talk me through it. > > -Neil > > -------------------------------------------------------------- > Neil Earnshaw > Business Integration Analyst > Sky CRM Programme, Livingston > > (external tel. 01506-406389) > (internal ext. 6389) > (mobile 0779 308 4161) > (e-mail > Nei...@bs... > ne...@os...) > -------------------------------------------------------------- > > > > ----------------------------------------------------------------------- > Information in this email may be privileged, confidential and is > intended exclusively for the addressee. The views expressed may > not be official policy, but the personal views of the originator. > If you have received it in error, please notify the sender by return > e-mail and delete it from your system. You should not reproduce, > distribute, store, retransmit, use or disclose its contents to anyone. > > Please note we reserve the right to monitor all e-mail > communication through our internal and external networks. > ----------------------------------------------------------------------- > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Modelj-user mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modelj-user |
|
From: Earnshaw, N. <Nei...@bs...> - 2004-01-30 14:29:55
|
All, First, apologies for being a complete newbie with JBoss and mySQL. I've gen'd the sample, and deployed the .ear but when I run in my browser the main part of the resulting page displays an error report. The error description is createBeanClassInstanceCommand == null; The 'add new' options seem to work, but the 'list' options all give the error above. Do I need to create a mysql database? Does ModelJ produce an sql schema? Do I need to tell JBoss where the database is? I'm training up on J2EE and so on. If there isn't any documentation for newbies then I'd be quite happy to document the configuration and deployment process if the list can talk me through it. -Neil -------------------------------------------------------------- Neil Earnshaw Business Integration Analyst Sky CRM Programme, Livingston (external tel. 01506-406389) (internal ext. 6389) (mobile 0779 308 4161) (e-mail Nei...@bs... ne...@os...) -------------------------------------------------------------- ----------------------------------------------------------------------- Information in this email may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. ----------------------------------------------------------------------- |
|
From: wai y. <wa...@29...> - 2003-11-03 17:01:20
|
Just one problem in running the sample.xml with Postgresql. For some reason, the userinfo table couldn't be created because "user" looks like is a preserved word in Postgresql. I am using 7.2. I have to change the user table to a new name: "customer". |
|
From: Tom T. <tom...@ho...> - 2003-05-31 00:53:40
|
Hi Piotr! Thanks for the heads-up on the oracle reserved word.. I also that's a good idea about specifying the size field of strings as an optional param.. maybe it will make it in the next release. As for generating 1-1 relationships as though they were 1-N, I'm not sure I like that idea. Any opinions? Tom >From: Piotr Walendziak <pwa...@ya...> >To: mod...@li... >Subject: [Modelj-user] Bug when running demo on oracle + feature proposals. >Date: Wed, 28 May 2003 01:21:58 -0700 (PDT) >MIME-Version: 1.0 >Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by >mc9-f37.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 28 May >2003 01:22:12 -0700 >Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] >helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net with >esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 19KwCd-0008TK-00; Wed, 28 May 2003 >01:22:31 -0700 >Received: from web9603.mail.yahoo.com ([216.136.129.182])by >sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian))id >19KwC6-0001MJ-00for <mod...@li...>; Wed, 28 May 2003 >01:21:58 -0700 >Received: from [62.89.78.130] by web9603.mail.yahoo.com via HTTP; Wed, 28 >May 2003 01:21:58 PDT >X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP >Message-ID: <200...@we...> >Sender: mod...@li... >Errors-To: mod...@li... >X-BeenThere: mod...@li... >X-Mailman-Version: 2.0.9-sf.net >Precedence: bulk >List-Help: <mailto:mod...@li...?subject=help> >List-Post: <mailto:mod...@li...> >List-Subscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=subscribe> >List-Id: <modelj-user.lists.sourceforge.net> >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=unsubscribe> >List-Archive: ><http://sourceforge.net/mailarchive/forum.php?forum=modelj-user> >Return-Path: mod...@li... >X-OriginalArrivalTime: 28 May 2003 08:22:12.0562 (UTC) >FILETIME=[3D4C9320:01C324F2] > >Hello! > >First I would like to thank for developing this >project.I think it is a great approach for developing >flexible end-to-end apps. > >1.I was running your demo on oracle and I have >discovered following problem: >There couldn't be created table for 'User' bean >because 'user' is a reserved word in oracle. > >2.You could add a nice feature as length property for >string attributes, because now it is created with >default length. I think it is only change in >jbosscmp-jdbc.vm: >#foreach ($bean in $beans) > <entity> > <ejb-name>$bean.name</ejb-name> > <table-name>$bean.name.toUpperCase()</table-name> >#foreach ($attribute in $bean.attribute) >#if ( ( $attribute.type.toLowerCase() == 'string' ) && >$attribute.length != '' ) > <cmp-field> > <field-name>${attribute.name}</field-name> > <jdbc-type>VARCHAR</jdbc-type> > <sql-type>VARCHAR($attribute.length)</sql-type> > </cmp-field> >#end >#end > >3.Link-to-single-object could be also modelled better, >now I think I can model this only by child >relationship collection with own constraint that it >contains only one element.Better would be to have it >modelled as complex attribute (reference to bean). > > >Best regards > >Piotr Walendziak > >===== >Piotr Walendziak >e-mail: pwa...@ya... > >__________________________________ >Do you Yahoo!? >Yahoo! Calendar - Free online calendar with sync to Outlook(TM). >http://calendar.yahoo.com > > >------------------------------------------------------- >This SF.net email is sponsored by: ObjectStore. >If flattening out C++ or Java code to make your application fit in a >relational database is painful, don't do it! Check out ObjectStore. >Now part of Progress Software. http://www.objectstore.net/sourceforge >_______________________________________________ >Modelj-user mailing list >Mod...@li... >https://lists.sourceforge.net/lists/listinfo/modelj-user _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Tom T. <tom...@ho...> - 2003-05-31 00:34:12
|
Hi Eric, Well, the software does in fact generate the performSaveExisting method for 1-N relationships, however the web GUI does not implement that feature yet. Tom >From: Eric Dunn <ed...@me...> >To: "'Tom Tessier '" <tom...@ho...> >Subject: RE: [Modelj-user] Perform_Save_Existing >Date: Mon, 26 May 2003 23:11:34 -0700 >MIME-Version: 1.0 >Received: from mail16.messagelabs.com ([64.124.170.131]) by >mc5-f38.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 26 May >2003 23:09:47 -0700 >Received: (qmail 9561 invoked from network); 27 May 2003 06:09:45 -0000 >Received: from diquil.merc-int.com (HELO merc-int.com) (64.242.155.19) by >server-21.tower-16.messagelabs.com with SMTP; 27 May 2003 06:09:45 -0000 >Received: from sunexbh01.merc-int.com (sunexbh01.merc-int.com >[64.242.153.21])by merc-int.com (8.11.2/8.11.2) with ESMTP id >h4R69j117574for <tom...@ho...>; Mon, 26 May 2003 23:09:45 -0700 >Received: by sunexbh01.merc-int.com with Internet Mail Service >(5.5.2653.19)id <LD8Z8CS7>; Mon, 26 May 2003 23:09:44 -0700 >X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP >X-VirusChecked: Checked >X-Env-Sender: ed...@me... >X-Msg-Ref: server-21.tower-16.messagelabs.com!1054015785!1530 >Message-ID: ><BA4...@sv...> >X-Mailer: Internet Mail Service (5.5.2653.19) >List-Help: <mailto:mod...@li...?subject=help> >List-Subscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=subscribe> >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=unsubscribe> >Return-Path: ed...@me... >X-OriginalArrivalTime: 27 May 2003 06:09:47.0936 (UTC) >FILETIME=[93851A00:01C32416] > >Hi Tom, > Thanks for the quick reply. I am still confused though. > >I made a new modelj config file that did define 1-N relationships. It did >have performSaveExisting() in any of >the source generated. > >On the other hand, in the original sample.xml, it has role-user defined as >M-N. This did generate the >performSaveExisting() method, and in the comment it said "saves an User to >another bean in a many-to-many >relationship". > >Did you make a typo, or was it supposed to generate this for only M-N, and >not 1-N? Logically, you would want >this for 1-N (I know I do). > >Here is the relationship section of my modelj config file. I must be doing >something wrong in here=). > > >Thanks, >Eric > ><!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --> > <relationship> > <parent-bean-name>User</parent-bean-name> > <parent-multiplicity>One</parent-multiplicity> > <child-bean-name>UserInfo</child-bean-name> > <child-multiplicity>One</child-multiplicity> > <navigation>bidirectional</navigation> > </relationship> > <relationship> > <parent-bean-name>User</parent-bean-name> > <parent-multiplicity>One</parent-multiplicity> > <child-bean-name>Checkout</child-bean-name> > <child-multiplicity>Many</child-multiplicity> > <navigation>bidirectional</navigation> > </relationship> > <relationship> > <parent-bean-name>User</parent-bean-name> > <parent-multiplicity>One</parent-multiplicity> > <child-bean-name>Alert</child-bean-name> > <child-multiplicity>Many</child-multiplicity> > <navigation>bidirectional</navigation> > </relationship> > <!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --> > <relationship> > <parent-bean-name>Alert</parent-bean-name> > <parent-multiplicity>One</parent-multiplicity> > <child-bean-name>Checkout</child-bean-name> > <child-multiplicity>One</child-multiplicity> > <navigation>bidirectional</navigation> > </relationship> > <!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --> > <relationship> > <parent-bean-name>Box</parent-bean-name> > <parent-multiplicity>One</parent-multiplicity> > <child-bean-name>Checkout</child-bean-name> > <child-multiplicity>Many</child-multiplicity> > <navigation>bidirectional</navigation> > </relationship> > <!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --> > > > > > > >-----Original Message----- >From: Tom Tessier >To: mod...@li... >Sent: 5/26/2003 9:40 PM >Subject: Re: [Modelj-user] Perform_Save_Existing > >Hi Eric, > >Actually, performSaveExisting is only called when you associate an >existing >object to another that contains it in a one-to-many relationship. So far > >example, when you have Role-Users one-to-many relationship, and >associate an >existing User to an existing Role, the performSaveExisting method of >Role >will be called. Currently, both objects in one-to-one relationships are >saved simulatenously to the database, regardlessly of whether one is >blank >or not. Any suggestions on why this shouldn't be so? > >Tom > > > >From: Eric Dunn <ed...@me...> > >To: "'mod...@li...'" > ><mod...@li...> > >Subject: [Modelj-user] Perform_Save_Existing > >Date: Mon, 26 May 2003 21:11:08 -0700 > >MIME-Version: 1.0 > >Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by > >mc9-f17.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 26 >May > >2003 21:10:13 -0700 > >Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] > >helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net with > >esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 19KVnE-00082D-00; Mon, 26 May >2003 > >21:10:32 -0700 > >Received: from mail16.messagelabs.com ([64.124.170.131])by > >sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian))id > > >19KVmI-0000Ic-00for <mod...@li...>; Mon, 26 May >2003 > >21:09:35 -0700 > >Received: (qmail 27930 invoked from network); 27 May 2003 04:01:16 >-0000 > >Received: from diquil.merc-int.com (HELO merc-int.com) (64.242.155.19) >by > >server-6.tower-16.messagelabs.com with SMTP; 27 May 2003 04:01:16 -0000 > >Received: from sunexbh01.merc-int.com (sunexbh01.merc-int.com > >[64.242.153.21])by merc-int.com (8.11.2/8.11.2) with ESMTP id > >h4R49V116957for <mod...@li...>; Mon, 26 May 2003 > >21:09:31 -0700 > >Received: by sunexbh01.merc-int.com with Internet Mail Service > >(5.5.2653.19)id <LD8Z8BZK>; Mon, 26 May 2003 21:09:31 -0700 > >X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP > >X-VirusChecked: Checked > >X-Env-Sender: ed...@me... > >X-Msg-Ref: server-6.tower-16.messagelabs.com!1054008076!504 > >Message-ID: > ><BA4...@sv...> > >X-Mailer: Internet Mail Service (5.5.2653.19) > >Sender: mod...@li... > >Errors-To: mod...@li... > >X-BeenThere: mod...@li... > >X-Mailman-Version: 2.0.9-sf.net > >Precedence: bulk > >List-Help: ><mailto:mod...@li...?subject=help> > >List-Post: <mailto:mod...@li...> > >List-Subscribe: > ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mode >lj-...@li...?subject=subscribe> > >List-Id: <modelj-user.lists.sourceforge.net> > >List-Unsubscribe: > ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mode >lj-...@li...?subject=unsubscribe> > >List-Archive: > ><http://sourceforge.net/mailarchive/forum.php?forum=modelj-user> > >Return-Path: mod...@li... > >X-OriginalArrivalTime: 27 May 2003 04:10:13.0100 (UTC) > >FILETIME=[DEFC02C0:01C32405] > > > >Hi guys, > > First I'd like to say I like your product's design and >appreciate > >its simplicity, and use of good design > >patterns. > > > > My problem is this, I noticed in your code in your struts action > > >classes, I have generated performSave > >methods. If this entity 'A' is involved in a relationship with 'B', the > > >generated code will always create a > >new 'B' row in the database, regardless if one exists or not. > > > > Now I took a look at your guys BaseAction class and saw the >contant > >for "PERFORM_SAVE_EXISTING". This is > >actually exactly what I want, but for some reason either, > > > >1) I have missed some flag in the sample.xml, or > >2) your code does not generate this method. > > > >How do I get this method to be generated? If it does not support this > >functionality I suppose I have to write > >it myself =). > > > >Thanks so much, > >Eric Dunn > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: ObjectStore. > >If flattening out C++ or Java code to make your application fit in a > >relational database is painful, don't do it! Check out ObjectStore. > >Now part of Progress Software. http://www.objectstore.net/sourceforge > >_______________________________________________ > >Modelj-user mailing list > >Mod...@li... > >https://lists.sourceforge.net/lists/listinfo/modelj-user > >_________________________________________________________________ >The new MSN 8: advanced junk mail protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail > > > >------------------------------------------------------- >This SF.net email is sponsored by: ObjectStore. >If flattening out C++ or Java code to make your application fit in a >relational database is painful, don't do it! Check out ObjectStore. >Now part of Progress Software. http://www.objectstore.net/sourceforge >_______________________________________________ >Modelj-user mailing list >Mod...@li... >https://lists.sourceforge.net/lists/listinfo/modelj-user _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 |
|
From: Tom T. <tom...@ho...> - 2003-05-30 03:12:45
|
Hi Sondre, Currently, the code produced by ModelJ does not allow you to remove an existing relationship without deleting the related entities. Eventually this feature will be added, however.. Tom >From: "Haugen, Sondre" <son...@cg...> >To: "'mod...@li...'" ><mod...@li...> >Subject: [Modelj-user] removing relationships >Date: Wed, 28 May 2003 10:29:59 +0200 >MIME-Version: 1.0 >Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by >mc3-f26.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 28 >May 2003 01:31:19 -0700 >Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] >helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net with >esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 19KwLR-0004T8-00; Wed, 28 May 2003 >01:31:37 -0700 >Received: from rpaore1.cgey.com ([198.184.232.36])by >sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian))id >19KwKg-0003J8-00for <mod...@li...>; Wed, 28 May 2003 >01:30:50 -0700 >Received: from octopus.cgey.com (OCTOPUS [205.223.236.36])by >rpaore1.cgey.com (8.12.1/8.11.3) with ESMTP id h4S8Uern028724for ><mod...@li...>; Wed, 28 May 2003 10:30:41 +0200 (MEST) >Received: from mailsweeper1.capgemini.se ([193.234.248.11])by >octopus.cgey.com (8.12.6/8.12.6) with ESMTP id h4S8UcNT002049for ><mod...@li...>; Wed, 28 May 2003 10:30:39 +0200 (MEST) >Received: from master01.capgemini.se (unverified) by >mailsweeper1.capgemini.se (Content Technologies SMTPRS 4.3.6) with ESMTP > id <T62...@ma...> for ><mod...@li...>; Wed, 28 May 2003 10:21:58 +0200 >Received: by master01.capgemini.se with Internet Mail Service (5.5.2653.19) > id <KMH3BBMA>; Wed, 28 May 2003 10:29:07 +0200 >X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP >Message-ID: <8E2...@os...> >X-Mailer: Internet Mail Service (5.5.2653.19) >Sender: mod...@li... >Errors-To: mod...@li... >X-BeenThere: mod...@li... >X-Mailman-Version: 2.0.9-sf.net >Precedence: bulk >List-Help: <mailto:mod...@li...?subject=help> >List-Post: <mailto:mod...@li...> >List-Subscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=subscribe> >List-Id: <modelj-user.lists.sourceforge.net> >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=unsubscribe> >List-Archive: ><http://sourceforge.net/mailarchive/forum.php?forum=modelj-user> >Return-Path: mod...@li... >X-OriginalArrivalTime: 28 May 2003 08:31:21.0635 (UTC) >FILETIME=[84927730:01C324F3] > >Take a look at the sample project: > >I am not able to find a method that removes a User from a Role. The delete >on the GUI removes the User itself or the Role itself, nothing removes only >the relation. Since it is possible to add an existing user to an existing >role, it should be possible to remove an existing user from an existing >role >too ? > > > >Sondre Haugen >Senior Consultant >Cap Gemini Ernst & Young > >+47 24 12 79 84 (office) >+47 41 54 53 22 (mobile) >+47 24 12 80 01 (fax) > ><http://www.no.cgey.com> > > > > >This message contains information that may be privileged or confidential >and is the property of the Cap Gemini Ernst & Young Group. It is intended >only for the person to whom it is addressed. If you are not the intended >recipient, you are not authorized to read, print, retain, copy, >disseminate, distribute, or use this message or any part thereof. If you >receive this message in error, please notify the sender immediately and >delete all copies of this message. > > > >------------------------------------------------------- >This SF.net email is sponsored by: ObjectStore. >If flattening out C++ or Java code to make your application fit in a >relational database is painful, don't do it! Check out ObjectStore. >Now part of Progress Software. http://www.objectstore.net/sourceforge >_______________________________________________ >Modelj-user mailing list >Mod...@li... >https://lists.sourceforge.net/lists/listinfo/modelj-user _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Haugen, S. <son...@cg...> - 2003-05-28 08:30:53
|
Take a look at the sample project: I am not able to find a method that removes a User from a Role. The delete on the GUI removes the User itself or the Role itself, nothing removes only the relation. Since it is possible to add an existing user to an existing role, it should be possible to remove an existing user from an existing role too ? Sondre Haugen Senior Consultant Cap Gemini Ernst & Young +47 24 12 79 84 (office) +47 41 54 53 22 (mobile) +47 24 12 80 01 (fax) <http://www.no.cgey.com> This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. |
|
From: Piotr W. <pwa...@ya...> - 2003-05-28 08:21:58
|
Hello!
First I would like to thank for developing this
project.I think it is a great approach for developing
flexible end-to-end apps.
1.I was running your demo on oracle and I have
discovered following problem:
There couldn't be created table for 'User' bean
because 'user' is a reserved word in oracle.
2.You could add a nice feature as length property for
string attributes, because now it is created with
default length. I think it is only change in
jbosscmp-jdbc.vm:
#foreach ($bean in $beans)
<entity>
<ejb-name>$bean.name</ejb-name>
<table-name>$bean.name.toUpperCase()</table-name>
#foreach ($attribute in $bean.attribute)
#if ( ( $attribute.type.toLowerCase() == 'string' ) &&
$attribute.length != '' )
<cmp-field>
<field-name>${attribute.name}</field-name>
<jdbc-type>VARCHAR</jdbc-type>
<sql-type>VARCHAR($attribute.length)</sql-type>
</cmp-field>
#end
#end
3.Link-to-single-object could be also modelled better,
now I think I can model this only by child
relationship collection with own constraint that it
contains only one element.Better would be to have it
modelled as complex attribute (reference to bean).
Best regards
Piotr Walendziak
=====
Piotr Walendziak
e-mail: pwa...@ya...
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
|
|
From: Tom T. <tom...@ho...> - 2003-05-27 04:40:28
|
Hi Eric, Actually, performSaveExisting is only called when you associate an existing object to another that contains it in a one-to-many relationship. So far example, when you have Role-Users one-to-many relationship, and associate an existing User to an existing Role, the performSaveExisting method of Role will be called. Currently, both objects in one-to-one relationships are saved simulatenously to the database, regardlessly of whether one is blank or not. Any suggestions on why this shouldn't be so? Tom >From: Eric Dunn <ed...@me...> >To: "'mod...@li...'" ><mod...@li...> >Subject: [Modelj-user] Perform_Save_Existing >Date: Mon, 26 May 2003 21:11:08 -0700 >MIME-Version: 1.0 >Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by >mc9-f17.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 26 May >2003 21:10:13 -0700 >Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] >helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net with >esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 19KVnE-00082D-00; Mon, 26 May 2003 >21:10:32 -0700 >Received: from mail16.messagelabs.com ([64.124.170.131])by >sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian))id >19KVmI-0000Ic-00for <mod...@li...>; Mon, 26 May 2003 >21:09:35 -0700 >Received: (qmail 27930 invoked from network); 27 May 2003 04:01:16 -0000 >Received: from diquil.merc-int.com (HELO merc-int.com) (64.242.155.19) by >server-6.tower-16.messagelabs.com with SMTP; 27 May 2003 04:01:16 -0000 >Received: from sunexbh01.merc-int.com (sunexbh01.merc-int.com >[64.242.153.21])by merc-int.com (8.11.2/8.11.2) with ESMTP id >h4R49V116957for <mod...@li...>; Mon, 26 May 2003 >21:09:31 -0700 >Received: by sunexbh01.merc-int.com with Internet Mail Service >(5.5.2653.19)id <LD8Z8BZK>; Mon, 26 May 2003 21:09:31 -0700 >X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP >X-VirusChecked: Checked >X-Env-Sender: ed...@me... >X-Msg-Ref: server-6.tower-16.messagelabs.com!1054008076!504 >Message-ID: ><BA4...@sv...> >X-Mailer: Internet Mail Service (5.5.2653.19) >Sender: mod...@li... >Errors-To: mod...@li... >X-BeenThere: mod...@li... >X-Mailman-Version: 2.0.9-sf.net >Precedence: bulk >List-Help: <mailto:mod...@li...?subject=help> >List-Post: <mailto:mod...@li...> >List-Subscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=subscribe> >List-Id: <modelj-user.lists.sourceforge.net> >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-user>,<mailto:mod...@li...?subject=unsubscribe> >List-Archive: ><http://sourceforge.net/mailarchive/forum.php?forum=modelj-user> >Return-Path: mod...@li... >X-OriginalArrivalTime: 27 May 2003 04:10:13.0100 (UTC) >FILETIME=[DEFC02C0:01C32405] > >Hi guys, > First I'd like to say I like your product's design and appreciate >its simplicity, and use of good design >patterns. > > My problem is this, I noticed in your code in your struts action >classes, I have generated performSave >methods. If this entity 'A' is involved in a relationship with 'B', the >generated code will always create a >new 'B' row in the database, regardless if one exists or not. > > Now I took a look at your guys BaseAction class and saw the contant >for "PERFORM_SAVE_EXISTING". This is >actually exactly what I want, but for some reason either, > >1) I have missed some flag in the sample.xml, or >2) your code does not generate this method. > >How do I get this method to be generated? If it does not support this >functionality I suppose I have to write >it myself =). > >Thanks so much, >Eric Dunn > > > >------------------------------------------------------- >This SF.net email is sponsored by: ObjectStore. >If flattening out C++ or Java code to make your application fit in a >relational database is painful, don't do it! Check out ObjectStore. >Now part of Progress Software. http://www.objectstore.net/sourceforge >_______________________________________________ >Modelj-user mailing list >Mod...@li... >https://lists.sourceforge.net/lists/listinfo/modelj-user _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Eric D. <ed...@me...> - 2003-05-27 04:09:35
|
Hi guys,
First I'd like to say I like your product's design and appreciate its simplicity, and use of good design
patterns.
My problem is this, I noticed in your code in your struts action classes, I have generated performSave
methods. If this entity 'A' is involved in a relationship with 'B', the generated code will always create a
new 'B' row in the database, regardless if one exists or not.
Now I took a look at your guys BaseAction class and saw the contant for "PERFORM_SAVE_EXISTING". This is
actually exactly what I want, but for some reason either,
1) I have missed some flag in the sample.xml, or
2) your code does not generate this method.
How do I get this method to be generated? If it does not support this functionality I suppose I have to write
it myself =).
Thanks so much,
Eric Dunn
|
|
From: Tom T. <tom...@ho...> - 2003-05-25 03:43:32
|
ModelJ 0.68 has been released. The web codebase has been ported to Struts 1.1-RC1, the ejb codebase has been ported to JBoss 3.2, while the generation codebase has been ported to Velocity 1.3.1-rc2. The port to Struts 1.1-RC1 fixes a bug that prevented the generated application from running properly under a JVM 1.4 implementation. This release also includes skeletal servlet and j2ee library interfaces necessary to compile the generated code. Tom _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Haugen, S. <son...@cg...> - 2003-05-21 09:51:31
|
Hi! What can be wrong? (using mysql 4.0.13 no problem, tables created... on win2000 (:-( I am new to jboss so please tell me if i have to do more than setting up jdbc, datasources and deploy this .ear. 1. run sample.xml 2. copied the Sample.ear to jboss's deploy dir 3. got this error: javax.servlet.ServletException: Parsing error processing resource path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1359) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471) at org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.j ava:52) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93 5) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher. java:653) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch er.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher .java:356) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430) at org.apache.jsp.index_jsp._jspService(index_jsp.java:43) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 10) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:619) at java.lang.Thread.run(Thread.java:536) root cause java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.struts.action.ActionFormBean at org.apache.commons.digester.Digester.createSAXException(Digester.java:2383) Sondre Haugen Senior Consultant Cap Gemini Ernst & Young +47 24 12 79 84 (office) +47 41 54 53 22 (mobile) +47 24 12 80 01 (fax) <http://www.no.cgey.com> This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. |