用于 BlackBerry 开发的 Sybase 无线平台 2.0
我只是想知道为什么我无法运行 SUP 2.0 的 Sybase 文档中的示例代码。是否有任何其他资源或示例代码来演示 Sybase Unwired Platform 2.0。我按照文档中的步骤操作,但我不知道出了什么问题。顺便说一句,我正在为黑莓设备进行开发。
我创建了 MBO,然后在我的黑莓本机 IDE 中导出生成的代码,但不幸的是我的黑莓模拟器无法检索我的 MBO 中的数据。
提前致谢。
I'm just wondering why I can't run the sample code in the Sybase documents for SUP 2.0. Is there any other resource or sample code to demonstrate Sybase Unwired Platform 2.0. I followed the steps in the document but I can't figure out what is wrong. By the way, I'm developing for BlackBerry devices.
I created the MBOs, then export the generated code, in my native IDE for blackberry, but unfortunately my BlackBerry simulator cannot retrieve the data in my MBOs.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您正在使用 SUP 工作区来创建 MBO。
当您创建 MBO 时,会有一个屏幕显示有关数据同步的信息,您有两个选项。 1.Composit,2.Bi Direction..在那里你必须选择Composit..
创建 Blackberry 应用程序时,必须包含 SUP 的 .jar 文件,这些文件位于“C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.tooling”。 api_2.0.0.201105030306\lib\client\RBS\BB"
UltraLiteJ.jar、sup_client_rim.jar
位于同一位置,您将找到 .cod 文件,将它们复制并粘贴到“C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\net.rim.ejde”。 componentpack6.0.0_6.0.0.30\components\simulator "
在 Sybase Control Center 中,您必须检查每个 MBO 的连接模板有一种联系。因此,您必须提供连接参数,例如:数据库 URL 和驱动程序类以及数据库的用户名和密码。
将数据从数据库同步到模拟器是非常敏感的任务,您应该小心 MBO 和映射 MBO 的配置
I think you are working SUP Workspace to create MBO's..
When you are creating and MBO there one screen this there which shows about data sync at place you have two options. 1.Composit, 2.Bidirectional.. there you have to select the Composit..
When you are creating the Blackberry application, you have to include .jar files of SUP and those are located at "C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.tooling.api_2.0.0.201105030306\lib\client\RBS\BB"
UltraLiteJ.jar, sup_client_rim.jar
at the same location, you will find the .cod file copy those and paste at "C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\simulator "
At Sybase Control Center you have to check the connection templates for each MBO there is one connection. So there you have to provide the Connection parameters like: Database URL and Driver Class and UserName,password of Database.
To sync the data from database to Simulator is very sensitive task you should careful about the configuarations of MBO's and Mapping MBO's