码迷,mamicode.com
首页 >  
搜索关键字:already exists as a    ( 6323个结果
freemarker空值的多种处理方法
默认情况下,freemarker的变量必须有值,如果没有被赋值的变量在页面上使用就会抛出异常,出错的信息都会显示在页面上。解决办法:方法一、我们可以在页面上使用freemarker变量时 以${xxx?if_exists} 来处理空值的情况,或采用默认值的方法避免此类问题。但每个freemarker...
分类:其他好文   时间:2014-08-15 10:39:38    阅读次数:188
android 细节之 AndroidRuntimeException:This message is already in use
今天在做项目处理消息队列的时候,遇到了这样一个问题,一个异常。AndroidRuntimeException:This message is already in use。 我当时的具体业务需求情境为,想要跟硬件联动的时候,保持在一定时间内只有一个操作,如果不idle,就重新发送消息,并且此消息应该delay一段时间,就是TIMEDELAY。 具体出现错误的代码如下: private cla...
分类:移动开发   时间:2014-08-15 05:04:37    阅读次数:282
How to extract msu/msp/msi/exe files from the command line
I find these commands quite helpful — maybe you know them already — if not, here you go:Microsoft Hotfix Installer (.exe)setup.exe /t:C: /cMicrosoft U...
分类:其他好文   时间:2014-08-15 04:01:46    阅读次数:388
Goldengate:ERROR 180 encountered commit SCN that is not greater than the highest SCN already processed
How to recover from Extract ERROR 180 encountered commit SCN that is not greater than the highest SCN already processedThis is the summary of Metalink...
分类:其他好文   时间:2014-08-14 20:24:19    阅读次数:335
List<T>中Exists 和Contains的区别
.net编码中,使用泛型List时,经常遇到这样的需求:新来一个Model对象,如果已有的List中没有这条数据,则把新对象Add到List中,否则不处理判断已有的List中是否包含这个新的model,方法有几种,最直白的foreach遍历原有List并逐个判断另外就是使用List自带的方法Exis...
分类:其他好文   时间:2014-08-14 19:53:09    阅读次数:165
mysql存储过程中使用事务
1 DROP PROCEDURE IF EXISTS test_sp1 2 CREATE PROCEDURE test_sp1( ) 3 BEGIN 4 DECLARE t_error INTEGER DEFAULT 0; 5 DECLARE CONT...
分类:数据库   时间:2014-08-14 10:20:48    阅读次数:221
VS和C#, SQLServer
VS帮助官网:http://msdn.microsoft.com/library/SQLServerCREATE DATABASE TestDataGOUSE master;GO--Delete the TestData database if it exists.IF EXISTS(SELECT ...
分类:数据库   时间:2014-08-14 01:22:37    阅读次数:416
附近的人计算方法-----使用mysql脚本计算方法
附近的人计算方法 drop function if exists getDistance; DELIMITER $$ CREATE DEFINER=`root`@`localhost` FUNCTION `getDistance`( lon1 float(10,7) ,lat1 float(10,7) ,lon2 float(10,7) ,lat2 fl...
分类:数据库   时间:2014-08-13 18:46:17    阅读次数:222
Hive基础之Hive表常用操作
本案例使用的数据均来源于Oracle自带的emp和dept表创建表语法:CREATE [EXTERNAL] TABLE [IF NOT EXISTS] [db_name.]table_name [(col_name data_type [COMMENT col_comment], ...)] [.....
分类:其他好文   时间:2014-08-13 18:30:17    阅读次数:334
gen already exists but is not a source folder. Convert to a source folder or rename it.
gen already exists but is not a source folder. Convert to a source folder or rename it.svn 更新项目后,出现了~上面的错误。解决方法:1. 右键点击project,选择 "Properties"2. 选择左边的...
分类:其他好文   时间:2014-08-13 14:33:36    阅读次数:257
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!