jodd.db.oom
Class DbOomUtil

java.lang.Object
  extended by jodd.db.oom.DbOomUtil

public class DbOomUtil
extends java.lang.Object

Some utilities.


Constructor Summary
DbOomUtil()
           
 
Method Summary
static int initialCollectionSize(int max)
          Returns initial collection size when max is provided.
static void populateGeneratedKeys(java.lang.Object entity, DbOomQuery query)
          Populates entity with generated column values from executed query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbOomUtil

public DbOomUtil()
Method Detail

populateGeneratedKeys

public static void populateGeneratedKeys(java.lang.Object entity,
                                         DbOomQuery query)
Populates entity with generated column values from executed query.


initialCollectionSize

public static int initialCollectionSize(int max)
Returns initial collection size when max is provided.



Copyright © 2003-2011 Jodd Team