Re: [Middlegen-user] 2 suggestions

2002-07-17 Thread Eivind Waaler
Hi Kasper, I've added your suggestions as Feature Requests at the middlegen site. Feel free to browse or add comments/followups: http://sourceforge.net/tracker/?func=browsegroup_id=36044atid=415993 .eivind On Wed, 17 Jul 2002, Kasper Nielsen wrote: Hi, 2 things that would make middlegen

Re: [Middlegen-user] Missing cmp-field/cmp-field in jbosscmp-jdbc.xml?

2002-07-31 Thread Eivind Waaler
to be deprecated - Kasper - Original Message - From: Eivind Waaler [EMAIL PROTECTED] To: Kasper Nielsen [EMAIL PROTECTED] Cc: Asgeir Østerhus [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 2:09 PM Subject: Re: [Middlegen-user] Missing cmp-field/cmp-field

Re: [Middlegen-user] unique-key

2002-11-01 Thread Eivind Waaler
Hi, I suggest you submit a bug report: http://sourceforge.net/tracker/?group_id=36044atid=415990 Or would this be a feature request? .eivind On Fri, 1 Nov 2002, Mustafa Radi wrote: Am I right, that middlegen doesn't know anything about unique keys ??? If I generate a foreign-key-id and mark

Re: [Middlegen-user] Duplicate columns generated with foreign key relationships

2002-11-14 Thread Eivind Waaler
Have you tried using the fkcmp attribute in the cmp20 plugin? Look here for documentation: http://boss.bekk.no/boss/middlegen/plugins/cmp20.html .eivind On Thu, 14 Nov 2002, Meyer-Willner, Bernhard wrote: What I can tell you is that JBoss currently doesn't allow one field/column to be a CMP

Re: [Middlegen-user] CMR in ejbPostCreate and NOT NULL foreign keys

2002-11-16 Thread Eivind Waaler
Hmm, according to the SQL you're printing out there the two foreign keys are being set twice in the same statement. Are you using the fkcmp=false attribute in your cmp20 plugin? Read the documentation about this attribute here: http://boss.bekk.no/boss/middlegen/plugins/cmp20.html#fkcmp I guess

Re: [Middlegen-user] Middlegen CVS joint-table and struts empty

2002-11-16 Thread Eivind Waaler
Sounds like a bug, I'll try to look into it as soon as possible. .eivind On Fri, 15 Nov 2002, Mike Coburn wrote: just testing 2 tables: TabA and TabB linked by a joint table: TabA2TabB in mysql if generate is yes for the joint table, when I check the struts file: formTabA2TabBInc.jsp, It

Re: [Middlegen-user] can't find tables w/ MSSQL JDBC driver runningairline sample

2002-12-10 Thread Eivind Waaler
: Eivind Waaler [EMAIL PROTECTED] wrote on 12/10/2002 03:24:11 AM: Hi, I see you figured out. That has been fixed in the CVS version 2 months ago. I strongly recomend using the CVS version. Quite a few issues has been reported with that beta release. Thanks. I got the latest beta

Re: [Middlegen-user] Conversion question

2002-12-10 Thread Eivind Waaler
I'm not sure why. If it's a problem for you, it can be switched off with the fkcmp flag in cmp20 task i believe: http://boss.bekk.no/boss/middlegen/plugins/cmp20.html#fkcmp .eivind On Tue, 10 Dec 2002, Jon Finanger wrote: I'm in the process of converting my 100+ tables database to CMP. One

RE: [Middlegen-user] cutting of my bean names

2002-12-13 Thread Eivind Waaler
The following command gets stuff from cvs: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/middlegen co middlegen The sources you're interested in here i think would be: src/java/middlegen/Util.java - Methods performing the singularize/pluralize stuff. src/java/middlegen/javax/JavaTable.java -

[Middlegen-user] Re: help!

2003-03-21 Thread eivind . waaler
Please post this kind of requests to the middlegen-user list.The answer to your problem is related to the schema of your jdbc connection. Try setting the schema to 'dbo' or whatever is right for you. Check this

Re: [Middlegen-user] java.lang.ClassNotFoundException:middlegen.DontCloseLog4JLogSystem

2003-06-05 Thread Eivind Waaler
What version of Middlegen are we talking about here? What JDK version are you using? Make sure you don't have any other stuff in your classpath before running Middlegen. Try 'set CLASSPATH=' or similar before you run 'ant middlegen'. Also make sure you don't have any xdoclet stuff or other jar

Re: [Middlegen-user] Value Object support++

2003-05-28 Thread Eivind Waaler
I'm not sure I understand your problem. The field is spelled wrong in the hasIdentity() method? What about the regular value object? It should be excactly the same there. My guess if there's something wrong with the value objects, is that there's a bug in xdoclet. The template for value objects

Re: [Middlegen-user] error java.lang.OutOfMemoryError for Runningweblogic.ejbc

2003-06-11 Thread Eivind Waaler
Hi, I've had that same problem with a database with around 100 tables. There are two different things I've tried, that at least got the process a bit further (before I switched to JBoss - no problems of course..!): 1. Allocate more memory to ant: set ANT_OPTS=-mx640m 2. Try splitting the build

Re: [Middlegen-user] Trying to have my CMP EJBs extending a baseclass (cmp20 plugin)

2003-06-11 Thread Eivind Waaler
You have to hack the template to achieve this. Must have something like this in the template: public abstract class $table.destinationClassName extends YourBaseBean implements javax.ejb.EntityBean { Take a copy of the template, modify and use it like this in the build.xml: cmp20..

Re: [Middlegen-user] Trying to have my CMP EJBs extending a baseclass (cmp20 plugin)

2003-06-11 Thread Eivind Waaler
feature. Do you know any workaround to add the value object methods directly inside the bean source file ? I really want to get rid off these extra CMP classes... Thanks again anyway Best regards, Gregory - Original Message - From: Eivind Waaler [EMAIL PROTECTED

Re: [Middlegen-user] Re: Re: error java.lang.OutOfMemoryError forRunning weblogic.ejbc

2003-06-12 Thread Eivind Waaler
I don't really have a working solution for this. I've switched to JBoss which verifies and deploys the beans in a fraction of the time Weblogic uses :-) Check with BEA why you get that error. Seems to be a common problem: http://tinyurl.com/e4fh Regards .eivind On Thu, 12 Jun 2003, qiang wrote:

Re: [Middlegen-user] Problem when Generating PK classes

2003-06-13 Thread Eivind Waaler
Can you describe a bit more detailed: - What db? Mysql? - How are your tables defined? - An example from the bean class you get, with description of what is wrong with it. .eivind On Thu, 12 Jun 2003, Dos Santos wrote: Hi! i'm sorry to bother you if you already got this message. I had some

Re: [Middlegen-user] Problem while running example given in'GettingStarted' pages

2003-06-16 Thread Eivind Waaler
Sounds like you have an old version of XDoclet in your classpath. Make sure it's empty before you run Middlegen. What version of Middlegen are you trying? Regards .eivind On Mon, 16 Jun 2003, sriram wrote: Hi, I've just downloaded Middlegen and trying to work through the examples

Re: [Middlegen-user] Value Object Patterns

2003-06-16 Thread Eivind Waaler
them and everything seems to be fine. I have one more question though, what is a session facade? is it a session wrapper bean? Thanks so much for your help. --- Eivind Waaler [EMAIL PROTECTED] wrote: When you get Middlegen from CVS you have to build the jar files. Just write 'ant

Re: [Middlegen-user] Value Object Patterns

2003-06-16 Thread Eivind Waaler
. Is there any way that I could generate them with remote interfaces while generating entity beans with local interfaces? Thanks again. --- Eivind Waaler [EMAIL PROTECTED] wrote: Yeah, they're created by the entityfacade xdoclet tag. Session beans wrapping the functionality of the entity beans

Re: [Middlegen-user] Special Finders

2003-07-01 Thread Eivind Waaler
On Mon, 30 Jun 2003, Ed Ross wrote: I've found out how to add special finders by putting them at the merge points. However, I have a few questions? 1) How can I find all of the merge points. I can not find any documentation about these? There is a section called merge files at the

Re: [Middlegen-user] oracleSequence not available

2003-08-28 Thread Eivind Waaler
Hi Frank, The oraclesequence stuff was added to middlegen after that 2.0 beta version was built. Get Middlegen from CVS. I recommend getting the VALUEOBJECT_REFACTORING_BRANCH tag, as the main branch has some bugs. You will probably have to set up the build.xml file in the vo-cvs using the

Re: [Middlegen-user] Problem to produce Form*Action.java file

2003-09-09 Thread Eivind Waaler
What version of Middlegen are you using? Some cvs version i guess? Have you only made changes to the form.vm file, no other files? Have you checked that you actually have the missing vm file in the jar file? You could possibly try to get a different version from cvs, copy your changed form.vm

Re: [Middlegen-user] 2.0b1 source download?

2003-09-11 Thread Eivind Waaler
You get the source from cvs: http://sourceforge.net/cvs/?group_id=36044 I recommend getting the VALUEOBJECT_REFACTORING_BRANCH tag, because there are some bugs in the MAIN branch.. Also the VO branch contains quite alot of new functionality (value object, session bean facade, hibernate...).

Re: [Middlegen-user] I Have a problwm with jboss 3.0.x and middlegen

2003-09-11 Thread Eivind Waaler
If this is the CMR/CMP problem with JBoss you could maybe try the fkcmp=false parameter to the cmp20 plugin? You could also try to check with the JBoss community, as they know more about JBoss than us.. :-) .eivind On Wed, 10 Sep 2003, Joao Cerdeira wrote: Hi, i have a relation where the

Re: [Middlegen-user] Problem with suffix in cmp2.0

2003-09-11 Thread Eivind Waaler
This seems to work fine for me. What version of Middlegen are you using? Try getting Middlegen from CVS and build, if you're using the 2.0b version. I recommend getting the VALUEOBjECT_REFACTORING_BRANCH tag, as the MAIN branch has some known bugs. .eivind On Wed, 10 Sep 2003, Stefano Maestri

RE: [Middlegen-user] newbie question: Middlegen

2003-09-23 Thread Eivind Waaler
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eivind Waaler Sent: Tuesday, September 23, 2003 4:37 PM To: [EMAIL PROTECTED] Subject: Re: [Middlegen-user] newbie question: Middlegen I use MySQL on winXP too. No problems. The default setup of MySQL on XP is without userid

Re: [Middlegen-user] exclude PK attributes from ejbCreate signature

2003-09-30 Thread Eivind Waaler
You have to make Middlegen generate the PKs. In the samples this is done using the sequenceblock.. tags. Some other ways to do it are explained here: http://boss.bekk.no/boss/middlegen/plugins/cmp20.html For beans with composite PK, for example the ReservationBean in the samples, the FK parts of

Re: [Middlegen-user] Why is JBoss *creating* tables?

2003-10-01 Thread Eivind Waaler
Doesn't JBoss create the tables if it can't find them? Could it be that your jdbc connection in JBoss is not set up with the same schema etc. as the one Middlegen uses? Just guessing here really, have not had this problem myself. .eivind On Wed, 1 Oct 2003, Gavin Sinclair wrote: Hi, I have

Re: [Middlegen-user] Can't deploy the Sample(airline.ear) to Jboss(jboss-3.2.2RC4).....

2003-10-04 Thread Eivind Waaler
Seems like you get some MethodNotFoundError on those apache bcel classes? Could this be some kind of classpath related issue? I'm running the sample on MySQL4.0.12 and JBoss-3.2.1.. Works fine. Maybe you could try a different version of JBoss, instead of running on a RC? .eivind On Wed, 1 Oct

Re: [Middlegen-user] Cascade-delete

2003-10-07 Thread Eivind Waaler
That has not been added to Middlegen yet. It sould be a pretty easy task to update the entitybean plugin with a setting for this, since xdoclet supports it on the @ejb.relation tag: http://www.xdoclet.org/tags/[EMAIL PROTECTED](0..1) .eivind On Mon, 6 Oct 2003, Ben Litchfield wrote: Is it

Re: [Middlegen-user] Regarding gui in Middlegen 1.2

2003-10-11 Thread Eivind Waaler
Get a newer version. Either the 2.0 beta 1 from sf.net: http://prdownloads.sourceforge.net/middlegen/middlegen-2.0-b1.zip?download Or get from cvs, if you want value-object support you could try downloading this one: http://boss.bekk.no/boss/middlegenVO_240803.zip .eivind On Fri, 10 Oct 2003,

Re: [Middlegen-user] duplicate CMP and CMR fields

2003-10-17 Thread Eivind Waaler
You could try the fkcmp flag in the cmp20 plugin maybe? http://boss.bekk.no/boss/middlegen/plugins/cmp20.html#fkcmp .eivind On Thu, 16 Oct 2003 [EMAIL PROTECTED] wrote: Middlegen is incorrectly generating CMP and CMR fields incorrectly. It's creating the FK fields as both CMP as well as the

Re: [Middlegen-user] newbie q #1: CMR across schemas?

2003-10-21 Thread Eivind Waaler
Hi, sorry there seems to be no replies to your message. Currently Middlegen does not support more than one schema.. Not sure I entirely understand your problem. You want to access the entities from several WAR files? This should be no problem as long as all WAR files are placed in the same EAR

Re: [Middlegen-user] newbie q #1: CMR across schemas?

2003-10-21 Thread Eivind Waaler
a middlegen thing. Again, sorry for the novice questions. Any further hand-holding would be greatly appreciated. Cheers, -mwh On Monday, October 20, 2003, at 11:01 PM, Eivind Waaler wrote: Hi, sorry there seems to be no replies to your message. Currently Middlegen does not support

Re: [Middlegen-user] Generating empty ejbcreate

2003-10-22 Thread Eivind Waaler
Your table cannot have any required columns, and pk generation must be disabled in Middlegen.. I haven't tried this, but I guess you'd end up with an empty create method.. .eivind On Tue, 21 Oct 2003, Leonardo Razuk Jorge Froede wrote: Hi All, Sorry for the blank mail.. I need to know

Re: [Middlegen-user] Composite FK

2003-10-23 Thread Eivind Waaler
You could try using merge files for specifying the finders you need: http://boss.bekk.no/boss/middlegen/plugins/cmp20.html (bottom of page) .eivind On Wed, 22 Oct 2003 [EMAIL PROTECTED] wrote: I have a composite FK and would like Middlegen to generate finders for them. I have specified:

Re: [Middlegen-user] Relation with foreignKey

2003-11-01 Thread Eivind Waaler
Middlegen detects your database relationships and displays these. They can not be changed graphically. If the relationships are wrong, they are probably wrong in your datamodel too. .eivind On Fri, 31 Oct 2003, zousey seyzou wrote: Hello forum, i am trying to make a relation cmr between 2

Re: [Middlegen-user] what is the New Version of middlegen ?

2003-11-01 Thread Eivind Waaler
Newest working version would probably be the VALUEOBJECT_REFACTORING_BRANCH in cvs. Read this: http://sourceforge.net/cvs/?group_id=36044 Then do something like this: cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/middlegen -q checkout -r VALUEOBJECT_REFACTORING_BRANCH -P middlegen .eivind On Fri,

Re: [Middlegen-user] jdbc lookup on deployment problem

2003-11-02 Thread Eivind Waaler
Hi, I suggest you check with jboss and xdoclet resources to find out what's missing. Then go back to see if Middlegen can be configured to fix the problem.. Cheers .eivind On Sun, 2 Nov 2003, Lister, Tom (ANTS) wrote: Hi When deploying a generated ear I get the following deployment error re

Re: [Middlegen-user] I need Help to @weblogic:automatic-key-generation

2003-11-02 Thread Eivind Waaler
Yes, you can try the weblogic sub element to the cmp20 task: http://boss.bekk.no/boss/middlegen/plugins/cmp20.html#weblogic .eivind On Sun, 2 Nov 2003, zousey seyzou wrote: Hello guy well I am busy writter to the forum, is it possible for middlegen to put.

Re: [Middlegen-user] @weblogic.automatic-key-generation -Version2-Help

2003-11-03 Thread Eivind Waaler
Did you try the weblogic task in build.xml as I suggested? You can also use merge files. I suggest you take a look at the website, and read about plugins etc. before you ask questions here: http://boss.bekk.no/boss/middlegen/ .eivind On Mon, 3 Nov 2003, zousey seyzou wrote: Hello forum what

Re: [Middlegen-user] Yes-.eivind I have tried it

2003-11-03 Thread Eivind Waaler
Hmm. If the task doesn't work, you could try with merge files (at the bottom of page): http://boss.bekk.no/boss/middlegen/plugins/cmp20.html I'll look into the weblogic task asap, to see if it has been broken. It used to work, but other id generation stuff might have broken it. .eivind On Mon,

Re: [Middlegen-user] fileproducer and .vm

2003-11-05 Thread Eivind Waaler
If you look inside the different plugin jar files, you will find the vm files they use. For tutorials on writing templates see the Velocity project pages at Jakarta: http://jakarta.apache.org/velocity/index.html .eivind On Wed, 5 Nov 2003, zousey seyzou wrote: Hello forum, I want to use

Re: [Middlegen-user] New Project Recommendations

2003-11-08 Thread Eivind Waaler
The VALUEOBJECT_REFACTORING_BRANCH from Sourceforge cvs is the latest working version we have right now. In the next week I'll probably be merging this branch into the MAIN branch at sourceforge, to get a working version out while Middlegen3 is being developed at codehaus.. .eivind On Fri, 7

[Middlegen-user] New Middlegen HEAD branch at Sourceforge

2003-11-09 Thread Eivind Waaler
Hi everybody. I've just commited a merge of the VALUEOBjECT_REFACTORING_BRANCH into the HEAD branch of the sourceforge cvs. There might be some bugs, with different plugins and versions etc. Please report all problems in the JIRA tracker under version 2.0-beta-2-HEAD:

Re: [Middlegen-user] new version

2003-11-10 Thread Eivind Waaler
have just read your E-mail about New Middlegen HEAD branch at Sourceforge Eivind Waaler [EMAIL PROTECTED] : so, is this the new version that one could check-out from http://middlegen.cvs.codehaus.org/middlegen/, so the HEAD-BRANCH is the newest ? Thanks

Re: [Middlegen-user] How to restrict the number of tables to use for bean extraction?

2003-11-10 Thread Eivind Waaler
In the build.xml file, you can specify what tables to use with table subtasks to the middlegen task: http://boss.bekk.no/boss/middlegen/ant/table.html For example, for the sample tables: middlegen... table name=persons/ table name=flights/ table name=reservations/ hibernate.../

Re: [Middlegen-user] Using Middlegen with Jboss (1:N relations)?

2003-12-08 Thread Eivind Waaler
Hi Darren. Could you detail out your problem some more? I just tested with the latest cvs version locally, and I can build and deploy the airline sample fine with relationships on JBoss. I'm using JBoss 3.2.1 with mySQL 4.0.12. What is the problem you get when running the latest Middlegen?

[Middlegen-user] Re: Can build but can not deploy middlegen example

2003-12-09 Thread Eivind Waaler
Hi, I'll just reply on this one to the user list, might be others who have input as well.. As I said yesterday the airline example works fine for me with the latest cvs version of Middlegen, JBoss 3.2.1 and mySQL 4.0.12. What are the problems you're having? Exceptions? Regards .eivind On Tue,

[Middlegen-user] re: JNDI lookup name

2003-12-09 Thread Eivind Waaler
Hi Darren, Creating a new mail, somehow I'm not able to read your mails in plain text. Some error about non-hexadecimal characters or something.. Could you make sure you send your msgs in plain text? Anyway, to use JNDI_NAME instead of COMP_NAME in your lookup class, change the utilobject

Re: [Middlegen-user] Middlegen-r3

2003-12-16 Thread Eivind Waaler
case). Should be some way, to do that by ant task (just for PK-FK relations). But how ? Thanks, Alex. Eivind Waaler wrote: What version Middlegen are you using? I recommend using the latest cvs version. You can use the GUI to generate the relationships in just one way. Might have

