org.springframework.dao.InvalidDataAccessApiUsageException: Executing an update/delete query; nested exception is javax.persistence.TransactionRequire ...
分类:
编程语言 时间:
2018-12-30 13:59:03
阅读次数:
538
Closures Are Reference Types In the example above, incrementBySeven and incrementByTen are constants, but the closures these constants refer to are st ...
分类:
其他好文 时间:
2018-12-29 21:11:07
阅读次数:
149
在执行 composer update 时,报错 You made a reference to a non-existent script @php artisan package:discover 网上说是 composer 的版本太低,查看了一下当前安装的版本 解决方法,升级 composer ...
分类:
Web程序 时间:
2018-12-29 17:14:07
阅读次数:
334
备注:直接内存分配,无法触发GC动作 备注:with outgoing reference (当前选中对象引用的对象),with incoming references(引用当前对象的对象) ...
分类:
其他好文 时间:
2018-12-29 11:05:52
阅读次数:
169
Kubernetes的安全框架 https://kubernetes.io/docs/reference/access-authn-authz/rbac/ ?访问K8S集群的资源需要过三关:认证、鉴权、准入控制?普通用户若要安全访问集群API Server,往往需要证书、Token或者用户名+密码; ...
分类:
Web程序 时间:
2018-12-28 17:49:43
阅读次数:
312
在用 Laravel Backpack 写一个定制化的 CRUD 页面。例如,一个指定店铺所拥有的商品的 CRUD 页面。 起初路由我是这样写的 报错 Route pattern "/products-of-store/{store_id}/{{store_id}}" cannot referenc ...
分类:
其他好文 时间:
2018-12-28 16:43:14
阅读次数:
227
字符实体 | 说明 | |这是我们使用最多的空格,也就是按下space键产生的空格。在HTML中,如果你用空格键产生此空格,空格是不会累加的(只算1个)。要使用html实体表示才可累加。 | 占据的宽度正好是1/2个中文宽度,而且基本上不受字体影响。 | 其占据的宽度正好是1个中文宽度,而且基本上不 ...
分类:
其他好文 时间:
2018-12-27 18:36:29
阅读次数:
164
翻译自:http://developer.android.com/reference/android/view/VelocityTracker.html 参照自: http://blog.jrj.com.cn/4586793646,5298605a.html android.view.Velocit ...
分类:
其他好文 时间:
2018-12-27 13:20:52
阅读次数:
158
本文翻译整理自:http://developer.android.com/reference/android/app/PendingIntent.html public final class PendingIntent extends Object implements Parcelable 简介 ...
分类:
其他好文 时间:
2018-12-27 13:12:47
阅读次数:
184