MentaBean

Compare Revisions

Ignore whitespace Rev 195 → Rev 196

/trunk/src/main/java/org/mentabean/MentaBean.java
25,7 → 25,7
public interface MentaBean {
 
/**
* Attempt to insert a bean to the database.
* Attempt to insert a bean in the database.
*
* Note: This method can be called multiple times in the same bean. Of course the PK constraints will be enforced by the database, so you can change the PK by hand and call this method multiple times, to insert multiple beans. If the PK is an auto-generated database field (e.g. auto-increment),
* you will not change the PK by hand and a new PK will be automatically assigned to the bean.