Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000362 [Resin] minor always 08-22-05 00:00 11-30-05 14:42
Reporter francoisb View Status public  
Assigned To
Priority high Resolution fixed  
Status closed   Product Version 3.0.14
Summary 0000362: Persistence 1.0: one2one relation
Description RSN-406
Hi:

When using one-to-one relation:

- one side of the relation must be annotated with a @ManyToOne tag (see the "HouseSymbol.java" in the attached file).

- the @OneToOne side must define the "targetEntity" attribute (see the "Course.java" in the attached file).


Francois
Additional Information resin-pro-3.0.14, sun jdk 1.5.0_02, Linux 2.4.21, resin embedded db
Attached Files

- Relationships

- Notes
(0000419)
ferg
08-22-05 00:00

ejb/0o03

The target side does need a mappedBy attribute.
 

- Issue History
Date Modified Username Field Change
08-22-05 00:00 francoisb New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:42 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker