File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes CMP table name using reserved keyword Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "CMP table name using reserved keyword" Watch "CMP table name using reserved keyword" New topic

CMP table name using reserved keyword

Klaus Mittfoch

Joined: Nov 16, 2005
Posts: 3

I am migrating an existing application from JBoss to WebLogic.
One of the issues that came up is that there are three tables
named User, Transaction, Identity which in case of SQL Server
happen to be reserved keywords. In JBoss descriptors we used
to escape those names with square brackets and it worked fine.

I can not seem to find a way to make it work in WebLogic. If
I escape them as mentioned, the appc compilation fails. If I
don't - the application fails to deploy not being able to find
those tables.

There must be a way to specify that the app server should
escape those table names. Can You help?

I agree. Here's the link:
subject: CMP table name using reserved keyword