Grails Neo4j plugin 0.2发布

2010-03-11 20:49:23 作者:jezz 资深编辑 有838人浏览 网友评论 0
Grails Neo4j插件 0.2版本发布。Neo4j是一个基于Java的NoSQL图形数据库。

新特性:
升级至Neo4j 1.0
支持Neo4j索引
import grails.plugins.neo4j.*
@Neo4jEntity
class Car {
   String licenseTag // normal, aka non-indexed property
   @Neo4jIndex
   String color  // indexed property
}

支持non-declared properties
def car = new Car(licenseTag:'ABC123', color:'red')
car.save()
assert 'red' == car.color // declared property
assert null = car.numberOfSeats // N.B: numberOfSeats is _not_ declared
car.numberOfSeats = 5
assert '5' == car.numberOfSeats

支持 traverser

点击查看详情:http://blog.armbruster-it.de/2010/03/grails-neo4j-plugin-0-2-released/
  • 共有 0 位网友发表了评论
看不清,换一张请输入验证码: (登录注册用户不用填验证码)

热门新闻

  • 没有热门新闻

热评推荐

  • 没有热评推荐
网盟新闻广告