Learn about known issues and apply workarounds for APIs and custom development.
CR # | Description |
---|---|
631457 |
In the Administration API, role mapping and security APIs return erroneous information.
Workaround: None. To review the correct role mappings, use the Sybase Control Center UI. |
631327 |
Callbackhandler not called during execution of synchronous synchronizations
CallbackHandler.onSynchronize is only called by the asynchronous DBClass.beginSynchronize(...) method, and not by the synchronous DBClass.synchronize(...) method. Workaround: Place the DBClass.synchronize method in a try/catch block to handle any synchronization exceptions. |
620706 |
You cannot insert DEFAULT in the timestamp column when the API is accessing SQL Server.
Workaround: DEFAULT is a Microsoft SQL keyword, and cannot be set by the client. Instead, use this create operation:
insert into sql_date (c_datetime, c_smalldt) values(:dt1, :dt2) |
619853 |
If the DateTime datatype Object Query parameter uses dateformat, the object query returns a null pointer exception.
For example, this select statement causes a null pointer exception:
select a.* from AllType a where dateformat(a.aDateTime,'yyyy-mm-dd hh:mm:ss.sss') =dateformat(:aDateTime,'yyyy-mm-dd hh:mm:ss.sss') or (a.aDateTime is null and CAST(:aDateTime AS datetime) is null)
Workaround: Remove dateformat from the query, such as:
select a.* from AllType a where a.aDateTime=:aDateTime or (a.aDateTime is null and CAST(:aDateTime AS datetime) is null) |