首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 在java sql查询

在java sql查询

  • 资源大小:105.56 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 查询 javasql

资 源 简 介

sql query and materialized views in java What is jacle? Jacle is a library that allows you to query java collections. Its fluent interface is easy and intuitive and allow to write SQL like queries on java collections. It allows you to specify conditions, sorting and grouping. Its is possible also to specify bind variables ( String only at the moment) With jacle can be created read only beans on the fly (materialized views) Stable version available. Start using queries Simple Query ``` ... import static org.gft.jacle.Jacle.*; ... // prepare the statement Query query = from(Sale.class).select(distinct(on(Sale.class).getSeller().getBirthday())); // execute with a source List birthdays = query.execute(db.getSales()); ... Query query = from(Sale.class).select(first(on(Sale.class).getCar())); Car car = query.execute(db.getSales());

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.172829s