I am trying to use the "New Methods for National Character Set Type Data in JDK 1.6", to get a standard JDBC solution to handle cyrillic chars, but when the execution reaches any line with NVARCHAR type, for instance:
preparedSelect.setObject(3,…
One of the column is of the type XMLTYPE in Oracle database.
In my application, I want to persist the data and using Hibernate.
I did the following for mapping XMLTYPE in hibernate
Define the custom user type implementing UserType
The custom user…
In Oracle 11g I have a stored procedure like this:
PROCEDURE test_params (o_message_tbl OUT core.message_tbl);
where
create or replace TYPE message_tbl AS TABLE OF core.message_obj;
create or replace TYPE message_obj AS OBJECT
(code…
Am using jdk- 1.6,
os- redhat 5,
driver- class12.jar,(jar along with jdk lib)
db-Oracle 10i
Code:-
public Timestamp getCurrentTimeStamp(Connection connection) throws SQLException {
…
I get the following exception while trying to store instance of java.time.Instant into Oracle table where the column is of type TIMESTAMP WITH TIME ZONE:
SQL state [99999]; error code [17004]; Invalid column type; nested
exception is…
Im migrating an ALBPM 6.5 running on a WLS 10.0 to an Oracle BPM 10.3.1 running on WLS 10.3.1
I got some problems with the Oracle driver because the old driver (weblogic.jdbcx.oracle.OracleDataSource) was definitely removed from the server and is…
I've got the following small Groovy script that just does a count of rows in the database for a specific date.
import groovy.sql.Sql
def today= new GregorianCalendar()
def dateString =…