Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 93476 invoked from network); 13 Oct 2010 15:10:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Oct 2010 15:10:07 -0000 Received: (qmail 58697 invoked by uid 500); 13 Oct 2010 15:10:07 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 58522 invoked by uid 500); 13 Oct 2010 15:10:04 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Delivered-To: moderator for dev@openjpa.apache.org Received: (qmail 7781 invoked by uid 99); 13 Oct 2010 14:50:56 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.158 is neither permitted nor denied by domain of idanmo@gmail.com) Date: Wed, 13 Oct 2010 07:50:28 -0700 (PDT) From: idan To: dev@openjpa.apache.org Message-ID: <1286981428224-5631231.post@n2.nabble.com> Subject: Custom Annotations MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Heya, I'd like to add my own custom annotations to OpenJPA (field annotations). So far I understood i'll probably have to replace AnnotationPersistenceMetaDataParser with my own implementation which will take care of my custom annotations and somehow add them to the existing or my own derived FieldMetaData implementations. My final (for now) goal is to add extra SQL syntax to the create table statement for the custom annotated fields. What would be the best way to eventually pass this information to DBDictionary's getCreateTableSQL method? Thanks, Idan -- View this message in context: http://openjpa.208410.n2.nabble.com/Custom-Annotations-tp5631231p5631231.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.