lishunli / nutz

Automatically exported from code.google.com/p/nutz
0 stars 0 forks source link

DAO设计中,默认数据表主键都是long型的? #169

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
下一步会不会考虑String型主键(如GUID)的支持

Original issue reported on code.google.com by conanca2...@gmail.com on 28 Apr 2010 at 2:24

GoogleCodeExporter commented 9 years ago
哦,没看wiki
原来通过@Name是可以使用字符型主键的。

不知道插入时,能不能设置自动生成字符型主键,还是需要��
�己实现?

Original comment by conanca2...@gmail.com on 28 Apr 2010 at 2:56

GoogleCodeExporter commented 9 years ago
看这个 wiki:
http://code.google.com/p/nutz/wiki/dao_next_prev

Original comment by zozoh...@gmail.com on 28 Apr 2010 at 9:40

GoogleCodeExporter commented 9 years ago

Original comment by wendal1985@gmail.com on 13 May 2010 at 11:03