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

org.killbill.billing.util.nodes.dao.NodeInfoSqlDao.sql.stg Maven / Gradle / Ivy

There is a newer version: 0.24.11
Show newest version
tableName() ::= "node_infos"

tableFields(prefix) ::= <<
  node_name
, boot_date
, updated_date
, node_info
, is_active
>>

allTableFields(prefix) ::= <<
  record_id
, 
>>


tableValues() ::= <<
  :nodeName
, :bootDate
, :updatedDate
, :nodeInfo
, :isActive
>>

allTableValues() ::= <<
  :recordId
, 
>>

create() ::= <<
insert into  (

)
values (

)
;
>>

getByNodeName() ::= <<
select 
from 
where node_name = :nodeName
and updated_date \> :updatedDate
and is_active = TRUE
;
>>

getAll() ::= <<
select 
from 
where is_active = TRUE
and updated_date \> :updatedDate
order by node_name asc
;
>>

updateNodeInfo() ::= <<
update 
set node_info = :nodeInfo
, updated_date = :updatedDate
where node_name = :nodeName
;
>>

setUpdatedDate() ::= <<
update 
set updated_date = :updatedDate
where node_name = :nodeName
;
>>

delete() ::= <<
delete
from 
where node_name = :nodeName
;
>>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy