-
1. Re: Using CMR, I still want to be able to fetch my foreign k
dsundstrom Sep 19, 2002 2:41 PM (in response to pol.leleux)There is currently no way to fetch the foreign keys directly. Look for this in JBoss 4.0 (when I get to coding it).
-
2. Re: Using CMR, I still want to be able to fetch my foreign k
pol.leleux Sep 20, 2002 5:15 AM (in response to pol.leleux)I can't wait to see JBoss 4.0 coming out ;)
By the way, what will be in JBoss 4.0, is it supposed to support J2EE 1.4 ? -
3. Re: Using CMR, I still want to be able to fetch my foreign k
dsundstrom Sep 20, 2002 2:15 PM (in response to pol.leleux)> By the way, what will be in JBoss 4.0, is it supposed
> to support J2EE 1.4 ?
All sorts of stuff will be in 4.0 (atleast that's the plan), but not much of it has been written yet. JBoss 4.0 is targeted to support EJB 2.1, but I don't know what J2EE version that will match up with. -
4. Re: Using CMR, I still want to be able to fetch my foreign k
kalypso Oct 7, 2002 8:22 PM (in response to pol.leleux)I have the same problem here...
But this is a problem of xdoclet and not jboss !
programming without xdoclet you can use all java.lang.* -types as primary-key, even with relations, no problem.
But when you use xdoclet, it creates even for these simple-types always a seperated xxxPk.class.
I didn't find an option to avoid this :-( -
5. Re: Using CMR, I still want to be able to fetch my foreign k
aloubyansky Oct 8, 2002 2:45 AM (in response to pol.leleux)Read xdoclet docs carefully. To generate primary key of a simple type:
@ejb.bean
...
primkey-field="id"
@ejb.pk generate="false"