本文整理了Java中com.avaje.ebean.Ebean.delete()
方法的一些代码示例,展示了Ebean.delete()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Ebean.delete()
方法的具体详情如下:
包路径:com.avaje.ebean.Ebean
类名称:Ebean
方法名:delete
[英]Delete the bean given its type and id.
[中]根据bean的类型和id删除该bean。
代码示例来源:origin: com.typesafe.play/play-java-ebean
/**
* Deletes this entity.
*/
public void delete() {
Ebean.delete(this);
}
代码示例来源:origin: org.avaje.ebeanorm/avaje-ebeanorm-api
/**
* Delete all the beans from a Collection.
*/
public static int delete(Collection<?> c) throws OptimisticLockException {
return delete(c.iterator());
}
代码示例来源:origin: org.avaje/ebean
/**
* Delete all the beans from a Collection.
*/
public static int delete(Collection<?> c) throws OptimisticLockException {
return delete(c.iterator());
}
代码示例来源:origin: MrNeuronix/IRISv2
@Override
public synchronized void delete()
{
if (this.getId() == null)
{
Ebean.delete(this);
}
}
代码示例来源:origin: MrNeuronix/IRISv2
public static void release(String title)
{
Ebean.delete(Ebean.find(ScriptLock.class).where().eq("title", title).findUnique());
}
内容来源于网络,如有侵权,请联系作者删除!