1
0
mirror of synced 2025-01-18 22:41:43 +03:00

Merge pull request #46 from havvg/master

fix example php code on sequence generator
This commit is contained in:
Guilherme Blanco 2011-09-13 20:00:45 -07:00
commit f32a780459

View File

@ -557,7 +557,7 @@ besides specifying the sequence's name:
/**
* @Id
* @GeneratedValue(strategy="SEQUENCE")
* @SequenceGenerator(name="tablename_seq", initialValue=1, allocationSize=100)
* @SequenceGenerator(sequenceName="tablename_seq", initialValue=1, allocationSize=100)
*/
protected $id = null;
}