Saved Bookmarks
| 1. |
Can The Primary Key In The Entity Bean Be A Java Primitive Type Such As Int? |
|
Answer» The primary key can't be a primitive type--use the primitive wrapper CLASSES, INSTEAD. For EXAMPLE, you can use java.lang.Integer as the primary key class, but not INT (it has to be a class, not a primitive) The primary key can't be a primitive type--use the primitive wrapper classes, instead. For example, you can use java.lang.Integer as the primary key class, but not int (it has to be a class, not a primitive) |
|