Win a copy of Rust Web Development this week in the Other Languages forum!

Deepak Nair

Greenhorn
+ Follow
since Feb 10, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Deepak Nair

ALL,

I am working on CMR on two tables using JRUN4 to deploy and it is not deploying am getting this error in default event file..
02/11 10:08:19 error
[3]Encountered "IN ( a . contact )" at line 1, column 22.
Was expecting one of:
"AbstractSchemaName" ...
"IN" "(" "IdentificationVar" "." "SingleValuedCmrField" "." ...
"IN" "(" "IdentificationVar" "." "CollectionValuedCmrField" ...

EJB QL statement : 'Select OBJECT(a) From CUSTOMERS AS a, IN(a.contact) b WHERE b = ?1'
EJB QL method : jruncontact
at jrun.ejb.ejbql.parser.EjbQLParser.parse(EjbQLParser.java:159)
at jrun.ejb.ejbql.EjbQLDriver.parse(EjbQLDriver.java:36)
at jrun.ejb.metadata.EntityMetaData.initEJBQLQueries(EntityMetaData.java:1139)
at jrun.ejb.metadata.EJBJarMetaData.initEJBQL(EJBJarMetaData.java:319)
at jrun.ejb.metadata.EJBJarMetaData.init(EJBJarMetaData.java:152)
at jrun.ejb.EJBContainerFactory.loadEJBJarMetaData(EJBContainerFactory.java:815)
at jrun.ejb.EJBContainerFactory.create(EJBContainerFactory.java:183)
at jrun.ejb.EJBContainerFactory.create(EJBContainerFactory.java:119)
at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:239)
at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
at jrun.deployment.DeployerService.deployPersistentURL(DeployerService.java:1570)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.agents.JRunAdm

Thanks
Deepak
Irshad ,

Can you answer my quesstion how to Do CMR relations among two tables..
IN entity beans..
Please let me know IT IS URGENT
Arundhati ,

I fyou hv experience using CMR in entity beans please help me with some sample code..I need it urgently the relations among two tables..
USers ( user id is pk ) and Emailsent ( userid is FK) ..Y i asked u sample code regarding CMR is am a Newbie..
Thanks,
Deepak
I have a table Users and another table Emailsentlist.
These tables have relations 1:Many userid (pk) in users where as in EmailsentList userid(fk)
Can anyone give me a sample code how to user CMR relations in the code and deployment descriptor.
Please help me