public class EmbeddedMongoSpringFactoryBean
extends cz.jirutka.spring.embedmongo.EmbeddedMongoFactoryBean
implements org.springframework.dao.support.PersistenceExceptionTranslator
Mongo
.
This is not truly embedded Mongo as there's no Java implementation of the
MongoDB. EmbedMongo actually downloads original MongoDB binary for your
platform and executes it. EmbedMongo process is stopped automatically when
you close connection with Mongo
.
Constructor and Description |
---|
EmbeddedMongoSpringFactoryBean() |
Modifier and Type | Method and Description |
---|---|
org.springframework.dao.DataAccessException |
translateExceptionIfPossible(RuntimeException ex) |
public org.springframework.dao.DataAccessException translateExceptionIfPossible(RuntimeException ex)
translateExceptionIfPossible
in interface org.springframework.dao.support.PersistenceExceptionTranslator
Copyright © 2011–2016 eXo Platform SAS. All rights reserved.