首页 \ 问答 \ 查询JBPM(queries on JBPM)

查询JBPM(queries on JBPM)

1)例如我们需要执行delete语句,我们在哪里设置它? 在JBPM或Hibernate中?

2)JBPM是否需要特定的数据库?

3)如何在JBPM中存档数据?

4)如何在JBPM中维护数据库?

5)如何在JBPM中重启失败的活动/任务? 公共和流程类型示例

6)是否可以从3.0迁移到5.0?

 6.1 )   Are they compatible?    
 6.2 )   How to migrate from 3.0 to 5.0
 6.3 )   What are the things/changes to be considered upon migration.
 6.4 )   What are the possible impacts of migrating from 3.0 to 5.0
 6.5 )    What would be the impact in the existing library of the 3.0?

1) For Example we need execute delete statement, where do we set it? In JBPM or in Hibernate?

2) Does JBPM requires specific Database?

3) How to archive data in JBPM?

4) How to maintain database in JBPM?

5) How to restart a failed activity/task in JBPM? Public and Process type example

6) Is it possible to migrate from 3.0 to 5.0?

 6.1 )   Are they compatible?    
 6.2 )   How to migrate from 3.0 to 5.0
 6.3 )   What are the things/changes to be considered upon migration.
 6.4 )   What are the possible impacts of migrating from 3.0 to 5.0
 6.5 )    What would be the impact in the existing library of the 3.0?

原文:https://stackoverflow.com/questions/14399752
更新时间:2023-09-10 15:09

最满意答案

骨干不知道_id是你用于id字段的名字,除非你以某种方式修改了你的Backbone.js副本(请不要)。 要告诉Backbone您的id字段的名称是用于某个特定模型的, idAttribute在您的模型定义中。 否则,它默认为常规id

如果没有“身份”字段集,Backbone将会考虑模型实例“ isNew ”(一个尚未持久保存到服务器的模型实例),所以当没有“身份”时(就像你的情况一样,它不知道你的身份,相反, _id )不需要在服务器上销毁它。


Backbone doesn't know that _id is the name you are using for your id field, unless you've modified your copy of Backbone.js somehow (please don't). To tell Backbone what the name of your id field is for some particular model, idAttribute in your Model definition. Otherwise, it defaults to the regular id.

Without the "identity" field set, Backbone is going to consider that the the model instance "isNew" (a model instance which hasn't been persisted to the server), so when there's no "identity" (as in your case, as it doesn't know that your identity is, instead, _id) there wouldn't be any need to destroy it on the server.

相关问答

更多
  • 我没有看到任何Http.initialize文档。 那是从哪里来的? 由于您从服务器获取现有模型,因此即使在模拟HTTP( http://backbonejs.org/#Sync-emulateHTTP )时,Backbone也会默认发出GET请求。 其次,可能发生的一件事是服务器端框架忽略了application/json请求内容类型类型,并且只返回JSON,你调用mypage.json URL(即它只考虑扩展名)。 默认情况下,Backbond将使用内容类型application/json获取(例如) ...
  • 你有一个未实现期望的问题:) Backbone中的DELETE请求默认情况下不发送POST , PUT和PATCH属性1 :比较这个Fiddle http:// jsfiddle中 model.save和model.destroy发送的请求.NET / fz68a / 您可以覆盖Item.sync其提供您期望的行为: var Item = Backbone.Model.extend({ defaults: { part1: 'hello', part2: 'world ...
  • 如果没有backbone.js,jQuery的服务器端后端是不是足够了? 当然,您可以使用jquery甚至是纯粹的javascript来自己构建应用程序。 这完全取决于你想要达到的复杂程度。 Backbone旨在创建丰富的单页应用程序。 因此,它提供了一种用于描述,分组和处理数据的结构化方法。 应用程序状态,模板化视图等的路由。例如,集合(模型)提供的不仅仅是数组。 它们可以直接绑定到您的视图,观察更改并使用非常少的“粘合”代码自动同步到服务器。 如果您要将大部分应用程序逻辑放在客户端的浏览器中,则需要保持 ...
  • 您的帖子中有很多代码,所以我不能100%确定以下内容将涵盖您需要做的所有事情,但这是一个开始 此事件处理程序可能会导致一些问题: changeDay: function(e){ AppRouter.history.navigate($(this).attr('href')); return false; } 在细节层面上,有几件事情在这里: 您无需参考history 。 我不确定路由器是否有这样的属性。 你应该调用AppRouter.navigate 。 如果您希望路由器触发changeDay路由 ...
  • 这不是Backbone引起的问题。 我停用了ajax_caching,在激活之后,id已经消失了:) $.ajaxSetup ({ // Disable caching of AJAX responses */ cache: true }); It's not a problem caused by Backbone. I deactivated the ajax_caching, after activating it, the ids were gone :) ...
  • 您看到的选项请求不是发送您的发布请求的INSTEAD,如果您处于跨域情况,则会在触发发布请求之前调用它。 如果要在服务器端允许此操作,可以使服务器使用其他HTTP标头进行响应: Access-Control-Allow-Origin: http://your.requesting.site.url The options request you see is not send INSTEAD of your post request, it is called before the post reques ...
  • 我们通过修改config / routes.js在风帆中使用CORS module.exports.routes = { '/ *':{cors:true} } 记录在这里: http : //sailsjs.org/#! documentation/ config.routes We use CORS in sails by modifying the config/routes.js module.exports.routes = { '/*': { cors: true } } Documented ...
  • 骨干不知道_id是你用于id字段的名字,除非你以某种方式修改了你的Backbone.js副本(请不要)。 要告诉Backbone您的id字段的名称是用于某个特定模型的, idAttribute在您的模型定义中。 否则,它默认为常规id 。 如果没有“身份”字段集,Backbone将会考虑模型实例“ isNew ”(一个尚未持久保存到服务器的模型实例),所以当没有“身份”时(就像你的情况一样,它不知道你的身份,相反, _id )不需要在服务器上销毁它。 Backbone doesn't know that _ ...
  • 你正在使用this.model.fetch(); 用于检索数据。 它默认发出GET请求,不会在正文或查询字符串中发送任何数据。 在尝试查找选项和功能时,请使用文档 。 Backbone源代码也很简单易懂。 快速解决 使用保存 this.model.save(); 要强制执行POST请求 ,例如,如果模型在您已登录时设置了“ ìd并且只想再次验证登录, 则在Backbone确定它是更新而不是创建调用时, 使用type选项来避免PUT或PATCH请求。 this.model.save(null, { type ...
  • 我尝试使用Chrome,并且在chrome控制台中出现了firebug中没有的内容:不允许使用内容类型标头。 所以我修改了web.config文件: 这解决了这个问题。 顺便说一下它仍然发送预检,所以我把这个代码放在服务器端: if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') exit; 所以它不会搞砸一切.... ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。