Re: [Middlegen-user] XMI Plugin update

2003-12-18 Thread Eivind Waaler
Cool stuff. I'll take a look. Hoping we can get this and other new plugins in with the Middlegen3 version :) Cheers .eivind On Tue, 16 Dec 2003, Michael Henderson wrote: Hi, Last week I uploaded a new version of the plugin to jira.codehaus.org under the XMI Plugin issue. The new version

RE: [Middlegen-user] Changing class the determines Data type

2003-12-18 Thread Eivind Waaler
All useful changes you do will be interesting for us. Please log your stuff in the jira if you create some good stuff: http://jira.codehaus.org/secure/BrowseProject.jspa?id=10110 Regards .eivind On Tue, 16 Dec 2003, Daniel Rosenbaum wrote: I am using Oracle. I doubt that is the problem

Re: [Middlegen-user] How to generate mvcsoft-pm.xml

2004-01-01 Thread Eivind Waaler
This sounds more like an xdoclet specific problem. Try asking at the xdoclet list.. .eivind On Wed, 31 Dec 2003, WengSoon Chia wrote: I am new in using MiddleGen for EJB development. We are using the mvcsoft with JBoss 2.4 and I have configured MiddleGen (with XDoclet 1.2) to generate all

Re: [Middlegen-user] Sequence problem.

