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

org.killbill.billing.account.dao.AccountEmailSqlDao.sql.stg Maven / Gradle / Ivy

There is a newer version: 0.20.0
Show newest version
group AccountEmailSqlDao: EntitySqlDao;

tableName() ::= "account_emails"

historyTableName() ::= "account_email_history"

andCheckSoftDeletionWithComma(prefix) ::= "and is_active"

tableFields(prefix) ::= <<
  account_id
, email
, is_active
, created_by
, created_date
, updated_by
, updated_date
>>


tableValues() ::= <<
  :accountId
, :email
, :isActive
, :createdBy
, :createdDate
, :updatedBy
, :updatedDate
 >>

getEmailByAccountId() ::= <<
select
  
from  t
where t.account_id = :accountId
and t.is_active

;
>>

markEmailAsDeleted() ::= <<
update 
set is_active = false
where  = :id

;
>>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy