<p>In lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm:</p>
<pre style='color:#555'>> @@ -118,6 +118,21 @@ sub deployment_statements {
> $self->next::method($schema, $type, $version, $dir, $sqltargs, @rest);
> }
>
> +sub insert {
> + my ($self, $source, $to_insert) = @_;
> +
> + # Oracle does not understand INSERT INTO ... DEFAULT VALUES syntax
> + # Furthermore it does not have any way to insert without specifying any columns
> + # We can't fix this in SQLMaker::Oracle because it doesn't know which column to add to the statement
> + unless (%$to_insert)
> + {
> + my ($col) = $source->columns;
</pre>
<p>We can't just pick any column, it needs to be nullable or have a default value specified.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/dbsrgits/dbix-class/pull/61/files#r18172025">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/302594__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNzYzMzQzNywiZGF0YSI6eyJpZCI6NDQxNzM4ODV9fQ==--819e471256e7904c7da72204d9d5cb0e45029c7c.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Pull Request on GitHub","action":{"@type":"ViewAction","url":"https://github.com/dbsrgits/dbix-class/pull/61/files#r18172025","name":"View Pull Request"}}</script>