2004-01-01 Thread Eivind Waaler
Have you tried the jndiprefix attribute on the sequenceblock subtask of the cmp20 task? http://boss.bekk.no/boss/middlegen/plugins/cmp20.html#sequenceblock Seems like the problem is that both sequence beans get the same jndi name. Might be a bug if the jndiprefix attribute doesn't solve it..

[Middlegen-user] New release: Middlegen 2.0 VO

2004-01-08 Thread Eivind Waaler
. Brief summary of changes in this release: - Value Object support - Support for session bean facade generation - Hibernate support, latest version of Hibernate plugin included ++ bug fixes etc. Please report all problems with this release asap. Regards Eivind Waaler

Re: [Middlegen-user] Errors when generating code for Samples/Weblogic

2004-01-14 Thread Eivind Waaler
Hi, I noticed someone else had this same problem. I'm not sure why you get it, but it has something to do with the generation of the weblogic-cmp-rdbms-jar-xml file. - If you are not using weblogic, remove the weblogic.. subtask from the ejbdoclet task. - If you are using weblogic and need the

Re: [Middlegen-user] Question on Hibernate Struts plug-ins

2004-01-28 Thread Eivind Waaler
On Tue, 27 Jan 2004 [EMAIL PROTECTED] wrote: I am contemplating using Middlegen (2.0 VO) to generate Struts (1.1) and Hibernate (2.1.1) classes for an application that I am working on. I have a few questions that I can't seem to find answers to in the documentation of Middlegen. First a

