This HTML5 document contains 52 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

Namespace Prefixes

PrefixIRI
n2http://dbpedia.org/resource/Hi/
dcthttp://purl.org/dc/terms/
dbohttp://dbpedia.org/ontology/
n16http://dbpedia.org/resource/%5D,_int%5D,_max_lo:_int_=_1000)_-%3E_None:
n19http://dbpedia.org/resource/File:
foafhttp://xmlns.com/foaf/0.1/
n10http://en.wikipedia.org/wiki/Hi/
dbpedia-globalhttps://global.dbpedia.org/id/
dbthttp://dbpedia.org/resource/Template:
rdfshttp://www.w3.org/2000/01/rdf-schema#
n15https://stackoverflow.com/questions/282099/
n13http://commons.wikimedia.org/wiki/Special:FilePath/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
owlhttp://www.w3.org/2002/07/owl#
n14https://vladmihalcea.com/the-hilo-algorithm/
dbchttp://dbpedia.org/resource/Category:
dbphttp://dbpedia.org/property/
provhttp://www.w3.org/ns/prov#
xsdhhttp://www.w3.org/2001/XMLSchema#
wikidatahttp://www.wikidata.org/entity/
dbrhttp://dbpedia.org/resource/

Statements

Subject Item
n2:Lo_algorithm
owl:sameAs
wikidata:Q85766448 dbpedia-global:BudT3
rdfs:label
Hi/Lo algorithm
foaf:depiction
n13:UML_Hi-Lo_activity_diagram.svg n13:Hilo_table.svg n13:Hilo_algorithm.svg n13:HiloKeyGenerator_UML_class.svg
prov:wasDerivedFrom
n10:Lo_algorithm?oldid=1274995127&ns=0
dbo:thumbnail
n13:Hilo_algorithm.svg?width=300
dbo:wikiPageExternalLink
n14: n15:whats-the-hi-lo-algorithm
dbo:wikiPageWikiLink
dbr:Entity_Framework dbc:Database_algorithms dbr:Apache_Cayenne dbr:Domain-driven_design dbc:Articles_with_example_Python_(programming_language)_code dbr:NHibernate dbr:Ruby_on_Rails dbr:Python_(programming_language) n16: dbr:Distributed_transaction dbr:Universally_unique_identifier dbr:Integer_(computer_science) dbr:RavenDB dbr:PostgreSQL dbr:Hibernate_(framework) dbc:Object-relational_mapping n19:Hilo_algorithm.svg dbr:Stored_procedure dbc:Articles_with_example_pseudocode dbr:Microsoft_SQL_Server dbr:Doctrine_(PHP) dbr:Primary_key
dct:subject
dbc:Object–relational_mapping dbc:Database_algorithms dbc:Articles_with_example_Python_(programming_language)_code dbc:Articles_with_example_pseudocode
foaf:isPrimaryTopicOf
n10:Lo_algorithm
dbp:wikiPageUsesTemplate
dbt:Var dbt:Quote dbt:Reflist dbt:Portal dbt:Database
dbp:author
Onur Gumus and Mugilan T. S. Ragupathi Suhas Chatekar
dbp:source
ASP.NET Core 2 Fundamentals Learning NHibernate 4
dbp:text
While auto incremented IDs are simpler, whenever you add an entity to the context, this addition forces the entity to be inserted to the database. That is because we can only retrieve the ID if the actual insertion happens in the case of auto incremented IDs. The HiLo algorithm frees us from this restriction by reserving the IDs beforehand using a database sequence. hilo needs a set of two numbers to work with. One is hi which is sourced from a database table and other is lo which is calculated by NHibernate. NHibernate combines these two numbers using a formula to generate a unique number that can be used as identifier. This implementation uses hi/lo algorithm to generate identifiers. Algorithm uses a high value retrieved from database and combines it with range of low values to generate a unique identifier. High value is from column of table by default. But you can override this to use a different table. This algorithm also supports specifying a parameter which can be used to retrieve high value for different entities from different rows of the table.
Subject Item
n10:Lo_algorithm
foaf:primaryTopic
n2:Lo_algorithm
Subject Item
dbr:Hi-Lo
dbo:wikiPageWikiLink
n2:Lo_algorithm