[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [eclipselink-users] Using EclipseLink to verify tables existence
|
- From: James Sutherland <jamesssss@xxxxxxxxx>
- Date: Tue, 28 Jul 2009 07:05:41 -0700 (PDT)
- Delivered-to: eclipselink-users@eclipse.org
You can use the IntegrityChecker in EclipseLink for this, you will need to
configure it using a SessionCustomizer,
See,
http://www.eclipse.org/eclipselink/api/1.1.1/org/eclipse/persistence/sessions/Session.html#getIntegrityChecker()
checkDatabase() will make it check the mappings against the database.
Krohn wrote:
>
> Hi,
>
> I have a database which is accessed by old client/server apps besides
> JPA/EclipseLink. My JPA app can't update database schema. How can I use
> EclipseLink to just report schema inconsistences with my entities? I want
> to write an app that reports a system administrator tables and columns
> missing.
>
> Any ideas?
>
-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland
http://www.eclipse.org/eclipselink/
EclipseLink , http://www.oracle.com/technology/products/ias/toplink/
TopLink
Wiki: http://wiki.eclipse.org/EclipseLink EclipseLink ,
http://wiki.oracle.com/page/TopLink TopLink
Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink ,
http://www.nabble.com/EclipseLink-f26430.html EclipseLink
Book: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence
--
View this message in context: http://www.nabble.com/Using-EclipseLink-to-verify-tables-existence-tp24535764p24698127.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.