Hi, another bug found: if i use the <jboss version="3.2" ..> tag in the <ejbdoclet> build task, xdoclet generates a jbosscmp-jdbc.xml like
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd"> as you can see, the doctype is from jboss 3.0 and not jboss 3.2!!! cvs HEAD doesn't provide any bugfixes :( markus * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2003-02-20 12:40]: > I was using beta2 and think the @jboss.unknown-pk has been added in beta3... > Correct? > > Markus Garscha writes: > > >Hi, > > > >something went wrong! is this perhaps an error in xdoclet? > > > >Bean.java: > >... > >* @jboss.unknown-pk > >* class="java.lang.Integer" > >* column-name="id" > >* jdbc-type="INTEGER" > >* sql-type="INTEGER" > >* @jboss.entity-command > >* name="pk-sql" > >* @jboss.entity-command-attribute > >* name="pk-sql" > >* value="SELECT max(id)+1 FROM TestEntity" > >.... > > > >generates jbosscmp-jdbc.xml: > >... > ><unknown-pk> > > <unknown-pk-class>java.lang.Integer</unknown-pk-class> > > <column-name>id</column-name> > > <jdbc-type>INTEGER</jdbc-type> > > <sql-type>class="java.lang.Integer" column-name="id" > > jdbc-type="INTEGER"</sql-type> > ></unknown-pk> > >... > > > >there ist a fault in <sql-type>! > >i use > >xdoclet1.2b3 (cvs HEAD) > >jdk1.4.1 > > > >thanx > >markus > > > >* Simone Milani <[EMAIL PROTECTED]> [2003-02-20 01:00]: > >>Yes, it does. Not documented though. > >> > >>Make sure you PK type is object and also add this tag: > >>jboss:persistence auto-increment="true" > > > >-- > >------------------------------------------------------------------------------- > > Markus Garscha > > Germany pgp-keyid: > > 0xEE18AF3B > >------------------------------------------------------------------------------- > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user -- ------------------------------------------------------------------------------- Markus Garscha Germany pgp-keyid: 0xEE18AF3B -------------------------------------------------------------------------------
msg04733/pgp00000.pgp
Description: PGP signature
