Atea - Hero's Grave

面向对象,开源,框架,敏捷,云计算,编程思想。

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  23 随笔 :: 0 文章 :: 17 评论 :: 0 Trackbacks

置顶随笔 #

     摘要: 地址是: http://atealxt.appspot.com/  阅读全文
posted @ 2009-06-24 15:09 Atea 阅读(14) | 评论 (0)编辑 收藏

2009年6月30日 #

     摘要: 1. org.datanucleus.store.exceptions.NoTableManagedException
2. org.datanucleus.exceptions.NucleusUserException A parent cannot be established or changed once an object has been persisted.
3. java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction
4. 404 happened when visit online but ok in local environment
  阅读全文
posted @ 2009-06-30 15:49 Atea 阅读(25) | 评论 (0)编辑 收藏

2009年6月12日 #

     摘要: 替换前: aaa[code:java]bbb[/code]ccc
替换后: 博客的摘要模板有bug..详情请点击观看  阅读全文
posted @ 2009-06-12 11:11 Atea 阅读(25) | 评论 (0)编辑 收藏

2009年6月4日 #

     摘要: 1. pojo compile warning
2. com.google.apphosting.api.ApiProxy$CallNotFoundException
3. org.datanucleus.exceptions.NucleusUserException
4. java.lang.NoClassDefFoundError: javax/naming/NamingException
5. java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
6. one to many relationship doesn't work   阅读全文
posted @ 2009-06-04 12:20 Atea 阅读(72) | 评论 (0)编辑 收藏

2009年5月7日 #

     摘要: s2dao是基于seasar2的orm框架,使用简单且功能比较强大。官方网站为http://s2dao.seasar.org/,中英日文档皆有。
如果对hibernate望而生畏,而只是寻找一个替代jdbc的工具的话,s2dao算是一个不错的选择。某种程度上来讲,s2dao可能会比较像ibatis。  阅读全文
posted @ 2009-05-07 17:08 Atea 阅读(64) | 评论 (0)编辑 收藏

2009年3月29日 #

     摘要: amCharts是一款前台Flash报表工具。
由于使用了Flash ,可以做出不少华丽的动画效果,使报表数据显得生动立体。  阅读全文
posted @ 2009-03-29 20:23 Atea 阅读(401) | 评论 (0)编辑 收藏

2009年2月16日 #

     摘要: struts2 Action里面的getter方法会在Action结束后被自动调用。
在Ajax调用Action返回json数据等的情况,很可能给函数起个getXXX的名字,而这就可能发生错误了。  阅读全文
posted @ 2009-02-16 20:09 Atea 阅读(63) | 评论 (0)编辑 收藏

2009年1月31日 #

     摘要: 一段hibernate的SchemaExport,原来在win下运行正常,放到linux下就出了问题,在插入数据的时候发生了异常。
查看DB,发现表引擎是MyISAM,而不是期望的InnoDB。我的代码是在用到batch的时候(Session.flush())才出的错,查了查MyISAM的资料,应该就是这个了。  阅读全文
posted @ 2009-01-31 10:36 Atea 阅读(641) | 评论 (2)编辑 收藏

2008年12月26日 #

     摘要: 本文介绍了PL/SQL的基本使用方法,包括PACKAGE、FUNCTION的书写及调用,游标的使用等。  阅读全文
posted @ 2008-12-26 20:22 Atea 阅读(73) | 评论 (0)编辑 收藏

2008年11月25日 #

     摘要: 今日看了《Java Concurrency in Practice》的第6.2.5章节,才知道java.util.Timer真是问题多多啊。
Timer任务执行过程中,如果下一次计时到了,会产生任务冲突问题。这在多线程的环境下会更加突出。
另外如果Timer任务执行过程中发生异常,Timer仍然会继续工作!

jdk5的java.util.concurrent.ScheduledExecutorService很好的解决了以上问题。  阅读全文
posted @ 2008-11-25 09:33 Atea 阅读(389) | 评论 (0)编辑 收藏

2008年11月11日 #

     摘要: 在ORACLE中,CHAR类型的字段值会自动补足空格。所以当其作为条件时,就有可能查不出想要的数据。
如果不允许改DB设计的话,那就用RTRIM来解决吧。  阅读全文
posted @ 2008-11-11 14:45 Atea 阅读(1116) | 评论 (4)编辑 收藏

仅列出标题  下一页