If the Oracle database Time field is set to the number type, the query time column is presented as a numeric value, such as the "1241450728000" style, is not readable, and the "2009/5/4 15:25:28" style update time prompts " Ora-01722:invalid number "
An error encountered during the use of spring+mybatis+oracle.
Finally see online sharing to solve this problem, mark.
The main problem is that the MyBatis configuration is problematic. I copied it directly below.
Original link:
Today, when you do a Java connection database, it appears:
Java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDriver
The error of this hint. Looking carefully, the JDBC driver is not loaded into project.
My code is as follows:
View Plaincopy
First, create a custom type
Create type T_air as Object (ID int, name varchar (20));CREATE TABLE test (id int, person t_air);INSERT into test values (1,t_air (1, ' 23sdf '));
ii. Delete Custom Types
Method One
Normal Delete order, first delete
I just finished the system today. wrote an Oracle data Connectivity test but reported a bad version number in class file error, the online discovery is a JDK setup problem. MyEclipse defaults to jdk5.0 and the environment I run is set jdk6.0
Problem:When Windows Server 2012 installs Oracle 11g, the installer complains that the [INS-13001] environment does not meet the minimum requirements.
Analysis Reason:Winodws Server 2012 was not released when Oracle released 11g. Therefore, there
Exp local Export and imp local import
Exp command:1 exp username/psw@test file=d:test.dmp full=y2 exp username/psw@test file=d:test.dmp owner= (ly)3 exp username/psw@test file= d:test.dmp tables= (GRID1,GRID2)1 One is the overall export of
Good Article ~ ~ The work is very commonly used.Record learning.AC Group 127591054Original post address: http://www.3lian.com/edu/2013/11-29/111321.html
after a large number of deletions to the table, there may be a lot of free space can be recycled,
Understanding Oracle Execution Plans is the first step in optimization, let's start with the example below.
The following supplementary content
1. Create Test table[SQL] view plain copy sql> create table t as Select 1 id,object_name from
The requirement is to export the data in database A to a *.dmp file, and then import the *.dmp file into database B.1. Export database A in the cmd window, enter the following command:
Export all databases
EXP User name/password @ database name File=
Stored Procedures
Stored procedures can have multiple or 0 input and output parameters, but usually do not return a value. Stored procedures are already compiled code, so the execution is highly efficient
Stored Procedure creation statement
1. Simple cycleLoopsequence of statements;End Loop;Cases:Declarea number:=100;BeginLoopa:=a+25;Exit when a=250;End Loop;Dbms_output.put_line (To_char (a));--note here with To_char ()End
2.For LoopFor counter in
An inner join (Inner join) is a connection result of a table connection that contains only those records that fully satisfy the join condition.
Select T1.col1,t1.col2,t2.col3 from
t1,t2
where t1.col2=t2.col2
Or
Select T1.col1,t1.col2,t2.col3 from
In Oracle database operations, sometimes we need to execute certain stored procedures on a regular basis. How does Oracle do that? Starting with Oracle version 10.1, Oracle has developed a new package dbms_scheduler. This package will help solve the
cmd Import Export Oracle database
first open the cmd small window, enter the following command
2017-08-17 Supplement: Delete your own Oracle database a few days ago, find exp and IMP Import Export command, cannot use, it seems, if you do not
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service