- 博客(7)
- 收藏
- 关注
原创 Spring 安全框架
公有接口public interface AuthenticationManager {public Authentication authenticate(Authentication authentication)throws AuthenticationException;}The idea of ProviderManager is to enable you to authenticat
2005-12-05 09:09:00
1106
原创 触发器
组件:触发器定时触发器事件表名触发器类型when子句触发器主体可以创建触发器的组件:DML、DDL、数据库事件数据库表。数据库实例、数据库视图。用户模式DML触发器、系统触发器、替代触发器Before和After触发器create or replace triger 触发器名Before|insert|afterfor each row when 条件 PLSQL块例子 Create
2005-12-01 20:10:00
827
原创 引用游标
动态游标。引用游标declaretype RefEmpCur is ref cursor;empCur RefEmpCur;empRow emp%rowtype;flag int := 0;begin flag := &flag; if flag = 0 then open empCur for select * from emp where sal > 500 and sal elsif
2005-12-01 14:21:00
624
原创 HashMap和Hashtable区别
1 access to the Hashtable is synchronized on the table while access to the HashMap isnt2 HashMap is fail-safe while the enumerator for the Hashtable isnt3 HashMap permits null values in it, while Ha
2005-12-01 11:20:00
576
原创 Oracle游标
Oracle游标好处:1。减少网络流量 2。可以实现遍历 3。直接利用游标更新数据,直接引用表中的行类型:1。静态游标 2。引用游标(动态游标)静态游标:由用户定义(隐式游标、显示游标)结果集不变REF游标:结果集变化隐式游标:用DML操作时,自动使用隐式游标。我们可以使用隐式游标判断SQL语句执行结果自动声明和处理的。在Session会话区,开启游标。处理后自动关闭。可以返回单行查询。隐式游标使
2005-12-01 11:13:00
1284
原创 Oracle 异常
预定义异常用户自定义异常do some stuffException when no_data_found thendbms_output.put_line(没有数据);when zero_divide then dbms_output.put_line(除数为0);end;用户自定义异常declare Dup_Value Exception;pragma Exception_init
2005-12-01 10:46:00
592
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人