[JBoss-user] [Persistence & CMP/JBoss] - Collection of primitives

2004-07-08 Thread JonasH
Hello!

I have an entitiy (for example "Employee") which contains a collection of primitives 
(for example "emails" which is a collection of strings). 
Do I have to create an entity bean for the primitive type (in this case an entity bean 
called "Email" which has just one field of type string) or is there a way around that? 

Thanks,
Jonas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841335#3841335

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841335


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Collection clear() only sets FK to null

2004-07-01 Thread JonasH
Nevermind, I overlooked something... Sorry.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840604#3840604

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840604


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Collection clear() only sets FK to null

2004-07-01 Thread JonasH
Hello,

One entity bean A references many entity beans Bs. Wenn I call A.getBs.clear() then 
the B entity beans are not removed from the database, but only their FK to A is set to 
null. Do I have to manually delete each of those Bs?

Thanks a lot,
Jonas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840577#3840577

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840577


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: SELECT multiple fields solution

2004-06-29 Thread JonasH
Thank you for your reply. BMP is certainly a way to implement this efficiently. 
However, I'm still looking for a way to do that with CMP, if that is possible.

Jonas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840238#3840238

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840238


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - SELECT multiple fields solution

2004-06-28 Thread JonasH
Hello,

I am looking for a way to select multiple fields of different entity beans using only 
one query. According to the specification, ejb ql does not support something like 
SELECT cust.name, order.date ... However, I thought maybe it's possible to define an 
abstract entity bean that contains those fields? Did anyone try to implement something 
like that?

Thanks!
Jonas 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840114#3840114

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840114


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user