Issue 41 in simplejpa: Enhance EntityManagerFactoryImpl to have ability to ignore classpath when looking for Entities

7 views
Skip to first unread message

simp...@googlecode.com

unread,
Dec 30, 2011, 5:06:41 PM12/30/11
to simp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 41 by justin...@gmail.com: Enhance EntityManagerFactoryImpl to
have ability to ignore classpath when looking for Entities
http://code.google.com/p/simplejpa/issues/detail?id=41

What steps will reproduce the problem?
Use libToScan parameter on EntityManagerFactoryImpl()

What is the expected output? What do you see instead?
Expected SimpleJPA to only process Entities in that library. Instead the
Annotation Scanner tried to process other entities in the classpath.

What version of the product are you using? On what operating system?
1.5 - Windows

Please provide any additional information below.
One possible resolution to this issue, is to add the ability to limit
the scope of the scanning to a package/class/library as opposed to
appending it.

Building from trunk I was able to add a boolean to the constructor to
specify whether or not to append on or use exclusively the libToScan
libraries.


Reply all
Reply to author
Forward
0 new messages