Subject | Re: Toplink, JPA and Firebird |
---|---|
Author | mspencewasunavailable |
Post date | 2007-12-29T00:17:41Z |
--- In Firebird-Java@yahoogroups.com, "mspencewasunavailable"
<firebird@...> wrote:
fields:
Instead of @Column(name = "Last Name", nullable = false)
use @Column(name = "\"Last Name\"", nullable = false)
Sorry for the noise.
Michael D. Spence
Mockingbird Data Systems, Inc.
<firebird@...> wrote:
>firebird
> I'm trying to use Toplink and JPA (NetBeans 6) to access a
> database. As it happens, this database was ported from BDE, andmany
> of my tables have column names that have to be quoted.gotten
>
> Toplink seems to have trouble dealing with this. Has anyone
> JPA to work with Firebird and delimited identifiers using Toplink(or
> for that matter, any other perisistence provider)?D'oh! The answer turned out to be pretty obvious: Delimit the
>
fields:
Instead of @Column(name = "Last Name", nullable = false)
use @Column(name = "\"Last Name\"", nullable = false)
Sorry for the noise.
Michael D. Spence
Mockingbird Data Systems, Inc.