public static void insertActionLog( int uid, int bid, int auctionID, int actionType,
										String summary, String description )
	throws DatabaseException {
		Connection conn = null;
		ResultSet rs = null;
		PreparedStatement ps = null;
		long nowTimeMillis = (new Date()).getTime();

		String q = "INSERT INTO actionlog(uid,bid,auctionID,actionType,timeMillis,summary,description) VALUES(?,?,?,?,?,?,?)";

		try {
			conn = DBPool.getInstance().getConnection();

			ps = conn.prepareStatement( q );
			ps.setInt( 1, uid );
			ps.setInt( 2, bid );
			ps.setInt( 3, auctionID );
			ps.setInt( 4, actionType );
			ps.setLong( 5, nowTimeMillis );
			ps.setString( 6, summary );
			ps.setString( 7, description );
			ps.executeUpdate();
		}
		catch ( SQLException e ) {
			System.out.println( "bridge " + e.toString() + e.getStackTrace() );
			throw new DatabaseException( e.toString() );
		}
		finally {
			try { if (rs != null) rs.close(); } catch(Exception e) { }
			try { if (ps != null) ps.close(); } catch(Exception e) { }
			try { if (conn != null) conn.close(); } catch(Exception e) { }
		}
	}