Skip to content

Instantly share code, notes, and snippets.

View xcap2000's full-sized avatar

Carlos Adriano Portes xcap2000

View GitHub Profile
@xcap2000
xcap2000 / generateUuid.sql
Created September 20, 2018 18:46 — forked from jefo/generateUuid.sql
Derby DB generate uuid
create type uuid external name 'java.util.UUID' language java;
create function generateUuid() returns uuid
language java
parameter style java
external name 'java.util.UUID.randomUUID';
using System.Collections.Generic;
using Unity;
using Unity.Resolution;
namespace MlWebUi.Common.Resolvers
{
public class Resolver<T> : IResolver<T>
{
private readonly IUnityContainer container;
private readonly string? name;