jmingo-projects / jmingo Goto Github PK
View Code? Open in Web Editor NEWJMingo - free open source ORM framework for MongoDB
License: GNU General Public License v3.0
JMingo - free open source ORM framework for MongoDB
License: GNU General Public License v3.0
move the benchmark logic to the separate project but don't use it in core until we are convinced of the need
toMap()
returns new map thus any changes on it don't affect dbObject directly
dbObject.toMap()
Develop API for CRUD
Generate reports using existing technologies:
During parsing ObjectId
JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
@lazy (queryId = "collection.queryId")
Add new property as below:
Class<? /*extends BaseGeneratorInterface*/> generator();
Add ability to set custom generators.
Add <if> </if>
element, remove condition from fragment and combine elements
<if condition="...">
<fragment ref="..."/>
</if>
Example:
Criteria criteria = Criteria
.where("{ 'date' : { '$gt' : '#date'} }")
.with("date", date);
QueryParamPlaceHolder.replaceQueryParameters(queryTemplate, parameters);
Stack trace:
java.lang.StackOverflowError
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:444)
at java.lang.StringBuffer.append(StringBuffer.java:312)
at java.lang.StringBuffer.append(StringBuffer.java:97)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:459)
at java.lang.StringBuffer.append(StringBuffer.java:340)
at java.util.regex.Matcher.appendReplacement(Matcher.java:890)
at java.util.regex.Matcher.replaceAll(Matcher.java:955)
at java.lang.String.replace(String.java:2227)
at com.mingo.query.QueryParamPlaceHolder.removeParameters(QueryParamPlaceHolder.java:55)
at
....
Parent class
@Document
public class BaseDocument {
@Id
@AutoGenerate
private String id;
}
Sub class
public class Item extends BaseDocument {
}
MingoTemplate cant save an instance of Item
Add method
public synchronized DBObject getQuery() {
if (query == null) {
query = query();
}
return query;
}
poor configuration of mongo instance
should provide all properties as http://api.mongodb.org/java/current/com/mongodb/MongoOptions.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.