Marco de Booy
2002-09-26 18:05:03 UTC
<html>
Hello,<br><br>
First of all I am glad to have the new version at my hands. I can not get
the CVS versions so I need to wait before a new release is brought
out.<br>
I worked for 3 days with MySQL 4.0 and JBoss 3.0/Tomcat 4.0.4. This
combination gave me errors on the EJB-QL for the flight.reservation SQL.
I have no idea to go around it. I also tried it with 1 simple 3 fields
table (PK which is an autosequence and 2 character fields not null). The
insert struts form gave me the error that the create was not present. It
was the create with only the 2 character fields.<br>
Fortunately I also can use Oracle/Weblogic. Here I got the example
working after a long while. I have, besides questions on the
MySQL/JBoss/Tomcat side, a few remarks.
<ul>
<li>In my opinion the ${unique.name} should be the one that you use for
your java classes (com.java.something) and the ${name} for the name of
the application components (ear, jar, war). In the build file they are
not used that way. Maybe this can change.
<li>If I want to generate multiple applications I always need to have a
full set of JARs in the lib directory. Maybe it is better to put this
directory in the middlegen root. This way only one set is needed. <li>Perhaps the same thing can be said for the build.properties. <li>In the cmp20-<EJB>-class-comments.txt the class is hard-coded.
Is there a way that it can be set to the interfacepackage?
<li>In the middlegen task in the middlegen tag the schema attribute is
empty. Shouldn't this be ${database.schema}?
<li>In the ejbdoclet task in the weblogic and jboss tag the datasource
attribute is 'hard-coded'. Shouldn't this be set in the weblogic.xml and
jboss.xml config file? The datasource is also used in the middlegen
task/middlegen tag.
</ul>Some questions are:
<ul>
<li>Can you put in an example for an Oracle Sequence or an autoincrement
primary key?
<li>A byte is used for a tiny int in MySQL. This causes problems when the
field contains a NULL value. Can this be set to an other type?
<li>When I have a date as a primary key there is a problem with some
methods. They use the predecated method java.sql.Date(String) and the
compilation stops. Why isn' t the same function used as for the 'normal'
date fields?
</ul>I hope that these remarks make any sense and be of help.<br><br>
Marco de Booy<br>
<br>
</html>
Hello,<br><br>
First of all I am glad to have the new version at my hands. I can not get
the CVS versions so I need to wait before a new release is brought
out.<br>
I worked for 3 days with MySQL 4.0 and JBoss 3.0/Tomcat 4.0.4. This
combination gave me errors on the EJB-QL for the flight.reservation SQL.
I have no idea to go around it. I also tried it with 1 simple 3 fields
table (PK which is an autosequence and 2 character fields not null). The
insert struts form gave me the error that the create was not present. It
was the create with only the 2 character fields.<br>
Fortunately I also can use Oracle/Weblogic. Here I got the example
working after a long while. I have, besides questions on the
MySQL/JBoss/Tomcat side, a few remarks.
<ul>
<li>In my opinion the ${unique.name} should be the one that you use for
your java classes (com.java.something) and the ${name} for the name of
the application components (ear, jar, war). In the build file they are
not used that way. Maybe this can change.
<li>If I want to generate multiple applications I always need to have a
full set of JARs in the lib directory. Maybe it is better to put this
directory in the middlegen root. This way only one set is needed. <li>Perhaps the same thing can be said for the build.properties. <li>In the cmp20-<EJB>-class-comments.txt the class is hard-coded.
Is there a way that it can be set to the interfacepackage?
<li>In the middlegen task in the middlegen tag the schema attribute is
empty. Shouldn't this be ${database.schema}?
<li>In the ejbdoclet task in the weblogic and jboss tag the datasource
attribute is 'hard-coded'. Shouldn't this be set in the weblogic.xml and
jboss.xml config file? The datasource is also used in the middlegen
task/middlegen tag.
</ul>Some questions are:
<ul>
<li>Can you put in an example for an Oracle Sequence or an autoincrement
primary key?
<li>A byte is used for a tiny int in MySQL. This causes problems when the
field contains a NULL value. Can this be set to an other type?
<li>When I have a date as a primary key there is a problem with some
methods. They use the predecated method java.sql.Date(String) and the
compilation stops. Why isn' t the same function used as for the 'normal'
date fields?
</ul>I hope that these remarks make any sense and be of help.<br><br>
Marco de Booy<br>
<br>
</html>