Re: [Middlegen-user] UNSUBSCRIBE

2004-02-02 Thread Eivind Waaler
You unsubscribe from the sourceforge page: http://sourceforge.net/mail/?group_id=36044 Anyone has any idea why this is happening to the list? The project is still depending on using this list, so this is a major problem. .eivind On Mon, 2 Feb 2004, Lister, Tom (ANTS) wrote: Can someone get

Re: [Middlegen-user] Deploying sample from middlegen-2.0-vo on JBoss/MySQL

2004-02-25 Thread Eivind Waaler
This works fine for me. Having the value as 'mySQL' in the mysql.xml file. Could it be a problem with the JBoss version you're using or something like that? I'm using jboss-3.2.3 now, seems to work fine :-) You have of course changed the DefaultDS to use mysql instead of hsqldb? The datasource to

Re: [Middlegen-user] generated code does not compile(2)

2004-03-01 Thread Eivind Waaler
? If you look at the Middlegen sample you'll see how Middlegen and XDoclet work together to generate complete code for deployment. Regards .eivindw. On Fri, 27 Feb 2004, Leif Ashley wrote: Haug and Eivind Waaler: to the best of my knowledge, the methods: void ejbActivate() void ejbLoad() void

Re: [Middlegen-user] Request for help with new adapter/struts/hibernate

