- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
db.insertInto(VISIBILITY_CONSTRAINT,
VISIBILITY_CONSTRAINT.UUID,
VISIBILITY_CONSTRAINT.VERSION,
VISIBILITY_CONSTRAINT.FIRST_NAME_HIDDEN,
VISIBILITY_CONSTRAINT.MIDDLE_NAME_HIDDEN,
VISIBILITY_CONSTRAINT.LAST_NAME_HIDDEN,
VISIBILITY_CONSTRAINT.BIRTHDAY_HIDDEN,
VISIBILITY_CONSTRAINT.GENDER_HIDDEN,
VISIBILITY_CONSTRAINT.EMAIL_HIDDEN,
VISIBILITY_CONSTRAINT.COUNTRY_HIDDEN,
VISIBILITY_CONSTRAINT.REGION_HIDDEN,
VISIBILITY_CONSTRAINT.CITY_HIDDEN,
VISIBILITY_CONSTRAINT.STREET_HIDDEN,
VISIBILITY_CONSTRAINT.ZIP_CODE_HIDDEN,
VISIBILITY_CONSTRAINT.PHONE_NUMBER_HIDDEN,
VISIBILITY_CONSTRAINT.HOME_PAGE_HIDDEN,
VISIBILITY_CONSTRAINT.HOBBIES_HIDDEN
).values(
visibilityConstraintId,
UInteger.valueOf(0),
0.byteValue(),
0.byteValue(),
0.byteValue(),
0.byteValue(),
0.byteValue(),
0.byteValue(),
0.byteValue(),
0.byteValue(),
0.byteValue(),
0.byteValue(),
0.byteValue(),
'0', // shit happens
0.byteValue(),
0.byteValue()
).execute()
Пока писал тесты к говнопроекту, нашел PHONE_NUMBER_HIDDEN VARCHAR(64) NOT NULL. Hibernate по умолчанию ставил туда null. Там еще много всего, но остальное сюда не уместится.
someone 05.09.2014 11:09 # +2
Это точно Java?
guest 05.09.2014 13:21 # +2