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

com.ning.billing.account.dao.AccountEmailSqlDao.sql.stg Maven / Gradle / Ivy

The 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  t
set t.is_active = 0
where  = :id

;
>>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy