01/13/2012. From a lecture by Professor John Ousterhout at Stanford, class CS140
Here's today's thought for the weekend. A little bit of slope makes up for a lot of Y-intercept.
[Laughter]
//[... initialize ...] | |
final SimpleDataSourceFactory simpleDataSourceFactory = new SimpleDataSourceFactory("com.mysql.jdbc.Driver"); | |
final DataSource dataSource = simpleDataSourceFactory.createDataSource(jdbcUrl, user, pass); | |
jdbcTemplate = new JdbcTemplate(dataSource); | |
final DataSourceTransactionManager transactionManager = new DataSourceTransactionManager(dataSource); | |
transactionTemplate = new TransactionTemplate(transactionManager); | |
transactionTemplate.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRES_NEW); |
# | |
# cqlsh_intro.cql | |
# | |
# Copyright (C) 2017 Jeff Carpenter | |
# Execute the commands in this file for a short guided tour of the CQL Shell (cqlsh) | |
# | |
# For more description, see Cassandra, The Definitive Guide 2nd Ed., Chapter 3: Installing | |
# http://shop.oreilly.com/product/0636920043041.do | |
# |