Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with removing beans that are part of an ejb 2.0 relationship

2 views
Skip to first unread message

Jim

unread,
Aug 31, 2004, 6:34:15 PM8/31/04
to
I am on Weblogic 8.1 server, sp2, and SQL Server 2000 for the
database. I am having
a problem getting ejb 2.0 relationships and specifically getting the
deletes to act in the correct order. I have a B2C (business to
consumer) Customer
bean, and Individual CustomerBean. I set up a uni-directional ejb 2.0
relationship
from Individual bean to B2C bean. I set up a foreign key reference in
the
SQL Server 2000 database, base table of Individual, foreign key field
pointing
to B2C customer table.

The inserts work correctly, but on delete it fails. My delete code
first ejb
remove's the B2C (child) table then the individual (parent) bean. The
B2C delete
works fine, but for some reason the Individual bean's ejb remove
causes -

"DELETE statement conflicted with COLUMN REFERENCE constraint
'FK_B2CIndi
vidualCustomers_IndividualCustomers'. The conflict occurred in
database 'Custome
rDB', table 'B2CIndividualCustomers', column 'IndividualCustomerID'."

The database is somehow still seeing that B2C child record, thinking
it's now
orphaned, but the ejb remove of the child record (B2C bean) should
have removed that
B2C row. So why does deleting the parent row (Individual bean) cause
this? It might be
a bug in the driver (Opta 2000) I'm using. The generated SQL code
looks like it's
firing in the correct order, so I'm not sure why this is happening.

My ejb-jar.xml relationship setup is -

<ejb-relation>
<ejb-relation-name>IndividualCustomer-B2CIndividualCustomer</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>
IndividualCustomer-Has-B2CIndividualCustomer
</ejb-relationship-role-name>
<multiplicity>one</multiplicity>
<relationship-role-source>
<ejb-name>IndividualCustomer</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>b2cIndividualCustomer</cmr-field-name>
</cmr-field>
</ejb-relationship-role>

<ejb-relationship-role>
<ejb-relationship-role-name>
B2CIndividualCustomer-IsA-IndividualCustomer
</ejb-relationship-role-name>
<multiplicity>one</multiplicity>
<relationship-role-source>
<ejb-name>B2CIndividualCustomer</ejb-name>
</relationship-role-source>
</ejb-relationship-role>

My weblogic-rdbms-jar.xml relationship setup is -

<weblogic-rdbms-relation>
<relation-name>IndividualCustomer-B2CIndividualCustomer</relation-name>
<weblogic-relationship-role>

<relationship-role-name>B2CIndividualCustomer-IsA-IndividualCustomer
</relationship-role-name>
<relationship-role-map>
<column-map>
<foreign-key-column>IndividualCustomerID</foreign-key-column>
<key-column>IndividualCustomerID</key-column>
</column-map>
</relationship-role-map>
</weblogic-relationship-role>
</weblogic-rdbms-relation>

wid...@gmail.com

unread,
Oct 18, 2014, 12:15:56 PM10/18/14
to
Do you want to know to the secret of how to get HOT woman to want YOU?? Yeah, of course we all know how to get laid. But, do you know how to get HOT woman wanting you, and literally chasing you around begging to have SEX with you??

Well, keep reading because what I'm about to tell you in the next few minutes is going to change your life FOREVER. The truth is, it doesn't matter if you don't Make a lot of money, Have big muscle or have a full head of hair. It doesn't even matter if you're not good looking!!

And regardless of your success with woman in the past, NONE of that matters when you're using THE ILLEGAL SEDUCTION TECHNIQUE. This is Jhos pellicer's seduction loophole And I'm about to share with you some of the his most powerfull and closely-guarded secret. On how YOU can GET more ASS than you ever dreamed possible...

But first, I know you are reading this on your mobile, so I'm going to keep this short. Wich means I'm not going to tell you about what a gigantic loser he used to be " I had NO back bone, no GAME, and very little luck with women
Basically, I was a big PUSSY". But if you find your self interested in hearing what happened when he hit his breaking point.
(It's a ridiculous story)

And what triggered in him to get control of his life and relationships with woman. That lead him to create these fool-proof seduction techniques. Then after this text you will have an option to have me e-mail to you
So you can check out the long version on your computer. And by reading to the end. You will also get the EXACT step-by-step system that is proven to create sexual intrigue so powerfull. That any girl you use it on will find her panties around her knees, soaked to the max, unable to resist YOU!!


It even works if she think's you're unattractive. In fact, if you follow these step-by-step methods to the letter, it's literally out of her control. Isn't that a secret that you'd like to know??
Let me give you example....
If you look at girl's mouth when she's talking to you...
She will subconsciously start thinking about sex. Try it out and watch what happens This is a "sexual trigger" wich automatically fires in a woman's brain.


SEDUCTION LOOPHOLES
Did you know there is a 4-step process every woman goes through to decide if she wants to sleep with a guy? Fail the test and you will be going home alone....again. But beat the test and take her home TONIGHT!

Josh will show you how to do that and much more in thw proven, step-by-step system. He are just a few things you'll learn.

How not doing one little thing at the perfect time will catapult you into the friend zone and completely vaporize any chance you have a being anything more than Friendw... And exactly how to NOT let that happen. ( page 14)


Then 10 udeniable ways you can know FOR SURE that woman is attracted to you regardless of what she says ( page 114)


How to respond when a woman asks you to buy her a drink in a way not that only saves your money but compels her to BUY YOU A DRINK and flirt with YOU! (page 87)

You will learn and MUCH MORE inside.... "the TAO of baddas" All I can say is that these metods are responsible for me going from never being able to score...At all....
To having sex with up to 15 hot ass chicks every month. Seriously, you NEED this system, and you need it NOW!

I'll give you the juice, the " secret sauce " so you can start banging any hot piece of ass you want today. So don't wait any longer... Get IMMEDIATE access to my proven, step-by- step blueprint for scoring ANY chick. But don't delay, because the price could go up at any time.

It's time to finally take control. And have women fighting over you, begging to fuck you any time you want. Please visit http://goo.gl/3wmsfV
0 new messages