huanran liu

Greenhorn
+ Follow
since Oct 31, 2002
Merit badge: grant badges
For More
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 huanran liu

situation:
Suppose I have two table: PERSON and BUYER.
attributes of PERSON : personID, name, age
attributes of BUYER: materialsID,personID
if I want to get such pieces of information as:
(materialsID , name)
I can write sql="select materialsID, name from PERSON, BUYER where PERSON.personID=BUYER.personID"
but In ejb-ql, there are two corresponding beans: PERSONBEAN, BUYERBEAN.
how to write ejb-ql statement so that I can get information above? and the return type is what?
Thanks!
Thanks! but Sorry!
Perhaps I didn't explain my meaning clearly.
My order is an CMP(not "order by" in sql statement).
So the two questions above is still ready to be answered . Thanks!
please give an example! Thanks,
If you have an example about ejbselect() method which select parts of an entity beans. Please send to upsoar@163.net.
Appreciate your answer!
"SELECT OBJECT(a) FROM Order AS o, IN(0.lineitem) l"
and
"SELECT OBJECT(a) FROM Order AS o
question:
1.Is first select results different from second results? If different Why?
From sql, "select * from tableA, tableB".
the result will be "cartesian product" of tableA and tableB.
2.In first ejb-ql, "From Order AS o, IN(o.lineitem) l" , Can Order AS o and IN(o.lineitem)l form carstesian product? if not ,Why?
Thanks!
Thanks for your help. And I'll try my best to overcome the difficult no corresponding books but lots of your help.
Thanks for your help ,but I can not find the neccesary learing materia from book store.
How can I find the electronic version of "SCJD" books from Internet.
Looking for "The Sun Certified Java Developer Exam with J2SE 1.4 " by Mehran Habibi, Jeremy Patterson, Terry Camerlengo
where can I get the electronic book?
or
who can send the book to me after I send the money ?
help!
I have passed my scjp about one year ago, but I am not sure what i do for scjd. please give some advise to me. what should I study? please give a list of books . Thanks.