Thanks Red, I got that part working now.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854040#3854040
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854040
---
Thi
Hi Raist, thanks for the tip. I'm in the middle of managing a few things at the same
time (including a new job the coming Monday). So, havent been able to get back to you
on this any sooner. I've bookmarked this thread, and will certainly take time to
digest your every word you wrote as soon as
Hi, really frustating... been trying to get my CMR setup for last three days but
without much success (shame).
My setup is simple. I have three beans:
1. UserBean
2. GroupBean
3. GroupMembershipBean
Each User (UserBean) can belong to multiple Group(s) (GroupBean).
1. UserBean maps to table USE
I've seen in many articles and books:
* @ejb.ejb-ref view-type = "local" ejb-name = "Client" ref-name = "ejb/Client"
But many times I got my bean working WITHOUT declaring EJB references... What's it for?
Thanks!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&
Thanks, I'm stiill reading up on one article:
http://www-106.ibm.com/developerworks/library/j-santa1/
Anyway, yes, i did put @ejb.pk-field method level tags on getters. But do we need
@ejb.bean primkey-field still? I guess we do - but we specify "field name" - NOT
"column name".
so... here's w
I'm going over this article on CMR
http://technology.amis.nl/blog/index.php?p=90&page=3. The following code demonstrates
how XDoclet is used to establish relationship between two entity beans:
| ... other stuff ...
| /**
| *
| *
| * @ejb.interface-method
|
So, I've implemented a primary key class "GroupMembershipKey" -- I still need to know
what I should specify for @ejb.bean primkey-field attribute.
My understanding is that @ejb.bean primkey-field is not mandatory. Will it suffice if
I just specify @ejb.pk-field on primary key getters? Example:
Think I found part of the answer (Still need to know what XDoclet tags I need to
specify) - Quoting J2EE Tutorial from Sun:
Chapter: "Primary Keys for Container-Managed Persistence"
If the primary key class does not belong to the J2SE or J2EE standard libraries, then
you must implement the clas
Hi, I have this GroupMembershipBean which has a composite primary key:
1. database field: GROUPUIN (Integer)
getter: Integer getGroupUIN()
setter: void setGroupUIN(Integer)
2. database field: USERUIN (Integer)
getter: Integer getUserUIN()
setter: void setUserUIN(Integer)
My que
anonymous wrote : This tag is optional, and lets you define whether or not a util
class should be generated, and whether to use the logical component name
(java:comp/env) or the physical JNDI name to do the lookup. If this tag is not
specified, the util class will be generated using logical loo
How come everytime I deploy my EAR modules JBoss seems to spend a lot of time before
awaking from:
| ...
| 15:54:44,442 INFO [STDOUT] 394248 [ScannerThread] DEBUG
org.jboss.mx.loading.ClassLoaderUtils
jboss.web.deployment:id=831432746,war=UserManagementWeb.war WebModule - Multiple class
Hi, I have some hardcoded JNDI names on clientside, wish to know if I have
alternatives to that. Before going any further:
Bean itself
| /**
| * @ejb.bean
| * name="GroupEJB"
| * local-jndi-name="ejb/UserGroup"
| * display
It worked!!! Did you hear me guys?!! It worked:
p6spy capture:
| 1098971495056|-1||resultset|SELECT t0_g.UIN FROM GROUPS t0_g|UIN = 1
| 1098971495057|-1||resultset|SELECT t0_g.UIN FROM GROUPS t0_g|UIN = 2
| 1098971495070|11|0|commit||
| 1098971586031|25|0|statement|SELECT t0_g.UIN FROM GR
1. TO Raist:
I just made the modification, no and much to my dismay, it's not working unfortunately.
| /**
| * @author [EMAIL PROTECTED]
| *
| * @ejb.bean
| * name="GroupEJB"
| * local-jndi-name="ejb/UserGroup"
| * d
1. TO Raist:
I just made the modification, no and much to my dismay, it's not working unfortunately.
| /**
| * @author [EMAIL PROTECTED]
| *
| * @ejb.bean
| * name="GroupEJB"
| * local-jndi-name="ejb/UserGroup"
| * d
15 matches
Mail list logo