本文整理了Java中org.skife.jdbi.v2.sqlobject.Bind.<init>()
方法的一些代码示例,展示了Bind.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Bind.<init>()
方法的具体详情如下:
包路径:org.skife.jdbi.v2.sqlobject.Bind
类名称:Bind
方法名:<init>
暂无
代码示例来源:origin: killbill/killbill
@SqlUpdate
public void updatePassword(@Bind("username") String username,
@Bind("password") String password,
@Bind("passwordSalt") String passwordSalt,
@Bind("updatedDate") Date updatedDate,
@Bind("updatedBy") String updatedBy);
代码示例来源:origin: killbill/killbill
@SqlQuery
public CatalogOverrideBlockDefinitionModelDao getByAttributes(@Bind("parentUnitName") final String parentUnitName,
@Bind("currency") final String currency,
@Bind("price") final BigDecimal price,
@Bind("max") final double max,
@Bind("size") final double size,
@SmartBindBean final InternalTenantContext context);
代码示例来源:origin: signalapp/Signal-Server
@Mapper(MessageMapper.class)
@SqlQuery("DELETE FROM messages WHERE " + ID + " IN (SELECT " + ID + " FROM messages WHERE " + DESTINATION + " = :destination AND " + DESTINATION_DEVICE + " = :destination_device AND " + SOURCE + " = :source AND " + TIMESTAMP + " = :timestamp ORDER BY " + ID + " LIMIT 1) RETURNING *")
abstract OutgoingMessageEntity remove(@Bind("destination") String destination,
@Bind("destination_device") long destinationDevice,
@Bind("source") String source,
@Bind("timestamp") long timestamp);
代码示例来源:origin: killbill/killbill
@SqlUpdate
@Audited(ChangeType.UPDATE)
public void updateBundleLastSysTime(@Bind("id") String id,
@Bind("lastSysUpdateDate") Date lastSysUpdate,
@SmartBindBean final InternalCallContext context);
代码示例来源:origin: killbill/killbill
@SqlQuery
public List<CatalogOverridePhaseDefinitionModelDao> getByAttributes(@Bind("parentPhaseName") String parentPhaseName,
@Bind("currency") String currency,
@Bind("fixedPrice") BigDecimal fixedPrice,
@Bind("recurringPrice") BigDecimal recurringPrice,
@SmartBindBean final InternalTenantContext context);
代码示例来源:origin: killbill/killbill
@SqlQuery
public TenantModelDao getSecrets(@Bind("id") final String id);
}
代码示例来源:origin: killbill/killbill
@SqlUpdate
public void invalidate(@Bind("username") String username,
@Bind("roleName") String roleName,
@Bind("updatedDate") final Date updatedDate,
@Bind("updatedBy") final String updatedBy);
}
代码示例来源:origin: killbill/killbill
@SqlUpdate
@Audited(ChangeType.UPDATE)
public Object updatePaymentMethod(@Bind("id") String accountId,
@Bind("paymentMethodId") String paymentMethodId,
@SmartBindBean final InternalCallContext context);
代码示例来源:origin: killbill/killbill
@SqlQuery
List<RolledUpUsageModelDao> getUsageForSubscription(@Bind("subscriptionId") final UUID subscriptionId,
@Bind("startDate") final Date startDate,
@Bind("endDate") final Date endDate,
@Bind("unitType") final String unitType,
@SmartBindBean final InternalTenantContext context);
代码示例来源:origin: killbill/killbill
@SqlQuery
public UserModelDao getByRecordId(@Bind("recordId") Long recordId);
代码示例来源:origin: killbill/killbill
@SqlUpdate
public void invalidate(@Bind("username") String username,
@Bind("updatedDate") Date updatedDate,
@Bind("updatedBy") String updatedBy);
}
代码示例来源:origin: killbill/killbill
@SqlUpdate
@Audited(ChangeType.UPDATE)
public Object updateTenantValueKey(@Bind("id") final String id,
@Bind("tenantValue") final String tenantValue,
@SmartBindBean final InternalCallContext context);
}
代码示例来源:origin: killbill/killbill
@SqlQuery
List<RolledUpUsageModelDao> getAllUsageForSubscription(@Bind("subscriptionId") final UUID subscriptionId,
@Bind("startDate") final Date startDate,
@Bind("endDate") final Date endDate,
@SmartBindBean final InternalTenantContext context);
代码示例来源:origin: killbill/killbill
@SqlQuery
public List<RolesPermissionsModelDao> getByRoleName(@Bind("roleName") final String roleName);
代码示例来源:origin: signalapp/Signal-Server
@SqlUpdate("WITH upsert AS (UPDATE pending_accounts SET verification_code = :verification_code, timestamp = :timestamp WHERE number = :number RETURNING *) " +
"INSERT INTO pending_accounts (number, verification_code, timestamp) SELECT :number, :verification_code, :timestamp WHERE NOT EXISTS (SELECT * FROM upsert)")
void insert(@Bind("number") String number, @Bind("verification_code") String verificationCode, @Bind("timestamp") long timestamp);
代码示例来源:origin: killbill/killbill
@SqlUpdate
@Audited(ChangeType.UPDATE)
void updateValue(@Bind("id") String customFieldId,
@Bind("fieldValue") String fieldValue,
@SmartBindBean InternalCallContext context);
代码示例来源:origin: killbill/killbill
@SqlQuery
List<TagModelDao> getTagsForObjectIncludedDeleted(@Bind("objectId") UUID objectId,
@Bind("objectType") ObjectType objectType,
@SmartBindBean InternalTenantContext internalTenantContext);
}
代码示例来源:origin: killbill/killbill
@SqlQuery
public List<BroadcastModelDao> getLatestEntries(@Bind("recordId") final Long recordId);
代码示例来源:origin: signalapp/Signal-Server
@SqlUpdate("WITH upsert AS (UPDATE pending_devices SET verification_code = :verification_code, timestamp = :timestamp WHERE number = :number RETURNING *) " +
"INSERT INTO pending_devices (number, verification_code, timestamp) SELECT :number, :verification_code, :timestamp WHERE NOT EXISTS (SELECT * FROM upsert)")
void insert(@Bind("number") String number, @Bind("verification_code") String verificationCode, @Bind("timestamp") long timestamp);
代码示例来源:origin: killbill/killbill
@SqlUpdate
@Audited(ChangeType.UPDATE)
public void updateBundleExternalKey(@Bind("id") String id,
@Bind("externalKey") String externalKey,
@SmartBindBean final InternalCallContext context);
内容来源于网络,如有侵权,请联系作者删除!