Opened 18 years ago

Closed 18 years ago

#184 closed task (fixed)

Running SQL/HQL after an update to the database

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: blocker Milestone: BASE 2.0 RC2
Component: install Version:
Keywords: Cc:


When updating the database there must be some way to update the values in newly added columns, ie. add a default value to not-null columns.

For example: Error message exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of Stack trace HibernateUtil.loadList( ItemQuery.list( org.apache.jsp.my_005fbase.index_jsp._jspService(org.apache.jsp.my_005fbase.index_jsp:122) org.apache.jasper.runtime.HttpJspBase.service(

.... .... Caused by: java.lang.NullPointerException data.JobData$$BulkBeanByCGLIB$$46ea92ef.setPropertyValues() org.hibernate.tuple.PojoEntityTuplizer.setPropertyValuesWithOptimizer(

Change History (2)

comment:1 by Nicklas Nordborg, 18 years ago

Status: newassigned

comment:2 by Nicklas Nordborg, 18 years ago

Resolution: fixed
Status: assignedclosed

(In [2142]) Fixes #184: Running SQL/HQL after an update to the database.

Note: See TracTickets for help on using tickets.