码迷,mamicode.com
首页 >  
搜索关键字:detached entity    ( 5141个结果
Unknown entity: org.jbpm.services.task.audit.TaskEventImpl
1. use this persistence.xml - simply copy it into src/main/resources/META-INF org.hibernate.ejb.HibernatePersistence jdbc/jbpm-ds ...
分类:其他好文   时间:2014-06-29 07:40:54    阅读次数:1021
Asp.Net MVC4开发二: Entity Framework在Asp.Net MVC4中的应用
ORM作为一种数据库访问机制已广泛地应用于各种项目当中,在.Net开发中,应用比较广泛的ORM框架大致有下面几个: 官方支持的有:Linq to SQL,Entity Framework。三方的有:NHibernate。前面介绍过Linq to SQL的应用,这篇介绍一下Entity Framework在Asp.Net MVC4中的应用。 首先用Visual Studio(2012或2...
分类:Web程序   时间:2014-06-20 12:01:44    阅读次数:361
linq to entity不识别方法"System.String ToString()"
将班级id以字符串形式输入如:“1111,1112,1113”。数据库里的id为int型,在数据路里找到匹配的相应班级转换成列表。在这里爆出问题:不识别方法"System.String ToString()",跪求大神提出解决方案。public IEnumerable FindClassesByID...
分类:其他好文   时间:2014-06-11 23:12:51    阅读次数:248
xmpp muc 群聊协议 3
6.Entity Use CasesA MUC implementation MUST supportService Discovery[7].服务端必须实现 service discover6.1Discovering Component Support for MUC发现服务器是否支持mucA ...
分类:其他好文   时间:2014-06-11 10:10:31    阅读次数:345
三层架构-----实践篇
我们看到三层架构的主要特点:UI调用BLL中类的方法,即UI知道BLL的方法,但不知道方法实现的细节,而BLL层并不知道UI的存在.同样BLL层调用DAL,而DAL也不知道BLL的存在。三者中任何一者发生变化都不会影响其他俩者的正常工作,只对变化者进行重新调整即可。三层把Entity实体类的实例作为参数来传递. 总之,表示层只提供软件系统与用户交互的接口;业务逻辑层是界面层和数据访问层之间的桥梁,负责数据处理和传递;数据访问层只负责数据的存取工作。...
分类:其他好文   时间:2014-06-07 16:29:14    阅读次数:279
atitit。 hb Hibernate sql 查询使用
atitit。 hb  Hibernate sql 查询使用 #----------返回list法..这个推荐使用。      q.setResultTransformer(Transformers.ALIAS_TO_ENTITY_MAP);                  List li=q.list(); 作者 老哇的爪子 Attilax 艾龙,  EMAIL:14665...
分类:数据库   时间:2014-06-07 12:07:58    阅读次数:246
spring3+mybatis3+mysql
玩了一下mybatis,网上源码说的不太清楚。自己写了一下。希望对大家有用(spring3+mybatis3+mysql)实体类:package org.my.entity;public class User { private Integer id; private String na...
分类:数据库   时间:2014-06-07 07:14:07    阅读次数:318
Entity Framework Code First 常用方法集成
using System;using System.Collections.Generic;using System.Data.Entity;using System.Linq;using System.Linq.Expressions;using System.Text;using SnsDB;u...
分类:其他好文   时间:2014-06-06 21:45:06    阅读次数:384
查看sqlserver被锁的表以及如何解锁
查看sqlserver被锁的表以及如何解锁查看被锁表:select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resourc...
分类:数据库   时间:2014-06-06 20:57:54    阅读次数:274
PLSQL_数据结构类型的解析(概念)
2014-06-02 BaoXinjian一、总论1. 字段2. 记录3. 集合4. 游标5. 其他二、具体分析 1. 字段(1). 标准字段l_wip_entity_id NUMBER;(2). 基于表字段l_wip_entity_id wip_entities.wip_entity_id%TYP...
分类:数据库   时间:2014-06-02 15:44:47    阅读次数:355
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!