Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003080 [Resin] minor always 11-17-08 16:40 12-15-08 14:56
Reporter dicr View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.0 Product Version 3.2.1
  Product Build
Summary 0003080: Resin use new Integer(1) to initialize @Version property with java.sql.Timestamp
Description @Entity
class Test {
   @Version
   private java.sql.Timestamp _version;
}
Steps To Reproduce
Additional Information In the generated ejb source file Amber use new Integer(1) to initialize _version property of Test bean, but its type is not a number :(

ejb-3_0-fr-spec-persistence.pdf

9.1.17 Version Annotation

The following types are supported for version properties:
int, Integer, short, Short, long, Long, Timestamp.
Attached Files

- Relationships

- Notes
(0003645)
ferg
12-15-08 14:56

jpa/0x03
 

- Issue History
Date Modified Username Field Change
11-17-08 16:40 dicr New Issue
11-17-08 19:30 dicr Issue Monitored: dicr
12-15-08 14:56 ferg Note Added: 0003645
12-15-08 14:56 ferg Assigned To  => ferg
12-15-08 14:56 ferg Status new => closed
12-15-08 14:56 ferg Resolution open => fixed
12-15-08 14:56 ferg Fixed in Version  => 4.0.0


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