| Mantis - Resin | |||||
| Viewing Issue Advanced Details | |||||
|  | |||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | 
| 26 | minor | always | 03-09-05 00:00 | 05-11-05 00:00 | |
|  | |||||
| Reporter: | dicr | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | high | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.0.14 | ||
|  | |||||
| Summary: | 0000026: EJB30: ignoring nullable property in JoinColumn | ||||
| Description: | RSN-17 Code: @ManyToOne(cascade = {CascadeType.CREATE, CascadeType.REMOVE}) @JoinColumn(name = "customerGroup", referencedColumnName = "id", nullable = false) protected CustomerGroup customerGroup; produce sql definition of column: customerGroup BIGINT but no 'NOT NULL' added in column definition, beacase nullable = false option This is critical. And for example code: @Basic @Column(name="name", nullable = false, unique = true) protected String name; produce fine and right SQL definition of column: name VARCHAR(255) NOT NULL UNIQUE This is Ok. | ||||
| Steps To Reproduce: | |||||
| Additional Information: | Linux 2.6.10-1.770asp i686 GNU/Linux Resin-3.0.11 MySQL-3.23.58-14 | ||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|  | |||||
| 
 | 
 | ||||