Sorry, I guess I had that log4j setting also set in another portion of the properties file. I believe this is what you were looking for. It appears that the PAGER value comes in as an Empty String and somewhere in the Hibernate codes saves it as a null so it thinks it's dirty and tries to write that back out.
I dumped some of the log records that show the same type of behavior.
09:20:49,389 INFO SettingsFactory:257 - Echoing all SQL to stdout
09:20:49,389 INFO SettingsFactory:264 - Statistics: disabled
09:20:49,389 INFO SettingsFactory:268 - Deleted entity synthetic identifier rollback: disabled
09:20:49,389 INFO SettingsFactory:283 - Default entity-mode: pojo
09:20:49,436 INFO SessionFactoryImpl:153 - building session factory
09:20:49,858 INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured
09:20:49,858 INFO SessionFactoryImpl:728 - closing
09:20:49,858 INFO DriverManagerConnectionProvider:147 - cleaning up connection pool: jdbc:mysql://localhost/emergentpbx?zeroDateTimeBehavior=convertToNull&emptyStringsConvertToZero=false
Hibernate: select voicemailu0_.UNIQUEID as UNIQUEID0_, voicemailu0_.customer_id as customer2_0_, voicemailu0_.context as context0_, voicemailu0_.mailbox as mailbox0_, voicemailu0_.password as password0_, voicemailu0_.fullname as fullname0_, voicemailu0_.email as email0_, voicemailu0_.pager as pager0_, voicemailu0_.STAMP as STAMP0_ from VOICEMAIL_USERS voicemailu0_
09:20:50,296 DEBUG IntegerType:123 - returning '32' as column: UNIQUEID0_
09:20:50,296 DEBUG IntegerType:123 - returning '0' as column: customer2_0_
09:20:50,311 DEBUG StringType:123 - returning 'companya' as column: context0_
09:20:50,311 DEBUG StringType:123 - returning '555359664101' as column: mailbox0_
09:20:50,311 DEBUG StringType:123 - returning '1234' as column: password0_
09:20:50,311 DEBUG StringType:123 - returning 'Asterisk Test' as column: fullname0_
09:20:50,311 DEBUG StringType:123 - returning '
[email protected]' as column: email0_
09:20:50,311 DEBUG StringType:123 - returning '' as column: pager0_
09:20:50,342 DEBUG DateType:123 - returning '02 May 2006' as column: STAMP0_
09:20:50,342 DEBUG IntegerType:123 - returning '33' as column: UNIQUEID0_
09:20:50,342 DEBUG IntegerType:123 - returning '0' as column: customer2_0_
09:20:50,342 DEBUG StringType:123 - returning 'companya' as column: context0_
09:20:50,342 DEBUG StringType:123 - returning '420' as column: mailbox0_
09:20:50,342 DEBUG StringType:123 - returning '1234' as column: password0_
09:20:50,342 DEBUG StringType:123 - returning 'John Bigelow' as column: fullname0_
09:20:50,342 DEBUG StringType:123 - returning '
[email protected]' as column: email0_
09:20:50,342 DEBUG StringType:123 - returning '
[email protected]' as column: pager0_
09:20:50,342 DEBUG DateType:116 - returning null as column: STAMP0_
09:20:50,342 DEBUG IntegerType:123 - returning '34' as column: UNIQUEID0_
09:20:50,342 DEBUG IntegerType:123 - returning '0' as column: customer2_0_
09:20:50,358 DEBUG StringType:123 - returning 'companyb' as column: context0_
09:20:50,358 DEBUG StringType:123 - returning '1234' as column: mailbox0_
09:20:50,358 DEBUG StringType:123 - returning '1234' as column: password0_
09:20:50,358 DEBUG StringType:123 - returning 'bad record' as column: fullname0_
09:20:50,358 DEBUG StringType:123 - returning 'no valid email' as column: email0_
09:20:50,358 DEBUG StringType:123 - returning '' as column: pager0_
09:20:50,358 DEBUG DateType:123 - returning '18 May 2006' as column: STAMP0_
........more records of the same.............
Hibernate: update VOICEMAIL_USERS set customer_id=?, context=?, mailbox=?, password=?, fullname=?, email=?, pager=?, STAMP=? where UNIQUEID=?
09:20:50,639 DEBUG IntegerType:79 - binding '0' to parameter: 1
09:20:50,639 DEBUG StringType:79 - binding 'companya' to parameter: 2
09:20:50,639 DEBUG StringType:79 - binding '555359664101' to parameter: 3
09:20:50,639 DEBUG StringType:79 - binding '1234' to parameter: 4
09:20:50,639 DEBUG StringType:79 - binding 'Asterisk Test' to parameter: 5
09:20:50,639 DEBUG StringType:79 - binding '
[email protected]' to parameter: 6
09:20:50,639 DEBUG StringType:71 - binding null to parameter: 7
09:20:50,639 DEBUG DateType:79 - binding '02 May 2006' to parameter: 8
09:20:50,639 DEBUG IntegerType:79 - binding '32' to parameter: 9
Hibernate: update VOICEMAIL_USERS set customer_id=?, context=?, mailbox=?, password=?, fullname=?, email=?, pager=?, STAMP=? where UNIQUEID=?
09:20:50,639 DEBUG IntegerType:79 - binding '0' to parameter: 1
09:20:50,639 DEBUG StringType:79 - binding 'companyb' to parameter: 2
09:20:50,639 DEBUG StringType:79 - binding '1234' to parameter: 3
09:20:50,639 DEBUG StringType:79 - binding '1234' to parameter: 4
09:20:50,639 DEBUG StringType:79 - binding 'bad record' to parameter: 5
09:20:50,655 DEBUG StringType:79 - binding 'no valid email' to parameter: 6
09:20:50,655 DEBUG StringType:71 - binding null to parameter: 7
09:20:50,655 DEBUG DateType:79 - binding '18 May 2006' to parameter: 8
09:20:50,655 DEBUG IntegerType:79 - binding '34' to parameter: 9
........more records of the same.............
09:20:50,780 WARN JDBCExceptionReporter:71 - SQL Error: 1263, SQLState: 22004
09:20:50,780 ERROR JDBCExceptionReporter:72 - Column set to default value; NULL supplied to NOT NULL column 'pager' at row 1
09:20:50,780 ERROR AbstractFlushingEventListener:299 - Could not synchronize database state with session
org.hibernate.exception.DataException: could not update: [com.emergent_netsolutions.pbx.VoicemailUsers#47]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:75)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2222)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2118)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2374)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:84)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:361)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.emergent_netsolutions.pbx.VoicemailUsersManager.getAllVoiceMailUsers(VoicemailUsersManager.java:103)
at com.emergent_netsolutions.pbx.VoicemailUsersManager.main(VoicemailUsersManager.java:42)
Caused by: java.sql.BatchUpdateException: Column set to default value; NULL supplied to NOT NULL column 'pager' at row 1
at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:642)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.BatchingBatcher.addToBatch(BatchingBatcher.java:34)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2204)
... 13 more
org.hibernate.exception.DataException: could not update: [com.emergent_netsolutions.pbx.VoicemailUsers#47]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:75)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2222)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2118)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2374)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:84)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:361)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.emergent_netsolutions.pbx.VoicemailUsersManager.getAllVoiceMailUsers(VoicemailUsersManager.java:103)
at com.emergent_netsolutions.pbx.VoicemailUsersManager.main(VoicemailUsersManager.java:42)
Caused by: java.sql.BatchUpdateException: Column set to default value; NULL supplied to NOT NULL column 'pager' at row 1
at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:642)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.BatchingBatcher.addToBatch(BatchingBatcher.java:34)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2204)
... 13 more
Exception in thread "main"