View Javadoc

1   /*
2    * 
3    * 
4    */
5   package example.filestorage;
6   
7   /***
8    * 
9    * @author Sean C. Sullivan
10   * 
11   */
12  class Constants
13  {
14  	public static final String TABLE_NAME = "files";
15  	public static final String DATASOURCE_NAME = "jdbc/FileStorageDataSource";
16  	public static final String SEQUENCE_NAME_FILE_ID = "file_id_seq";
17  	public static final String COLUMN_FILE_ID = "file_id";
18  	public static final String COLUMN_FILENAME = "filename";
19  	public static final int MAX_LENGTH_FILENAME = 2048;
20  	public static final String COLUMN_FILESIZE = "filesize";
21  	public static final String COLUMN_FILEDATA = "filedata";
22  	public static final String NEXTVAL = "nextval";
23  	
24  	private Constants()
25  	{
26  		// private constructor
27  	}
28  }