[hibernate-issues] [Hibernate-JIRA] Commented: (EJB-212) excludeUnlistedClasses ignored in SE case

Dan Corneanu (JIRA) noreply at atlassian.com
Tue Sep 26 07:24:24 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-212?page=comments#action_24626 ] 

Dan Corneanu commented on EJB-212:
----------------------------------

Is this really working in hibernate-entitymanager-3.2.0.CR2 ? 
I use it in Java SE with the following persistence.xml:

<persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
	version="1.0">
	<persistence-unit name="SimPersistenceManager"
		transaction-type="RESOURCE_LOCAL">
		<exclude-unlisted-classes>true</exclude-unlisted-classes>
		<properties>
			<property name="hibernate.dialect"
				value="org.hibernate.dialect.HSQLDialect" />
			<property name="hibernate.connection.driver_class"
				value="org.hsqldb.jdbcDriver" />
			<property name="hibernate.show_sql" value="false" />
			<!-- property name="hibernate.connection.username" value="sa" />
				<property name="hibernate.connection.password" value="" / -->
		</properties>
	</persistence-unit>
</persistence>

and I get this log:

INFO - Hibernate EntityManager 3.2.0.CR2
INFO - Hibernate Annotations 3.2.0.CR2
INFO - Hibernate 3.2 cr4
INFO - hibernate.properties not found
INFO - Bytecode provider name : cglib
INFO - using JDK 1.4 java.sql.Timestamp handling
DEBUG - Look up for persistence unit: SimPersistenceManager
DEBUG - Analyse of persistence.xml: file:/D:/projects/watermill/watermill/tmp-eclipse/META-INF/persistence.xml
DEBUG - Persistent Unit name from persistence.xml: SimPersistenceManager
DEBUG - PersistenceMetadata [
	name: SimPersistenceManager
	jtaDataSource: null
	nonJtaDataSource: null
	transactionType: RESOURCE_LOCAL
	provider: null
	classes[
	]
	packages[
	]
	mappingFiles[
	]
	jarFiles[
	]
	hbmfiles: 0
	properties[
		hibernate.dialect: org.hibernate.dialect.HSQLDialect
		hibernate.connection.url: jdbc:hsqldb:file:C:\DOCUME~1\cdan\LOCALS~1\Temp\wat50108_folder/simdb
		hibernate.connection.shutdown: true
		hibernate.show_sql: false
		hibernate.connection.driver_class: org.hsqldb.jdbcDriver
		hibernate.hbm2ddl.auto: create
	]]
DEBUG - Searching mapped entities in jar/par: file:/D:/projects/watermill/watermill/tmp-eclipse
DEBUG - Filtering: com.alcatel.rose.computations.ComputationException
DEBUG - Filtering: com.alcatel.rose.computations.ComputationInterruptedException
DEBUG - Filtering: com.alcatel.rose.engine.AutoSavingThread
DEBUG - Filtering: com.alcatel.rose.engine.dependencies.ToolDependecies
DEBUG - Filtering: com.alcatel.rose.engine.dependencies.ToolDependency
DEBUG - Filtering: com.alcatel.rose.engine.excelimpex.AExcelColumn
DEBUG - Filtering: com.alcatel.rose.engine.excelimpex.AExcelFile
DEBUG - Filtering: com.alcatel.rose.engine.excelimpex.AExcelFixedRegion
DEBUG - Filtering: com.alcatel.rose.engine.excelimpex.AExcelRegion
DEBUG - Filtering: com.alcatel.rose.engine.excelimpex.AExcelVariableRegion
DEBUG - Filtering: com.alcatel.rose.engine.excelimpex.AExcelVariableRegions
DEBUG - Filtering: com.alcatel.rose.engine.excelimpex.AXpathExpression
DEBUG - Filtering: com.alcatel.rose.engine.excelimpex.defines.DefinedRegion
DEBUG - Filtering: com.alcatel.rose.engine.excelimpex.defines.DefinesSection
DEBUG - Filtering: com.alcatel.rose.engine.gui.AboutPanel$1
DEBUG - Filtering: com.alcatel.rose.engine.gui.AboutPanel$2
DEBUG - Filtering: com.alcatel.rose.engine.gui.AboutPanel$3
DEBUG - Filtering: com.alcatel.rose.engine.gui.AboutPanel$4
DEBUG - Filtering: com.alcatel.rose.engine.gui.AboutPanel
DEBUG - Filtering: com.alcatel.rose.engine.gui.commands.AddLinkWithExcelCommand
DEBUG - Filtering: com.alcatel.rose.engine.gui.commands.AddRangeWithExcelCommand
DEBUG - Filtering: com.alcatel.rose.engine.gui.commands.ChangeExpertXMLValueCommand
DEBUG - Filtering: com.alcatel.rose.engine.gui.commands.ComputeCommand
DEBUG - Filtering: com.alcatel.rose.engine.gui.commands.RemoveLinkRangeWithExcelCommand
DEBUG - Filtering: com.alcatel.rose.engine.gui.CopyPasteAction
DEBUG - Filtering: com.alcatel.rose.engine.gui.CopyPasteWorker
DEBUG - Filtering: com.alcatel.rose.engine.gui.EngineMainFrame$1

> excludeUnlistedClasses ignored in SE case
> -----------------------------------------
>
>          Key: EJB-212
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-212
>      Project: Hibernate Entity Manager
>         Type: Bug

>   Components: EntityManager
>     Versions: 3.2.0.cr1
>     Reporter: Emmanuel Bernard
>     Assignee: Emmanuel Bernard
>      Fix For: 3.2.0.cr2

>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list