> 
> Hello, I am trying to get IDBroker to generate ID's for my database.  My
> code goes like this:
> 
>             DatabaseMap dbMap =
> DBBroker.getInstance().getDatabaseMap("dabasename");
>             dbMap.setIdTable("tablename");
>             IDBroker idb = dbMap.getIDBroker();
>             int idInt = idb.getNextId("tablename").intValue();
> 
> This then generates the error:
> 
> java.util.NoSuchElementException: database.idbroker.cleverquantity
> doesn't map to an existing object
> [snip]
> 
> What would I be doing wrong?  I'm stumped....
> 

Add:

database.idbroker.cleverquantity=[false or true]

to the TurbineResources.properties file.

This was mentioned on the mailing list in the last couple of weeks I think.
The turbine list is archived on www.mail-archive.com.

-Greg-


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to