I hereby claim:
- I am olivergierke on github.
- I am olivergierke (https://keybase.io/olivergierke) on keybase.
- I have a public key whose fingerprint is 039A 44B8 6EA1 60D8 C5A7 7234 289F 3090 4F34 EB27
To claim this, I am signing this object:
mongoOps.execute("myCollection", new CollectionCallback<Void> { | |
public Void doInCollection(DBCollection collection) { | |
collection.rename("myNewCollection"); | |
} | |
} |
[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 |
List<Object> nested = new ArrayList<Object>(); | |
nested.addAll(someNesteditems); | |
nested.addAll(someOtherNestedItems); | |
SampleResource resource = new SampleResource(); | |
resource.nested = new Resources<Object>(nested); |
{ | |
"version" : "1.0", | |
"descriptors" : [ { | |
"id" : "order-representation", | |
"descriptors" : [ { | |
"name" : "status", | |
"doc" : { | |
"value" : "PAYMENT_EXPECTED, PAID, PREPARING, READY, TAKEN", | |
"format" : "TEXT" | |
}, |
package foo; | |
@NoRepositoryBean | |
interface InternalRepository<T> extends Repository<T, Long> { | |
<S extends T> save(S entity); | |
} | |
package foo; |
I hereby claim:
To claim this, I am signing this object:
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.443 sec <<< FAILURE! | |
supportForExpressionBasedQueryMethods(org.springframework.data.jpa.repository.MappedTypeRepositoryIntegrationTests) Time elapsed: 0 sec <<< ERROR! | |
java.lang.IllegalStateException: Failed to load ApplicationContext | |
at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:94) | |
at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) | |
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) | |
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) | |
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassR |
Sam Newman - Building Microservices, Book @ O’Reilly
Stefan Tilkov - Breaking the monolith — Towards a system-of-systems architecture, Video recording
Self-contained systems and ROCA - Blog entry
Sam Newman - Microservices for greenfield? — http://samnewman.io/blog/2015/04/07/microservices-for-greenfield
Spring Boot - Project website
Spring Cloud - Project website
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [infrastructure.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: spring-data-jpa] Unable to build Hibernate SessionFactory | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) ~[spring-b |
The title and some of the subheadings in the German article "JavaEE failed to enter the market: why Spring 4 is planning without JavaEE7" don’t necessarily recap Jürgen’s blog post.
"Why Spring 5 is planning without JavaEE 7" — the opposite of that is true. The framework already supports a lot of specifications of the JavaEE 7 release: Servlet 3.1, JTA 1.2 (@Transactional
), JPA 2.1, WebSocket 1.0 etc. are already supported by Spring 4. The JCache support in Spring is so old (introduced in 4.0), many Java developers don’t even realize that the spec hasn’t been included in any official JavaEE release yet.
It’s a matter of fact that for a lot of projects that run on application servers like IBM WebSphere and Oracle Weblogic using Spring as a platform is the only way to use these n