[hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-209) Compositekey find and delete does not work

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sat Aug 5 14:04:11 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-209?page=all ]
     
Emmanuel Bernard resolved EJB-209:
----------------------------------

    Resolution: Rejected

please use the user forum for usch request http://forum.hibernate.org

> Compositekey find and delete does not work
> ------------------------------------------
>
>          Key: EJB-209
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-209
>      Project: Hibernate Entity Manager
>         Type: Bug

>   Components: EntityManager
>     Versions: 3.2.0.cr1
>  Environment: hibernate core 3.2.0cr2, hibernate-annotation 3.2.0.cr1, hibernate-entitymanager3.2.0.cr1
>     Reporter: Rakesh Gupta
>     Priority: Blocker

>
> Original Estimate: 2 days
>         Remaining: 2 days
>
> First I am using ejb3 annotation and no XML mapping files and generated the code using jboss-eclipse IDE
> I have two tables table A and Table B, Table A has single primarykey  but table B has only two fields and combination of both is the primarykey also out of these two fields one has references to table A and other has a reference to some other table.
> Problem;
>   I seach a records in table A using single primary key, based on this i gets all the records of table B in a collection, and when i try to delete a records from table be it is not deleted. I
> I try to remove this from the collection and then persist it does not work. there after i try to delete directly from table B but this also does not work.
> even composite key search like entitymanager.find(A.class, compositekey) is also not working.
> please let me know if this is a bug or some problem

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list