geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: Booleans in CMP EJB2.1 with Geronimo 2.0.2 and Sql Server
Date Mon, 19 Nov 2007 12:11:22 GMT
On Nov 19, 2007 10:41 AM, ivanrc <iriano@indra.es> wrote:

> 10:23:16,453 ERROR [OpenEJB] The bean instances business method encountered
> a system exception: Syntax error: Encountered "BIT" at line 1, column 56.
> {stmnt 4757738 CREATE TABLE BOOLEAN_TABLE (ID BIGINT NOT NULL, ACTIVE BIT,
> PRIMARY KEY (ID))} [code=30000, state=42X01]
> <openjpa-1.0.0-r420667:568756 nonfatal general error>
> org.apache.openjpa.persistence.PersistenceException: Syntax error:
> Encountered "BIT" at line 1, column 56. {stmnt 4757738 CREATE TABLE
> BOOLEAN_TABLE (ID BIGINT NOT NULL, ACTIVE BIT, PRIMARY KEY (ID))}
> [code=30000, state=42X01]
>         at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:549)

I can't explain it, but I think you'd be better off sending it to
openjpa's user mailing list to get additional information on the
culprit. I'd bet it won't work with a standalone application with jpa
in the outside-the-container mode (RESOURCE_LOCAL and such) either.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message