Ok, so it was just the name that confused me :)
Type: Posts; User: Matthias S.; Keyword(s):
Ok, so it was just the name that confused me :)
complete testcase:
ubuntu 11.04
mongodb 1.8.3
4221
are you using m4? how is your setup? which mongodb version are you using? how does your context.xml look like?
that was probably because Account#login and Account#password are null
I just saw that spring data-mongodb has a dependency on spring-tx.
Why?
MongoDB does not support Transations, so why even implement methods like
public static boolean...
Have you added
<mongo:repositories base-package="com.your.package.repositories" mongo-template-ref="mongoTemplate" />
and @Repository ?
in M2 it was camelCase
with M3 it changed to dash-notation
which schema and which spring data version are you using?
try
ac.getBean(PersonRepository.class);
because you actually don't know the id of the repository
I am currently using the VelocityEngineFactoryBean and Springs JavaMailSender to send Emails based on velocity templates. I want to send html messages but unfortunately some of my placeholders may...
since i did a major OSGi project before my current project a know that you probably have some pain with it.
You have my vote :)
what does this have to with spring roo? You are not using mongodb on top of it
There is no spring data implementation for cassandra yet.
see http://www.springsource.org/spring-data
Use the current snapshot or wait until M3 is released, a lot of things have changed and it should work now
Im using this:
https://github.com/SpringSource/spring-data-document/raw/master/spring-data-mongodb/src/main/resources/org/springframework/data/document/mongodb/config/spring-mongo-1.0.xsd
working with
<mongo:db-factory id="mongoDbFactory" dbname="${mongo.database}" mongo-ref="mongo"/>
check this thread: http://forum.springsource.org/showthread.php?109780-No-bean-named-mongoDbFactory-is-defined-1.0.0.build-snapshot
I got the exacly same problem, Seems like the team working on commons core did some changes ;)
1. Why are you adding a @Transactional Annotation? MongoDB does not support Transactions.
Only Atomic Operations are supported. See...
RIght click on the project -> configure -> convert to AspectJ Project
First of all, Exception? Have you tried dynamic import package?
You know that theres "always" trouble @OSGi with "dirty" things like enhanced classes and so on?
How much heap space is available?
Have you tried using xml configuration?
I think the object might be to complex, with references to interfaces and so on. But it could also be a bug, i don't see...
as it says in the log: Caused by: org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: org.springframework.data.graph.neo4j.config.Neo4jConfiguration in KernelBundleClassLoader:...
More interesting than the XML/KML is how does the object look like?
You get access to JIRA by registering.
This question is not strictly related to spring.
Since im not an expert with mongodb, i wonder how to deal with changes of the database due to a new release of my application. Usually u have some...