2004-03-01 Thread Eivind Waaler
Hi Andreas, The adapter plugin for hibernate is still under development and not quite ready for use unfortunately. Classes with composite keys and other basic stuff is not yet in place. Not sure about your xdoclet error. Try searching the xdoclet lists/documentation for similar errors. Regards

Re: [Middlegen-user] Request for help with new adapter/struts/hibernate

2004-03-02 Thread Eivind Waaler
On Mon, 1 Mar 2004, Andreas Kemkes wrote: Eivind: Eivind Waaler wrote: Hi Andreas, The adapter plugin for hibernate is still under development and not quite ready for use unfortunately. Classes with composite keys and other basic stuff is not yet in place. I do understand

RE: [Middlegen-user] Struts Action/ActionForm generation Hibernate

2004-03-02 Thread Eivind Waaler
Current CVS version uses the new adapter plugin. This currently only works for ejb, but a hibernate version is under development. There has been some questions about this, we'll try to get it done soon together with some updated documentation. The whole struts plugin will also be reviewed.

Re: [Middlegen-user] generated code does not compile(2)

2004-03-02 Thread Eivind Waaler
here are in those bean classes. MiddleGen is *NOT* putting those methods in the bean classes, and as such, generating JBoss CMP errors. If this isn't the case, please show me how. --- Eivind Waaler [EMAIL PROTECTED] wrote: Hi again, The standard Middlegen airline

