Cytat(destroyerr @ 28.07.2008, 09:53:52 )

A próbowałeś wg ostatniego przykładu dodać swój typ?
Próbowałem dopisać w MssqlPlatform
nie robiłem dokładnie w ten sposób bo nie moge znaleść gdzie dodać (próbowałem w propel.ini)
Cytat
You must then specify that mapping in the build.properties for your project:
propel.platform.class = propel.engine.platform.${propel.database}Platform
nigdzie w moim projkcie
cały czas dostaje
Cytat
[propel-creole-transform] Column [ARTYKUL.ID_ARTYKULU] has a column type (T_ID_TYP) that Propel does not support.
Wymyśliłem coś takiego i narazie działa:)
Solution:
add:
Kod
"[nazwa_nowego_nieznaniego_typu]" => CreoleTypes::INTEGER,
(Int, char co tam potrzeba)
to:
Kod
private static $typeMap
in:
Kod
/usr/share/php/symfony/vendor/creole/drivers/mssql/MSSQLTypes.php
Symfony 1.0
OR
Kod
/usr/share/php/symfony/plugins/sfPropelPlugin/lib/vendor/creole/drivers/mssql/MSSQLTypes.php
Symfony 1.1
Pozdrawiam