-
1. Re: Transparent Timestamp fields
ryanramage Dec 13, 2002 5:31 PM (in response to ryanramage)I love JBoss! Looking at the source, it was not that hard to find out what to do. If anyone cares the steps are:
1) Extend each of the JDBCCommand classes (eg JDBCRemoveEntityCommand) and change the SQL where needed.
2) Create a subclass of org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager and as part of the Factory Pattern call each of the new classes from step 1.
3) change the persistence-manager in standardjboss.xml to the class in step 2.
Just that easy! =) Now just to make sure that my new sql does not mess anything up =) -
2. Re: Transparent Timestamp fields
ryanramage Dec 13, 2002 5:34 PM (in response to ryanramage)I love JBoss! Looking at the source, it was not that hard to find out what to do. If anyone cares the steps are:
1) Extend each of the JDBCCommand classes (eg JDBCRemoveEntityCommand) and change the SQL where needed.
2) Create a subclass of org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager and as part of the Factory Pattern call each of the new classes from step 1.
3) change the persistence-manager in standardjboss.xml to the class in step 2. -
3. Re: Transparent Timestamp fields
ryanramage Dec 13, 2002 5:43 PM (in response to ryanramage)I love JBoss! Looking at the source, it was not that hard to find out what to do. If anyone cares the steps are:
1) Extend each of the JDBCCommand classes (eg JDBCRemoveEntityCommand) and change the SQL where needed.
2) Create a subclass of org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager and as part of the Factory Pattern call each of the new classes from step 1.
3) change the persistence-manager in standardjboss.xml to the class in step 2.