mandubian/siena — Issue #10: Unsupported type
Author: asinghal
Created: 2011-11-04 06:35:31+00:00
State: open

I am using Siena with Scala and it complains of java.util.Calendar and scala.BigDecimal as unsupported types.

play.exceptions.UnexpectedException: Unexpected Error
at play.Play.start(Play.java:525)
at play.Play.detectChanges(Play.java:610)
at play.Invoker$Invocation.init(Invoker.java:186)
at Invocation.HTTP Request(Play!)
Caused by: siena.SienaRestrictedApiException: Siena[db=h2][api=createColumn] Restricted Usage - Message:Unsupported type
for field models.Metric.vendorFunds
at siena.jdbc.ddl.DdlGenerator.createColumn(DdlGenerator.java:257)
at siena.jdbc.ddl.DdlGenerator.addTable(DdlGenerator.java:77)
at play.modules.siena.SienaPlugin.onApplicationStart(SienaPlugin.java:148)
at play.plugins.PluginCollection.onApplicationStart(PluginCollection.java:425)
at play.Play.start(Play.java:495)