Hi,

was able to upgrade a mid size t5 app from 5.1.0.5 to 5.2.4, still testing
every aspect, something learned so far:

1) Hibernate 3.6 will be used, so two changes:
       use  "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"; 
in hibernate.cfg.xml
       if there is a mappedBy, you should no include @JoinColumn, following
is not accepted, but accepted in 3.2.x which is used in Tapestry 5.1.0.5:
    @OneToMany(cascade=CascadeType.REMOVE, fetch= FetchType.LAZY, mappedBy =
"detail")
    @JoinColumn(name="detail_fk")
   you have to remove the @Join... which i believe it's correct

2) if you use ArrayList with Model for grid, 5.1.0.5 will have one column
'empty', but 5.2.4 will have an extra column 'size':
        model = beanModelSource.createDisplayModel(ArrayList.class,
_messages);
        model.exclude("size");  // you don't have to do this in 5.1.0.5
        model.get("empty").sortable(false).label("Items");

that's the things I changed up to now to make the upgrade works.

Angelo
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t5-something-learned-from-upgrading-from-5-1-0-5-to-5-2-4-tp3333160p3333160.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to