|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.amber.field.Generator
com.caucho.amber.field.MaxGenerator
public class MaxGenerator
Configuration for a bean's field
| Constructor Summary | |
|---|---|
MaxGenerator()
|
|
| Method Summary | |
|---|---|
long |
generate(java.sql.Connection conn)
Generates the new id. |
void |
init()
initialize the sql. |
void |
setColumn(java.lang.String column)
Sets the column. |
void |
setTable(java.lang.String table)
Sets the table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MaxGenerator()
| Method Detail |
|---|
public void setTable(java.lang.String table)
public void setColumn(java.lang.String column)
public void init()
public long generate(java.sql.Connection conn)
throws java.sql.SQLException
generate in class Generatorjava.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||