merge master to DATACASS-34

This commit is contained in:
Alex Shvid
2013-11-26 13:41:26 -08:00
3 changed files with 10 additions and 4 deletions

View File

@@ -11,10 +11,10 @@ Cloning
When cloning this repo, it's a good idea to also clone two others from Spring Data that this project depends on. Assuming your current working directory is the root of this repository, issue the following commands:
cd ..
git clone git@github.com:spring-projects/spring-data-build.git
git clone git@github.com:spring-projects/spring-data-commons.git
git clone https://github.com/spring-projects/spring-data-build.git
git clone https://github.com/spring-projects/spring-data-commons.git
Building
--------
This is a standard Maven multimodule project. Just issue the command `mvn clean install` from the repo root.
This is a standard Maven multimodule project. Just issue the command `mvn clean install` from the repo root.

View File

@@ -64,7 +64,7 @@ public class AlterTableCqlGenerator extends TableOptionsCqlGenerator<AlterTableS
if (change instanceof AlterColumnSpecification) {
return new AlterColumnCqlGenerator((AlterColumnSpecification) change);
}
throw new Error("unknown ColumnChangeSpecification type: " + change.getClass().getName());
throw new IllegalArgumentException("unknown ColumnChangeSpecification type: " + change.getClass().getName());
}
@SuppressWarnings("unchecked")

View File

@@ -0,0 +1,6 @@
log4j.rootLogger=WARN, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
log4j.logger.org.springframework.data.cassandra=INFO