Aivar
25 Oct 2010

Datatype for account ID

What is the best datatype to store account IDs? Number? String? No! The correct answer is XMLGregorianCalendar .


private XMLGregorianCalendar accountID;


public XMLGregorianCalendar getAccountID()
{
  return accountID;
}


public void setAccountID(XMLGregorianCalendar value)
{
  accountID = value;
}

Our recent stories

B2B purchase financing with automated credit decisions

End-to-end B2B equipment-finance platform, from partner application intake to customer contracting. An automated solution for financing purchases for corporate customers, where a significant number of cases are auto-decided. Built and delivered by Codeborne.