Advertising
advertising
related pastes to tag 'postgres'
- 1883276 - Hibernate PostgreSQL UUID Suppor: postgresql uuid hibernate postgres dialect
-
- package hypernova.model.persistence;
- import java.io.Serializable;
- import java.sql.PreparedStatement;
- import java.sql.ResultSet;
- import java.sql.SQLException;
- import java.sql.Types;
- import java.util.UUID;
- 1883274 - Hibernate PostgreSQL UUID Suppor: postgresql uuid hibernate postgres dialect
-
- package hypernova.model.persistence;
- import java.sql.Types;
- import org.hibernate.dialect.PostgreSQLDialect;
- public class PostgreSQLDialectUUID extends PostgreSQLDialect {
- 1852678 - Copy from CSV: sql postgres
-
- CREATE TABLE _import_prices_findmtg (card_name VARCHAR(128), edition VARCHAR(4), price NUMERIC(50,2), price_date DATE);
- ALTER TABLE _import_prices_findmtg OWNER TO magic;
- SET DATESTYLE='MDY';
- --SHOW DATESTYLE;
- COPY _import_prices_findmtg FROM E'c:\\work\\mtg_prices_zen_22_2_2010.csv' DELIMITER ',' CSV;