Beginner |
|
Joined: Thu Jan 08, 2004 4:40 am Posts: 48 Location: Bangkok, Thailand
|
For me I always do something like this
public class HibernateLimousine implements Limousine , Serializable {
private Long limousineId;
private String limousineType;
private String description;
private Double rate;
private Blob picture; private String fileName; private int fileSize;
Get file size from application layer and keep it in DB, so this would be easier for me...... Cheers
_________________ <name>arin</name>
<at>netplus software</at>
|
|