Re: [Middlegen-user] Request for help with new adapter/struts/hibernate

2004-03-05 Thread Eivind Waaler
Thanks for the feedback. I'm aware of the date problem. I'll just put your fix in there for now, then we'll just change it later. The $retPersistenceClass variable will always be the hibernate java object I think. The reason for the comment was the adapter for the cmp20 plugin which can use both

Re: [Middlegen-user] Reverse from an existing database

2004-03-05 Thread Eivind Waaler
Hi, middlegen will generate the hibernate xml mapping files from your database. Then you can use hibernates hbm2java tool to generate the java files. Just set up middlegen to run against your database. The sample build.xml script includes a target to run hbm2java, which depends on the middlegen

Re: [Middlegen-user] help

2004-03-09 Thread Eivind Waaler
Hi, I suggest you take a look at the following description for hibernate: http://www.hibernate.org/98.html The Struts generation for Hibernate code is still being developed, but can be run if you get the latest version from cvs. Regards .eivind On Tue, 9 Mar 2004, Siddharth Paralikar wrote:

Re: [Middlegen-user] use of Velocity #include

2004-03-10 Thread Eivind Waaler
In the plugin definition in build.xml you set a mergedir where the include file is found. In our templates we use #parse (#include works too?): #parse(copyright.txt) Regards .eivind On Wed, 10 Mar 2004, Matthew Hegarty wrote: Hello I am having trouble getting the Velocity 'include'

Re: [Middlegen-user] SybaseConnection-problem-very urgent

2004-03-11 Thread Eivind Waaler
Could you include the part of your build.xml that has the table definitions? That way I can check if there's a bug with any of the latest changes to MiddlegenPopulator.. .eivind On Thu, 11 Mar 2004, zousey seyzou wrote: I have checked out middlegen from sourceSafe,but whne i try to connect to

Re: [Middlegen-user] RE: middlegen-user digest, Vol 1 #570 - 3 msgs

