@Test public void testCreate() { System.out.println("create"); JDBCSessionDataStorage instance = new JDBCSessionDataStorage(dataSource); SessionData sessionData = instance.create(); sessionData.put(KEY, VALUE); assertNotNull(sessionData); assertNotNull(sessionData.getId()); assertNotNull(sessionData.getCreationTime()); assertEquals(sessionData.get(KEY), VALUE); }
@Override public SessionData create() { return new DefaultSessionData(); }
JDBCSessionDataStorage implements SessionDataStorage { @Override public SessionData create() { return new DefaultSessionData(); } }
JDBCSessionDataStorage implements SessionDataStorage { @Override public SessionData create() { return new DefaultSessionData(); } JDBCSessionDataStorage(DataSource dataSource);  JDBCSessionDataStorage(DataSource dataSource, String select, String insert, String update, String delete);  JDBCSessionDataStorage(DataSource dataSource, String select, String insert, String update, String delete, SessionDataTranscoder transcoder); }
JDBCSessionDataStorage implements SessionDataStorage { @Override public SessionData create() { return new DefaultSessionData(); } JDBCSessionDataStorage(DataSource dataSource);  JDBCSessionDataStorage(DataSource dataSource, String select, String insert, String update, String delete);  JDBCSessionDataStorage(DataSource dataSource, String select, String insert, String update, String delete, SessionDataTranscoder transcoder); @Override SessionData create(); @Override void save(SessionData sessionData); @Override SessionData get(String sessionId); @Override void delete(String sessionId); }
JDBCSessionDataStorage implements SessionDataStorage { @Override public SessionData create() { return new DefaultSessionData(); } JDBCSessionDataStorage(DataSource dataSource);  JDBCSessionDataStorage(DataSource dataSource, String select, String insert, String update, String delete);  JDBCSessionDataStorage(DataSource dataSource, String select, String insert, String update, String delete, SessionDataTranscoder transcoder); @Override SessionData create(); @Override void save(SessionData sessionData); @Override SessionData get(String sessionId); @Override void delete(String sessionId); static final String SELECT; static final String INSERT; static final String UPDATE; static final String DELETE; }