当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
PersistentEnum (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate
Interface PersistentEnum
Deprecated. Support for PersistentEnums will be removed in 2.2
- public interface PersistentEnum
Implementors of PersistentEnum are enumerated types persisted to
the database as SMALLINTs. As well as implementing toInt(),
a PersistentEnum must also provide a static method with the
signature:
public static PersistentEnum fromInt(int i)
- Author:
- Gavin King
Method Summary |
int |
toInt()
Deprecated. |
toInt
public int toInt()
- Deprecated.