2004-03-12 Thread Eivind Waaler
(zousey seyzou) 2. Re: SybaseConnection-problem-very urgent (Eivind Waaler) 3. New Database/JDBC driver tested (Sagar Saladi) --__--__-- Message: 1 From: zousey seyzou [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 11 Mar 2004 08:34:19 +0100 Subject: [Middlegen-user

Re: [Middlegen-user] New Database/JDBC driver tested

2004-03-12 Thread Eivind Waaler
Great, I'll update the list of supported database drivers. .eivind On Thu, 11 Mar 2004, Sagar Saladi wrote: Hi all, I tested the JDBC Driver: jTDS with MSSQL with hibernate. It is working fine and perfect. Driver: net.sourceforge.jtds.jdbc.Driver Database: MSSQL Cheers!!! Sagar

Re: [Middlegen-user] What is state of Middlegen

2004-03-13 Thread Eivind Waaler
Hi, Middlegen is going to move everything to codehaus eventually. But not until version 3 is ready. So far only the issue tracker there is being used, so all bugs, patches and change requests should be reported in the codehaus jira. The Middlegen project page is still sourceforge, this is where

Re: [Middlegen-user] very Urgent-Table not found in sybase

2004-03-19 Thread Eivind Waaler
: middlegen-user digest, Vol 1 #570 - 3 msgs (Eivind Waaler) 3. Re: New Database/JDBC driver tested (Eivind Waaler) 4. [Fwd: Extension to the Weblogic Module] (=?ISO-8859-1?Q?Aslak_Helles=F8y?=) 5. Which XDoclet version to use with MiddleGen? (Andreas Kemkes) 6. Re: Which XDoclet

Re: [Middlegen-user] usage of Valueobject problem

2004-03-24 Thread Eivind Waaler
The standard example from last release and cvs uses value objects. What is your problem? .eivind On Tue, 23 Mar 2004, zousey seyzou wrote: Hello I want to use ValueObject tag in my middlegen generation, but i am having problem can I use use ValueBean if so how. help

Re: [Middlegen-user] syabse-problem-help-needed

2004-03-24 Thread Eivind Waaler
Middlegen can't find any of your tables it seems. Could it be something wrong with your connection? Try specifying catalog and/or schema in different ways. I know for some databases there's been a difference if you use catalog= and leave the catalog out completely for instance. Just try different

Re: [Middlegen-user] 2 questions

2004-03-24 Thread Eivind Waaler
On Fri, 19 Mar 2004, Soos Istvan wrote: Hello! I'm very newbie, and right now I have 2 possibly dummy question: Is there any build script and/or configuration that generates the CMP Bean classes only? The classes witch I move into JbossIDE, and then run Xdoclet in the IDE, and so on... (Is

Re: [Middlegen-user] MiddleGen bug?

2004-03-24 Thread Eivind Waaler
I believe there's a bug in Middlegen when you have two foreign keys pointing to the same table. Think maybe someone had a quickfix for this? Try searching the mailing list archives.. .eivind On Mon, 22 Mar 2004, Nuno Duarte Santos (Ext) wrote: Hello, I am trying to use Middlegen with the

Re: [Middlegen-user] MiddlegenPopulator 256 ) WARNING: Middlegen couldn't find any relations ...

2004-03-24 Thread Eivind Waaler
That is weird. I guess Eclipse sets some more classpath than what the build script does. The logging can be enabled from command line as well, just make sure the log4j.properties is found in classpath. This does not explain why it works from Eclipse, but I would think there is a difference in

Re: [Middlegen-user] RE: Welcome to the middlegen-user mailing list

2004-03-24 Thread Eivind Waaler
Hi, the README.txt file might be somewhat outdated. The 2.0-VO release should include all the jar files you need to run the sample. Make sure all the xdoclet jar files are in the samples/lib dir and try running again. .eivind On Wed, 24 Mar 2004, andrew wong wrote: Hi all, I

RE: [Middlegen-user] Is someone still support this forum mailling list

2004-04-15 Thread Eivind Waaler
I have Weblogic installed. Just been very busy last couple weeks, easter vacation and work.. I'll try to have a look at it soon. An important point here is that this is a user mailinglist, the point is to let users help eachother out as much as possible. The developers are unfortunately too busy

Re: [Middlegen-user] where all the new entries ?

2004-04-30 Thread Eivind Waaler
Usually takes some days for the new messages to appear in the archives. Not sure why.. .eivind On Fri, 30 Apr 2004, zousey seyzou wrote: I have sent some new questions to the forum but when I go to http://sourceforge.net/mailarchive/forum.php?forum=middlegen-user I don't see any new question

Re: [Middlegen-user] Another newbie cannot build CVS

2004-05-03 Thread Eivind Waaler
Hi, I'm not sure what the status is on the Maven build stuff. Try using ant instead. Just run 'ant' (default target) on the main directory. .eivind On Thu, 29 Apr 2004, steve wrote: RH-9.0 / Sun Java 1.4.2_03 / maven 1.0-rc2 / middlegen cvs 04-29-04 ~noon I followed the website instructions

Re: [Middlegen-user] Strange Hibernate Behaviour

2004-05-05 Thread Eivind Waaler
Hi, Could it be that there is some exception/error occuring but not being logged because log4j isen't configured? Make sure you have a log4j.properties in the classpath when you run your testprogram. .eivind On Wed, 5 May 2004, Neo Gigs wrote: Hello, I had the following codes with does not

Re: [Middlegen-user] Is middlegen quality getting poorer ?

2004-05-20 Thread Eivind Waaler
Hi, I'm sorry about the lacking support for Middlegen problems. We're only a few people, all busy with other projects. I took a look at your problem. Apparantly there is some bug with the xdoclet version we're using to generate the entityfacades, which makes an entry in the ejb-jar.xml file for a

RE: [Middlegen-user] Middlegen and Hsqldb - compound keys

2004-05-21 Thread Eivind Waaler
Doesn't the standard Middlegen sample (persons, reservations, flights) use compound primary key for the reservations table? It does something like this in the create script: PRIMARY KEY (reservation_id,person_id_fk,flight_id_fk) Seems to work fine. Middlegen reads it as a compound primary key.

RE: [Middlegen-user] middlegen + value objects + {0} option in pa ckage name

2004-05-24 Thread Eivind Waaler
-mapping=$table.resultTypeMapping Am I missing something ? regards jorge -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eivind Waaler Sent: viernes, 21 de mayo de 2004 16:56 To: [EMAIL PROTECTED] Subject: Re: [Middlegen-user] middlegen + value

RE: [Middlegen-user] middlegen + value objects + {0} option in pa ckage name

2004-05-24 Thread Eivind Waaler
get everything from cvs and rebuild middlegen yourself. See if that helps :) .eivind thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eivind Waaler Sent: lunes, 24 de mayo de 2004 17:23 To: [EMAIL PROTECTED] Subject: RE: [Middlegen-user

Re: [Middlegen-user] middlegen-2_0-b1

2004-05-25 Thread Eivind Waaler
You still have to use 'middlegen' as the module name. 'middlegen-2_0-b1' must be specified as tag/revision (-r option?). Cheers .eivind On Mon, 24 May 2004, Chintan wrote: Hello All, I am trying to download sourcecode of middlegen-2_0-b1, using CVS. I specifiy middlegen-2_0-b1 as Tag,

Re: [Middlegen-user] Has sample an error (a many2many block to build.xml)?

2004-05-29 Thread Eivind Waaler
Hi, If you just want to avoid the tables, specify the tables wanted in the build file (instead of using the many2many element): table name=persons/ table name=reservations/ table name=flights/ I know this is a little akward, we'll try to add a patch that makes it able to specify tables to

Re: [Middlegen-user] Compile errors

2004-06-01 Thread Eivind Waaler
You have to use the xdoclet jar files shipped with Middlegen for the facade beans to work properly, as the standard ones use data objects. Alternatively you can set the cmp20 plugins dataobjects attribute to true, as this should generate dataobjects. Might also have to set some xdoclet property in

Re: [Middlegen-user] middlegen unable to recognize relationships in MySQL 4.1.x

2004-08-12 Thread Eivind Waaler
Hi Panos, Did you figure out anything on this one? I'm having the same problem with the 4.x version of mysql. Could this be a bug in mysql? .eivind On Mon, 9 Aug 2004, Panagiotis Kammas wrote: Hello all,   I have been trying for more than a week now (looked in forums sites, tried

Re: [Middlegen-user] middlegen unable to recognize relationships in MySQL 4.1.x

2004-08-12 Thread Eivind Waaler
Ok, found out. Download the latest mysql connector. The old beta driver in the middlegen distribution doesn't work with the newer mysql versions. Also remember to use type innodb on your tables. Cheers .eivind On Thu, 12 Aug 2004, Eivind Waaler wrote: Hi Panos, Did you figure out anything

Re: [Middlegen-user] run the middlegen GUI?

2004-08-27 Thread Eivind Waaler
On Thu, 26 Aug 2004, DI LEMBO wrote: Hi How can I run the middlegen GUI? Specify gui=true in ant task, properties file or command line (ant -Dgui=true middlegen). And is it usefull for configuring middlegen task with an MS ACCESS schema? As long as MS Access has a working JDBC driver it

Re: [Middlegen-user] no-fee MYSQL jdbc driver

2004-08-29 Thread Eivind Waaler
This is really not the right mailing list for searching after jdbc drivers. Try searching google, sourceforge, freshmeat etc. Or try asking MS about it.. Cheers .eivind On Sat, 28 Aug 2004, DI LEMBO wrote: sorry but i need a no-fee MS Access driver.please help me - Original Message

Re: [Middlegen-user] Middlegen 3 status ????any Beta version ?????

2004-09-03 Thread Eivind Waaler
Unfortunately there is no beta version available. To be honest, I'm not sure if there's going to be any Middlegen3 for a long time. I feel that the current Middlegen works fine for most people. My current goal is to get everything cleaned up a bit and release the 2.1 version. What kind of

Re: [Middlegen-user] Generating hbm.xml from database schema with middlegen

2004-09-03 Thread Eivind Waaler
You are most likely using an old version, or there's something wrong with your classpath. If you're only using it to generate Hibernate mapping files, I'd use this download: http://sourceforge.net/project/showfiles.php?group_id=40712package_id=84728release_id=254466 Cheers .eivind On Tue, 31

Re: [Middlegen-user] middlegen2.1 (was: Middlegen 3 status ????any Beta version ?????)

2004-09-21 Thread Eivind Waaler
to the other response I just wrote you. Hope to see you guys as developers here pretty soon :) Cheers .eivind On Mon, 20 Sep 2004, Darren Hartford wrote: Will Middlegen 2.1 be developed on sourceforge or on codehaus? -Original Message- From: Eivind Waaler [mailto:[EMAIL PROTECTED] Sent

Re: [Middlegen-user] many2many

2004-10-11 Thread Eivind Waaler
I think you actually have to include a table element for every table. Bit inconvenient.. The whole table/relationship specification stuff is a little inconsistant :( .eivind On Fri, 8 Oct 2004, Baum, Karl wrote: I am using the many2many tag to indicate to middlegen that a few of my

  1   2   >