1 设置path, 在windwos 7下要重启2 重启后,cmd----ant -version
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre6\lib原来是只安装了jre, 没有安装jdk...
分类:
其他好文 时间:
2014-06-07 04:37:11
阅读次数:
209
1)定义: URI: Uniform Resource Identifier,通用资源标识符
---是一个用于标识某一互联网资源名称的字符串(by 维基百科) URL:Uniform Resource Locato,统一资源定位符
从关系上来看,URI属于父类,URL属于URI的子类。U...
分类:
其他好文 时间:
2014-05-30 12:48:10
阅读次数:
328
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]//Identifier字段会自动产生guid值,如果Identifier是int类型,那字段就是自增类型。[Table("Retail",
Schema = "Chapter2")]p...
分类:
其他好文 时间:
2014-05-29 02:38:14
阅读次数:
227
1. Table per Hierarchy
基类和继承类存储在同一张数据表中,通过一个专门的字段(Identifier Column)进行区分。protected override void
OnModelCreating(DbModelBuilder modelBuilder){base.On....
分类:
其他好文 时间:
2014-05-29 02:36:10
阅读次数:
329
CAS,当oldVal与expected相同时,将oldVal更新为newVal,原子操作ABA problem:when a location is read
twice, has the same value for both reads, and "value is same“ is used...
分类:
其他好文 时间:
2014-05-26 16:06:53
阅读次数:
217
数据库表结构《1》新增数据,并且按照"name"
字段查询,如果重复返回“error”=-100 ,如果成功返回ID,如果失败ID=0USE [数据库]GOSET ANSI_NULLS ONGOSET
QUOTED_IDENTIFIER ONGOALTER procedure [dbo].[存储过程...
分类:
数据库 时间:
2014-05-26 15:43:33
阅读次数:
279
一、开发前奏1.公司标示使用反向域名:正向域名 www.baidu.com
用来标示一台网络主机;反向域名 cn.itcast.Mydemo 用来标示产品的,cn.com.abc.product。因为大家都喜欢好名字
weibo,所以就有新浪微博,腾讯微博。2. Bundle Identifier:...
分类:
移动开发 时间:
2014-05-22 16:25:42
阅读次数:
442
今天真机调试的时候莫名其妙遇到了这样的一个问题:This product type must be built using a provisioning profile, however no provisioning profile matching both the identity "iPhone Developer" and the bundle identifier.....具体如下图所...
分类:
移动开发 时间:
2014-05-22 11:17:43
阅读次数:
415
出现找不到xib指定的图片,需要指定图片的完整路径,不能只是图片名详见:http://vocaro.com/trevor/blog/2012/10/21/xcode-groups-vs-folder-references/An
image stored as a folder reference w...
分类:
移动开发 时间:
2014-05-22 03:44:48
阅读次数:
491
最近数据库从10.2.0.3升级到了10.2.0.5之后,一些对象无法编译通过。查看了这些对象主要表现在之前写法不严格的SQL语法导致了这些package无法成功编译,诸如select查询列中不能使用混淆的列名称等。另外一个比较表现突出的是返回ORA-00932: inconsistent datatypes: expected - got CLOB错误,即不一致的数据类型,获得CLOB数据类型。...
分类:
其他好文 时间:
2014-05-21 16:34:25
阅读次数:
434