Thanks Alexey ...

I will Check it...

About Commit, I made it inside DataBase, I never do ti inside EJB Enviroment with CMP...
Dont Worry :)


Best Regards

Edgar


Alexey Loubyansky wrote:


Can you see the DELETE statement in JBoss's logs? You need to enable DEBUG log level in conf/log4j.xml file for category org.jboss.ejb.plugins.cmp to see it.

This way
   <category name="org.jboss.ejb.plugins.cmp">
     <priority value="DEBUG"/>
   </category>

You should not commit anything by hand in CMP.

Edgar Silva wrote:

Hi Alexey...

I am running JBoss 3.2.1 (Jetty)....

Evertything is fine, my relationships (1:n, n:N), to create and finders,
but in Remove nothing is working, and the remove() operation  is
very simple.

I am using Local Entities and Remote Facades, In addition to remove() method with
ValueObject, I made other method using only PrimaryKey.


ejb = home.findbyPrimaryKey(27556);
ejb.remove;

The Record 27556 persist in the database....

I call by hand commit statement inside my database, and nothing is changed.

I am using FireBird 1.5 with JayBird Driver.


Any Idea?


Edgar Silva
www.argostecnologia.com
Alexey Loubyansky wrote:

What is the JBoss version?
Did this code ran fine in previous versions?
Any more info?

Thanks.

Edgar Silva wrote:

Hi Folks...

I have a very strange trouble:

I have one CMP EntityBean, and I execute the findByPrimaryKey,
and then I call the remove() method.... And nothing occurs...

The Record in DataBase persists after remove() call...
Have some problem , anybody also have seen it?
What can be the correct behaviour or have another way to remove correctlly
the record?


regards

Edgar Silva
www.argostecnologia.com
------------------------------------------------------------------------





------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





www.argostecnologia.com ------------------------------------------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





------------------------------------------------------------------------




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to