On Feb 7, 2008, at 10:26 PM, Daniel Spangler wrote:

> I'm getting the error message below, but I can't quite figure out  
> where to set the create-database-tables attribute.  I have set the  
> create-database-schema attribute in the ejb-server element, but that  
> doesn't seem to help.  I have also tried to set the create-database- 
> tables attribute on ejb-server but that violates the schema.  Anyone  
> have any suggestions?
>
> [22:23:59.531] {resin-100} 'valueAsString' is not a valid database  
> column in tab
> le 'option'.  Either the table needs to be created or the create- 
> database-tables
>  attribute must be set.

Can you enable the <spy/> logging on the <database> element and set  
the logging level to "fine"?  That will show the SQL statements in the  
logs,

<database jndi-name="mysql/foo">
   <driver .../>
   </spy>
</database>

<logger name="com.caucho.sql" level="fine"/>

-- Scott

>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to