This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-10-31 16:52:04,885 DEBUG ntext.support.StandardServletEnvironment: 110 - Adding [class path resource [application.properties]] PropertySource with lowest search precedence | |
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor': Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.internal.engine.ConfigurationImpl.getDefaultParameterNameProvider()Ljavax/validation/ParameterNameProvider; | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1507) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Also, isn't it weird, that these two aren't considered to be the same method? | |
void foo(Object bar) { } | |
void <A extends Annotation> foo(Object bar) { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Summary: | |
[INFO] | |
[INFO] Spring Data Book .................................. SUCCESS [0.377s] | |
[INFO] Spring Data Book - JPA ............................ SUCCESS [17.637s] | |
[INFO] Spring Data Book - MongoDB ........................ SUCCESS [9.217s] | |
[INFO] Spring Data Book - Querydsl ....................... SUCCESS [5.075s] | |
[INFO] Spring Data Book - Neo4J .......................... SUCCESS [15.437s] | |
[INFO] Spring Data Book - JDBC ........................... SUCCESS [6.608s] | |
[INFO] Spring Data Book - Redis .......................... SUCCESS [0.691s] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build 10-Dec-2013 15:20:10 [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ spring-data-jpa --- | |
build 10-Dec-2013 15:20:10 [INFO] Surefire report directory: /opt/bamboo-home/xml-data/build-dir/SPRINGDATAJPA-SONARJPA-JOB1/target/clover/surefire-reports | |
build 10-Dec-2013 15:20:10 | |
build 10-Dec-2013 15:20:10 ------------------------------------------------------- | |
build 10-Dec-2013 15:20:10 T E S T S | |
build 10-Dec-2013 15:20:10 ------------------------------------------------------- | |
build 10-Dec-2013 15:20:11 | |
build 10-Dec-2013 15:20:11 Results : | |
build 10-Dec-2013 15:20:11 | |
build 10-Dec-2013 15:20:11 Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2013 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-framework-bom</artifactId> | |
<version>4.0.0.RELEASE</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
</dependencies> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongoOps.execute("myCollection", new CollectionCallback<Void> { | |
public Void doInCollection(DBCollection collection) { | |
collection.rename("myNewCollection"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] --- maven-surefire-plugin:2.12:test (datanucleus-tests) @ spring-data-jpa --- | |
[INFO] Surefire report directory: /Users/olivergierke/Documents/workspace/spring-data-jpa/target/surefire-reports | |
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
objc[70822]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined. | |
Running org.springframework.data.jpa.repository.DataNucleusNamespaceUserRepositoryTests | |
2014-03-13 10:09:51,497 ERROR ramework.test.context.TestContextManager: 309 - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5f36ba3] to prepare test instance [org.springframework.data.jpa.repository.DataNucleusNamespaceUserRepositoryTes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<Object> nested = new ArrayList<Object>(); | |
nested.addAll(someNesteditems); | |
nested.addAll(someOtherNestedItems); | |
SampleResource resource = new SampleResource(); | |
resource.nested = new Resources<Object>(nested); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version" : "1.0", | |
"descriptors" : [ { | |
"id" : "order-representation", | |
"descriptors" : [ { | |
"name" : "status", | |
"doc" : { | |
"value" : "PAYMENT_EXPECTED, PAID, PREPARING, READY, TAKEN", | |
"format" : "TEXT" | |
}, |