All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.killbill.billing.subscription.engine.dao.SubscriptionSqlDao.sql.stg Maven / Gradle / Ivy

The newest version!
group SubscriptionSqlDao: EntitySqlDao;

tableName() ::= "subscriptions"

tableFields(prefix) ::= <<
  bundle_id
, category
, start_date
, bundle_start_date
, charged_through_date
, migrated
, created_by
, created_date
, updated_by
, updated_date
>>

tableValues() ::= <<
  :bundleId
, :category
, :startDate
, :bundleStartDate
, :chargedThroughDate
, :migrated
, :createdBy
, :createdDate
, :updatedBy
, :updatedDate
>>


getSubscriptionsFromBundleId() ::= <<
select

from 
where bundle_id = :bundleId


;
>>

updateChargedThroughDate() ::= <<
update 
set
charged_through_date = :chargedThroughDate
, updated_by = :createdBy
, updated_date = :updatedDate
where id = :id

;
>>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy