hilo

GPRS Modem based data communication for Embedded Remote Client and Server

For SAGEM HiLo GPRS based data communication, it has TCP/IP stack and there are two ways to get connected: (1) Using basic GPRS commands and then ppp dialing to brings the modem to public network/Internet like AT+CGDCONT=1,"IP","APN","0.0.0.0",0,0 OK atd*99***1# CONNECT (2) Using GPRS attach and then using TCP socket commands such as...

generator classes NHibernate

I have been using the generator class assigned to assign my primary key values. I have read several blogs which state that hilo is better. Is there a benefit to assigned over hilo? ...

Improvement on Hi-Lo Id generator

Hi all, I have a hi-lo Id generator which I use in a multi-threaded environment. The generator can be called up to 100k times per second per thread I have a reasonably good (and safe) implementation which works fine. IdAllocator is the object that fetches the next "batch" of ids. You can assume this is threadsafe. I also set the ba...

Hibernate/Oracle seqhilo generator

Hi, I'm trying to configure a seqhilo generator for a Hibernate application on Oracle. <id name="idTest" type="int"> <column name="ID_TEST" precision="6" scale="0" /> <generator class="seqhilo"> <param name="sequence">S_TEST</param> <param name="max_lo">1000</param> </generator> </id> I created...

Implementing hilo (or seqhilo) in NHibernate and Oracle

Hello guys, I have a database (which I can not modify) with 6 tables in Oracle 11g. All tables have a OID artificial column for ID, and its type is RAW(16). The DBA answered me that they are in raw and not in integer because this way the IDs will be unique in all six tables - and we must guarantee that. I'm developing the UI in C# and ...

NHibernate HiLo as long

Hi, I will have a table with more than 7 billion rows so I need log for primary key. How to specify the HiLo to use In64 instead of int? Thanks ...

What are all the NHibernate HiLo generator params?

I've seen some docs by Fabio Maulo that shows the following params: <id name="Id" type="Int64" column="cat_id"> <generator class="hilo"> <param name="table">hi_value</param> <param name="column">next_value</param> <param name="max_lo">100</param> </generator> </id> However, on this question ...