-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi List,
i'm working on migration from xDoclet Version 1.2.2 to 1.2.3
Now when i create ValueObjects from the following Annotations xDoclet
creates bad ValueObject Code.
<snip>
/**
~ * My Bean
~ *
~ * @ejb.bean
~ * name="MyBean"
~ * type="CMP"
~ * cmp-version="2.x"
~ * view-type="local"
~ * local-jndi-name="foo/MyBean"
~ * @ejb.persistence
~ * table-name="foo"
~ * @ejb.pk
~ * class="java.lang.Long"
~ * generate="false"
<snip>
~ * @jboss.unknown-pk
~ * class="java.lang.Long"
~ * column-name="foo_id"
~ * field-name="foo_id"
~ * jdbc-type="BIGINT"
~ * sql-type="NUMERIC(18,0)"
~ * auto-increment="true"
~ * @jboss.entity-command
~ * name="sybase-fetch-key"
- -------------------------------------------
This follows to this ValueObject Code:
<snip>
~ private java.lang.Long primaryKey;
~ public MyBeanValue()
~ {
primaryKey = new java.lang.Long();
~ }
- -------------------------------------------
The same can also be found in both constructors
primaryKey = new java.lang.Long();
So i think that i have to change the annotations. But i haven't found
any Migration Guide or something else. When i use the valueobjects.xdt
from Version 1.2.2 there are some Classes used which are not included in
Version 1.2.3 (ifIsNormalPK and some others)
I can't find any description how to change this to correct behaviour!
Any help is appreciated ;)
Regards
Achim
- --
Dipl. Inf.(FH) Joachim Arrasz - [EMAIL PROTECTED]
www.synyx.de Opensource Solutions - OpenCMS Solution Provider
irc.synyx.de/6667 #opencms http://irc.synyx.de
http://www.opencms-forum.de
76135 Karlsruhe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDhFh4m6WJJF5tK2sRAs8+AJ9nC+LAKfeqECJ0jscMNFykxbf2awCgqGad
OprB6pZEm/3AP8tsvUZE+ho=
=CNxT
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user