-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: schema export complete - but now changes in database!?
PostPosted: Wed Dec 14, 2011 10:19 am 
Newbie

Joined: Wed Dec 14, 2011 10:07 am
Posts: 1
Hi,

I'm just trying to set up a very basic hibernate DB connection. I can connect to the DB using HSQL Database Manager, can also create Schemas and Tables.
Running my testprog, everything executes fine at first, BUT there are no changes made to the DB. Therefore, following exception is found in output at the end:
Code:
Exception in thread "main" java.lang.IllegalArgumentException: Unknown entity: model.Person
   at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:840)
   at model.StartApp.main(StartApp.java:51)


Hope you could help me finding out what I am doing wrong. This is my very basic code:
Code:
package model;
import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.hibernate.annotations.Entity;

@Entity
public class Person implements Serializable {

    @Id
    @GeneratedValue(strategy=GenerationType.AUTO)
    private int id;
   
    private String name = "";

    public int getId() {
        return id;
    }

    public void setId(short id) {
        this.id = id;
    }

    public Person(String name) {
        this.name = name;
    }
   
    public Person() {
    }
   
    public String toString() {
        return name;
    }
   
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
}


Code:
package model;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

import org.hibernate.Session;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


public class StartApp {
   
   
    static Logger logger = LoggerFactory.getLogger(Person.class);

    private static EntityManagerFactory emf;
   
   public static void main(String[] args) {
   emf = Persistence.createEntityManagerFactory("HolidayCalculatorDB");
   EntityManager em = emf.createEntityManager();

        em.getTransaction().begin();

   Person newPerson = new Person(); 
        newPerson.setName("Hibernate JPA Person"); 
        em.persist(newPerson); 

   em.getTransaction().commit();
   em.close();
   }
}


Code:
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0"
   xmlns="http://java.sun.com/xml/ns/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_2_0.xsd">
   <persistence-unit name="HolidayCalculatorDB"
      transaction-type="RESOURCE_LOCAL">
      <provider>org.hibernate.ejb.HibernatePersistence</provider>

      <properties>
         <property name="hibernate.connection.driver_class" value="org.hsqldb.jdbcDriver" />      
         <property name="hibernate.connection.url" value="jdbc:hsqldb:MyDB" />   
         <property name="hibernate.connection.username" value="" />
         <property name="hibernate.connection.password" value="" />
         <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" />
         <property name="hibernate.hbm2ddl.auto" value="create" /> <!-- update -->
         <property name="hibernate.connection.autocommit" value="true" />
         <property name="hibernate.show_sql" value="true" />
         <property name="hibernate.format_sql" value="true" />
      </properties>
   </persistence-unit>
</persistence>


This is the console output: I noticed that there is no loggin about executed SQL statements. Nevertheless "schema export complete"...
Code:
15:11:05,324 DEBUG BasicTypeRegistry:147 – Adding type registration boolean -> org.hibernate.type.BooleanType@1177115
15:11:05,327 DEBUG BasicTypeRegistry:147 – Adding type registration boolean -> org.hibernate.type.BooleanType@1177115
15:11:05,328 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@1177115
15:11:05,330 DEBUG BasicTypeRegistry:147 – Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@92015d
15:11:05,331 DEBUG BasicTypeRegistry:147 – Adding type registration true_false -> org.hibernate.type.TrueFalseType@1af7a03
15:11:05,332 DEBUG BasicTypeRegistry:147 – Adding type registration yes_no -> org.hibernate.type.YesNoType@1d50fd2
15:11:05,334 DEBUG BasicTypeRegistry:147 – Adding type registration byte -> org.hibernate.type.ByteType@cf17c3
15:11:05,335 DEBUG BasicTypeRegistry:147 – Adding type registration byte -> org.hibernate.type.ByteType@cf17c3
15:11:05,335 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@cf17c3
15:11:05,336 DEBUG BasicTypeRegistry:147 – Adding type registration character -> org.hibernate.type.CharacterType@1742c56
15:11:05,337 DEBUG BasicTypeRegistry:147 – Adding type registration char -> org.hibernate.type.CharacterType@1742c56
15:11:05,337 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@1742c56
15:11:05,339 DEBUG BasicTypeRegistry:147 – Adding type registration short -> org.hibernate.type.ShortType@1641ee0
15:11:05,339 DEBUG BasicTypeRegistry:147 – Adding type registration short -> org.hibernate.type.ShortType@1641ee0
15:11:05,340 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Short -> org.hibernate.type.ShortType@1641ee0
15:11:05,342 DEBUG BasicTypeRegistry:147 – Adding type registration integer -> org.hibernate.type.IntegerType@54782a
15:11:05,344 DEBUG BasicTypeRegistry:147 – Adding type registration int -> org.hibernate.type.IntegerType@54782a
15:11:05,345 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@54782a
15:11:05,348 DEBUG BasicTypeRegistry:147 – Adding type registration long -> org.hibernate.type.LongType@1e61026
15:11:05,348 DEBUG BasicTypeRegistry:147 – Adding type registration long -> org.hibernate.type.LongType@1e61026
15:11:05,348 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Long -> org.hibernate.type.LongType@1e61026
15:11:05,351 DEBUG BasicTypeRegistry:147 – Adding type registration float -> org.hibernate.type.FloatType@bafda6
15:11:05,352 DEBUG BasicTypeRegistry:147 – Adding type registration float -> org.hibernate.type.FloatType@bafda6
15:11:05,352 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Float -> org.hibernate.type.FloatType@bafda6
15:11:05,354 DEBUG BasicTypeRegistry:147 – Adding type registration double -> org.hibernate.type.DoubleType@c6692
15:11:05,354 DEBUG BasicTypeRegistry:147 – Adding type registration double -> org.hibernate.type.DoubleType@c6692
15:11:05,354 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@c6692
15:11:05,357 DEBUG BasicTypeRegistry:147 – Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@15b4b49
15:11:05,357 DEBUG BasicTypeRegistry:147 – Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@15b4b49
15:11:05,359 DEBUG BasicTypeRegistry:147 – Adding type registration big_integer -> org.hibernate.type.BigIntegerType@1643e4b
15:11:05,359 DEBUG BasicTypeRegistry:147 – Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@1643e4b
15:11:05,360 DEBUG BasicTypeRegistry:147 – Adding type registration string -> org.hibernate.type.StringType@a5ce92
15:11:05,360 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.String -> org.hibernate.type.StringType@a5ce92
15:11:05,362 DEBUG BasicTypeRegistry:147 – Adding type registration url -> org.hibernate.type.UrlType@10fba68
15:11:05,362 DEBUG BasicTypeRegistry:147 – Adding type registration java.net.URL -> org.hibernate.type.UrlType@10fba68
15:11:05,364 DEBUG BasicTypeRegistry:147 – Adding type registration date -> org.hibernate.type.DateType@f6ede1
15:11:05,365 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Date -> org.hibernate.type.DateType@f6ede1
15:11:05,367 DEBUG BasicTypeRegistry:147 – Adding type registration time -> org.hibernate.type.TimeType@1ff83a9
15:11:05,367 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Time -> org.hibernate.type.TimeType@1ff83a9
15:11:05,369 DEBUG BasicTypeRegistry:147 – Adding type registration timestamp -> org.hibernate.type.TimestampType@2110fc
15:11:05,369 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@2110fc
15:11:05,369 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.Date -> org.hibernate.type.TimestampType@2110fc
15:11:05,370 DEBUG BasicTypeRegistry:147 – Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@32ef2d
15:11:05,372 DEBUG BasicTypeRegistry:147 – Adding type registration calendar -> org.hibernate.type.CalendarType@1e4e3e4
15:11:05,372 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@1e4e3e4
15:11:05,372 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@1e4e3e4
15:11:05,373 DEBUG BasicTypeRegistry:147 – Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@2ddc4c
15:11:05,375 DEBUG BasicTypeRegistry:147 – Adding type registration locale -> org.hibernate.type.LocaleType@b9459c
15:11:05,375 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@b9459c
15:11:05,377 DEBUG BasicTypeRegistry:147 – Adding type registration currency -> org.hibernate.type.CurrencyType@11ce012
15:11:05,377 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@11ce012
15:11:05,378 DEBUG BasicTypeRegistry:147 – Adding type registration timezone -> org.hibernate.type.TimeZoneType@6dcfde
15:11:05,378 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@6dcfde
15:11:05,380 DEBUG BasicTypeRegistry:147 – Adding type registration class -> org.hibernate.type.ClassType@161def0
15:11:05,380 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Class -> org.hibernate.type.ClassType@161def0
15:11:05,383 DEBUG BasicTypeRegistry:147 – Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@1f53293
15:11:05,383 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@1f53293
15:11:05,383 DEBUG BasicTypeRegistry:147 – Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@22b29a
15:11:05,384 DEBUG BasicTypeRegistry:147 – Adding type registration pg-uuid -> org.hibernate.type.PostgresUUIDType@1900f17
15:11:05,387 DEBUG BasicTypeRegistry:147 – Adding type registration binary -> org.hibernate.type.BinaryType@1b9658e
15:11:05,387 DEBUG BasicTypeRegistry:147 – Adding type registration byte[] -> org.hibernate.type.BinaryType@1b9658e
15:11:05,387 DEBUG BasicTypeRegistry:147 – Adding type registration [B -> org.hibernate.type.BinaryType@1b9658e
15:11:05,388 DEBUG BasicTypeRegistry:147 – Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@cf9bf0
15:11:05,389 DEBUG BasicTypeRegistry:147 – Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@cf9bf0
15:11:05,389 DEBUG BasicTypeRegistry:147 – Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@cf9bf0
15:11:05,390 DEBUG BasicTypeRegistry:147 – Adding type registration image -> org.hibernate.type.ImageType@ba679e
15:11:05,391 DEBUG BasicTypeRegistry:147 – Adding type registration characters -> org.hibernate.type.CharArrayType@17e982f
15:11:05,391 DEBUG BasicTypeRegistry:147 – Adding type registration char[] -> org.hibernate.type.CharArrayType@17e982f
15:11:05,391 DEBUG BasicTypeRegistry:147 – Adding type registration [C -> org.hibernate.type.CharArrayType@17e982f
15:11:05,393 DEBUG BasicTypeRegistry:147 – Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@164a8c
15:11:05,393 DEBUG BasicTypeRegistry:147 – Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@164a8c
15:11:05,393 DEBUG BasicTypeRegistry:147 – Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@164a8c
15:11:05,394 DEBUG BasicTypeRegistry:147 – Adding type registration text -> org.hibernate.type.TextType@1ca3cb
15:11:05,405 DEBUG BasicTypeRegistry:147 – Adding type registration blob -> org.hibernate.type.BlobType@1346812
15:11:05,405 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@1346812
15:11:05,406 DEBUG BasicTypeRegistry:147 – Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@4c8422
15:11:05,408 DEBUG BasicTypeRegistry:147 – Adding type registration wrapper_materialized_blob -> org.hibernate.type.WrappedMaterializedBlobType@17a6686
15:11:05,416 DEBUG BasicTypeRegistry:147 – Adding type registration clob -> org.hibernate.type.ClobType@fbd1fc
15:11:05,416 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@fbd1fc
15:11:05,417 DEBUG BasicTypeRegistry:147 – Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@25753d
15:11:05,418 DEBUG BasicTypeRegistry:147 – Adding type registration wrapper_characters_clob -> org.hibernate.type.CharacterArrayClobType@1e55d39
15:11:05,419 DEBUG BasicTypeRegistry:147 – Adding type registration characters_clob -> org.hibernate.type.PrimitiveCharacterArrayClobType@1fc9fee
15:11:05,420 DEBUG BasicTypeRegistry:147 – Adding type registration serializable -> org.hibernate.type.SerializableType@1babddb
15:11:05,424 DEBUG BasicTypeRegistry:147 – Adding type registration object -> org.hibernate.type.ObjectType@199049
15:11:05,424 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@199049
15:11:05,425 DEBUG BasicTypeRegistry:147 – Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@121ea24
15:11:05,425 DEBUG BasicTypeRegistry:147 – Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@192e317
15:11:05,425 DEBUG BasicTypeRegistry:147 – Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@7b0f4d
15:11:05,425 DEBUG BasicTypeRegistry:147 – Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@12996d6
15:11:05,425 DEBUG BasicTypeRegistry:147 – Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@16de641
15:11:05,426 DEBUG BasicTypeRegistry:147 – Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@27de24
15:11:05,426 DEBUG BasicTypeRegistry:147 – Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@1692a49
15:11:05,426 DEBUG BasicTypeRegistry:147 – Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@157402b
15:11:05,458  INFO Version:37 – Hibernate Commons Annotations 3.2.0.Final
15:11:05,465  INFO Environment:603 – Hibernate 3.6.8.Final
15:11:05,467  INFO Environment:636 – hibernate.properties not found
15:11:05,470  INFO Environment:814 – Bytecode provider name : javassist
15:11:05,474  INFO Environment:695 – using JDK 1.4 java.sql.Timestamp handling
15:11:05,531 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [uuid2] -> [class org.hibernate.id.UUIDGenerator]
15:11:05,532 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [guid] -> [class org.hibernate.id.GUIDGenerator]
15:11:05,533 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [uuid] -> [class org.hibernate.id.UUIDHexGenerator]
15:11:05,533 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [uuid.hex] -> [class org.hibernate.id.UUIDHexGenerator]
15:11:05,535 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [hilo] -> [class org.hibernate.id.TableHiLoGenerator]
15:11:05,536 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [assigned] -> [class org.hibernate.id.Assigned]
15:11:05,537 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [identity] -> [class org.hibernate.id.IdentityGenerator]
15:11:05,537 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [select] -> [class org.hibernate.id.SelectGenerator]
15:11:05,538 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [sequence] -> [class org.hibernate.id.SequenceGenerator]
15:11:05,538 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [seqhilo] -> [class org.hibernate.id.SequenceHiLoGenerator]
15:11:05,539 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [increment] -> [class org.hibernate.id.IncrementGenerator]
15:11:05,539 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [foreign] -> [class org.hibernate.id.ForeignGenerator]
15:11:05,540 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [sequence-identity] -> [class org.hibernate.id.SequenceIdentityGenerator]
15:11:05,541 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [enhanced-sequence] -> [class org.hibernate.id.enhanced.SequenceStyleGenerator]
15:11:05,542 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [enhanced-table] -> [class org.hibernate.id.enhanced.TableGenerator]
15:11:05,545  INFO Version:42 – Hibernate EntityManager 3.6.8.Final
15:11:05,545 DEBUG BasicTypeRegistry:147 – Adding type registration boolean -> org.hibernate.type.BooleanType@1177115
[... skipping these logmessages to du max characters per post]
15:11:05,556 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [uuid2] -> [class org.hibernate.id.UUIDGenerator]
15:11:05,556 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [guid] -> [class org.hibernate.id.GUIDGenerator]
15:11:05,556 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [uuid] -> [class org.hibernate.id.UUIDHexGenerator]
15:11:05,556 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [uuid.hex] -> [class org.hibernate.id.UUIDHexGenerator]
15:11:05,556 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [hilo] -> [class org.hibernate.id.TableHiLoGenerator]
15:11:05,556 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [assigned] -> [class org.hibernate.id.Assigned]
15:11:05,556 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [identity] -> [class org.hibernate.id.IdentityGenerator]
15:11:05,556 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [select] -> [class org.hibernate.id.SelectGenerator]
15:11:05,557 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [sequence] -> [class org.hibernate.id.SequenceGenerator]
15:11:05,557 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [seqhilo] -> [class org.hibernate.id.SequenceHiLoGenerator]
15:11:05,557 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [increment] -> [class org.hibernate.id.IncrementGenerator]
15:11:05,557 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [foreign] -> [class org.hibernate.id.ForeignGenerator]
15:11:05,557 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [sequence-identity] -> [class org.hibernate.id.SequenceIdentityGenerator]
15:11:05,557 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [enhanced-sequence] -> [class org.hibernate.id.enhanced.SequenceStyleGenerator]
15:11:05,557 DEBUG DefaultIdentifierGeneratorFactory:100 – Registering IdentifierGenerator strategy [enhanced-table] -> [class org.hibernate.id.enhanced.TableGenerator]
15:11:05,572 DEBUG Ejb3Configuration:304 – Look up for persistence unit: HolidayCalculatorDB
15:11:05,692 DEBUG Ejb3Configuration:841 – Detect class: true; detect hbm: true
15:11:05,701 DEBUG AbstractJarVisitor:123 – Searching mapped entities in jar/par: file:/C:/Users/XXX/programmieren/workspace/HolidayCalculatorDB/build/classes/
15:11:05,703 DEBUG AbstractJarVisitor:169 – Filtering: model.AbstractModelObject
15:11:05,731 DEBUG AbstractJarVisitor:169 – Filtering: model.Calculator
15:11:05,735 DEBUG AbstractJarVisitor:169 – Filtering: model.HibernateUtil
15:11:05,736 DEBUG AbstractJarVisitor:169 – Filtering: model.HolidayModel
15:11:05,738 DEBUG AbstractJarVisitor:169 – Filtering: model.Payment
15:11:05,739 DEBUG AbstractJarVisitor:169 – Filtering: model.Person
15:11:05,749 DEBUG AbstractJarVisitor:169 – Filtering: model.PersonDAO
15:11:05,749 DEBUG AbstractJarVisitor:169 – Filtering: model.PersonTest
15:11:05,750 DEBUG AbstractJarVisitor:169 – Filtering: model.StartApp
15:11:05,751 DEBUG Ejb3Configuration:841 – Detect class: true; detect hbm: true
15:11:05,751 DEBUG Ejb3Configuration:194 – Creating Factory: HolidayCalculatorDB
15:11:05,798 DEBUG Configuration:3995 – Processing hbm.xml files
15:11:05,798 DEBUG Configuration:4025 – Process annotated classes
15:11:05,800 DEBUG Configuration:1466 – processing fk mappings (*ToOne and JoinedSubclass)
15:11:05,801 DEBUG Configuration:1708 – processing extends queue
15:11:05,801 DEBUG Configuration:1762 – processing extends queue
15:11:05,801 DEBUG Configuration:1711 – processing collection mappings
15:11:05,801 DEBUG Configuration:1721 – processing native query and ResultSetMapping mappings
15:11:05,801 DEBUG Configuration:1729 – processing association property references
15:11:05,801 DEBUG Configuration:1751 – processing foreign key constraints
15:11:05,805  INFO Configuration:1676 – Hibernate Validator not found: ignoring
15:11:05,816 DEBUG NamingHelper:53 – No JNDI name configured for binding Ejb3Configuration
15:11:05,820 DEBUG Configuration:1854 – Preparing to build session factory with filters : {}
15:11:05,820 DEBUG Configuration:3995 – Processing hbm.xml files
15:11:05,821 DEBUG Configuration:4025 – Process annotated classes
15:11:05,821 DEBUG Configuration:1466 – processing fk mappings (*ToOne and JoinedSubclass)
15:11:05,821 DEBUG Configuration:1708 – processing extends queue
15:11:05,821 DEBUG Configuration:1762 – processing extends queue
15:11:05,821 DEBUG Configuration:1711 – processing collection mappings
15:11:05,821 DEBUG Configuration:1721 – processing native query and ResultSetMapping mappings
15:11:05,821 DEBUG Configuration:1729 – processing association property references
15:11:05,821 DEBUG Configuration:1751 – processing foreign key constraints
15:11:05,822 DEBUG Configuration:1896 – Legacy Validator not present in classpath, ignoring event listener registration
15:11:05,824 DEBUG HibernateSearchEventListenerRegister:231 – Search not present in classpath, ignoring event listener registration.
15:11:05,825  INFO HibernateSearchEventListenerRegister:75 – Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
15:11:05,829  INFO DriverManagerConnectionProvider:64 – Using Hibernate built-in connection pool (not for production use!)
15:11:05,829  INFO DriverManagerConnectionProvider:65 – Hibernate connection pool size: 20
15:11:05,829  INFO DriverManagerConnectionProvider:68 – autocommit mode: true
15:11:05,836  INFO DriverManagerConnectionProvider:103 – using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:MyDB
15:11:05,836  INFO DriverManagerConnectionProvider:106 – connection properties: {user=, password=, autocommit=true, release_mode=auto}
15:11:05,836 DEBUG DriverManagerConnectionProvider:132 – opening new JDBC connection
15:11:07,035  INFO ENGINE:? – checkpointClose start
15:11:07,737  INFO ENGINE:? – checkpointClose end
15:11:07,825 DEBUG DriverManagerConnectionProvider:138 – created connection to: jdbc:hsqldb:MyDB, Isolation Level: 2
15:11:07,852  INFO Dialect:135 – Using dialect: org.hibernate.dialect.HSQLDialect
15:11:07,868  INFO SettingsFactory:126 – Database ->
       name : HSQL Database Engine
    version : 2.2.6
      major : 2
      minor : 2
15:11:07,868  INFO SettingsFactory:132 – Driver ->
       name : HSQL Database Engine Driver
    version : 2.2.6
      major : 2
      minor : 2
15:11:07,869  INFO TransactionFactoryFactory:62 – Using default transaction strategy (direct JDBC transactions)
15:11:07,871  INFO TransactionManagerLookupFactory:83 – No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
15:11:07,871  INFO SettingsFactory:179 – Automatic flush during beforeCompletion(): disabled
15:11:07,871  INFO SettingsFactory:183 – Automatic session close at end of transaction: disabled
15:11:07,871  INFO SettingsFactory:190 – JDBC batch size: 15
15:11:07,871  INFO SettingsFactory:193 – JDBC batch updates for versioned data: disabled
15:11:07,872  INFO SettingsFactory:198 – Scrollable result sets: enabled
15:11:07,872 DEBUG SettingsFactory:202 – Wrap result sets: disabled
15:11:07,872  INFO SettingsFactory:206 – JDBC3 getGeneratedKeys(): enabled
15:11:07,872  INFO SettingsFactory:214 – Connection release mode: auto
15:11:07,873  INFO SettingsFactory:241 – Default batch fetch size: 1
15:11:07,873  INFO SettingsFactory:245 – Generate SQL with comments: disabled
15:11:07,873  INFO SettingsFactory:249 – Order SQL updates by primary key: disabled
15:11:07,873  INFO SettingsFactory:253 – Order SQL inserts for batching: disabled
15:11:07,873  INFO SettingsFactory:431 – Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
15:11:07,874  INFO ASTQueryTranslatorFactory:47 – Using ASTQueryTranslatorFactory
15:11:07,875  INFO SettingsFactory:261 – Query language substitutions: {}
15:11:07,875  INFO SettingsFactory:266 – JPA-QL strict compliance: enabled
15:11:07,875  INFO SettingsFactory:271 – Second-level cache: enabled
15:11:07,875  INFO SettingsFactory:275 – Query cache: disabled
15:11:07,875  INFO SettingsFactory:406 – Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
15:11:07,876  INFO SettingsFactory:285 – Optimize cache for minimal puts: disabled
15:11:07,876  INFO SettingsFactory:294 – Structured second-level cache entries: disabled
15:11:07,880  INFO SettingsFactory:314 – Echoing all SQL to stdout
15:11:07,881  INFO SettingsFactory:323 – Statistics: disabled
15:11:07,881  INFO SettingsFactory:327 – Deleted entity synthetic identifier rollback: disabled
15:11:07,882  INFO SettingsFactory:343 – Default entity-mode: pojo
15:11:07,882  INFO SettingsFactory:347 – Named query checking : enabled
15:11:07,882  INFO SettingsFactory:351 – Check Nullability in Core (should be disabled when Bean Validation is on): enabled
15:11:07,901  INFO SessionFactoryImpl:202 – building session factory
15:11:07,905 DEBUG SessionFactoryImpl:206 – Statistics initialized [enabled=false]}
15:11:07,906 DEBUG BasicTypeRegistry:147 – Adding type registration boolean -> org.hibernate.type.BooleanType@1177115
15:11:07,906 DEBUG BasicTypeRegistry:147 – Adding type registration boolean -> org.hibernate.type.BooleanType@1177115
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@1177115
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@92015d
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration true_false -> org.hibernate.type.TrueFalseType@1af7a03
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration yes_no -> org.hibernate.type.YesNoType@1d50fd2
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration byte -> org.hibernate.type.ByteType@cf17c3
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration byte -> org.hibernate.type.ByteType@cf17c3
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@cf17c3
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration character -> org.hibernate.type.CharacterType@1742c56
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration char -> org.hibernate.type.CharacterType@1742c56
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@1742c56
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration short -> org.hibernate.type.ShortType@1641ee0
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration short -> org.hibernate.type.ShortType@1641ee0
15:11:07,907 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Short -> org.hibernate.type.ShortType@1641ee0
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration integer -> org.hibernate.type.IntegerType@54782a
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration int -> org.hibernate.type.IntegerType@54782a
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@54782a
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration long -> org.hibernate.type.LongType@1e61026
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration long -> org.hibernate.type.LongType@1e61026
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Long -> org.hibernate.type.LongType@1e61026
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration float -> org.hibernate.type.FloatType@bafda6
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration float -> org.hibernate.type.FloatType@bafda6
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Float -> org.hibernate.type.FloatType@bafda6
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration double -> org.hibernate.type.DoubleType@c6692
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration double -> org.hibernate.type.DoubleType@c6692
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@c6692
15:11:07,908 DEBUG BasicTypeRegistry:147 – Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@15b4b49
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@15b4b49
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration big_integer -> org.hibernate.type.BigIntegerType@1643e4b
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@1643e4b
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration string -> org.hibernate.type.StringType@a5ce92
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.String -> org.hibernate.type.StringType@a5ce92
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration url -> org.hibernate.type.UrlType@10fba68
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration java.net.URL -> org.hibernate.type.UrlType@10fba68
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration date -> org.hibernate.type.DateType@f6ede1
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Date -> org.hibernate.type.DateType@f6ede1
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration time -> org.hibernate.type.TimeType@1ff83a9
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Time -> org.hibernate.type.TimeType@1ff83a9
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration timestamp -> org.hibernate.type.TimestampType@2110fc
15:11:07,909 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@2110fc
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.Date -> org.hibernate.type.TimestampType@2110fc
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@32ef2d
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration calendar -> org.hibernate.type.CalendarType@1e4e3e4
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@1e4e3e4
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@1e4e3e4
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@2ddc4c
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration locale -> org.hibernate.type.LocaleType@b9459c
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@b9459c
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration currency -> org.hibernate.type.CurrencyType@11ce012
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@11ce012
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration timezone -> org.hibernate.type.TimeZoneType@6dcfde
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@6dcfde
15:11:07,910 DEBUG BasicTypeRegistry:147 – Adding type registration class -> org.hibernate.type.ClassType@161def0
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Class -> org.hibernate.type.ClassType@161def0
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@1f53293
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@1f53293
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@22b29a
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration pg-uuid -> org.hibernate.type.PostgresUUIDType@1900f17
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration binary -> org.hibernate.type.BinaryType@1b9658e
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration byte[] -> org.hibernate.type.BinaryType@1b9658e
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration [B -> org.hibernate.type.BinaryType@1b9658e
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@cf9bf0
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@cf9bf0
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@cf9bf0
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration image -> org.hibernate.type.ImageType@ba679e
15:11:07,911 DEBUG BasicTypeRegistry:147 – Adding type registration characters -> org.hibernate.type.CharArrayType@17e982f
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration char[] -> org.hibernate.type.CharArrayType@17e982f
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration [C -> org.hibernate.type.CharArrayType@17e982f
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@164a8c
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@164a8c
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@164a8c
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration text -> org.hibernate.type.TextType@1ca3cb
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration blob -> org.hibernate.type.BlobType@1346812
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@1346812
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@4c8422
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration wrapper_materialized_blob -> org.hibernate.type.WrappedMaterializedBlobType@17a6686
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration clob -> org.hibernate.type.ClobType@fbd1fc
15:11:07,912 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@fbd1fc
15:11:07,913 DEBUG BasicTypeRegistry:147 – Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@25753d
15:11:07,913 DEBUG BasicTypeRegistry:147 – Adding type registration wrapper_characters_clob -> org.hibernate.type.CharacterArrayClobType@1e55d39
15:11:07,913 DEBUG BasicTypeRegistry:147 – Adding type registration characters_clob -> org.hibernate.type.PrimitiveCharacterArrayClobType@1fc9fee
15:11:07,913 DEBUG BasicTypeRegistry:147 – Adding type registration serializable -> org.hibernate.type.SerializableType@1babddb
15:11:07,913 DEBUG BasicTypeRegistry:147 – Adding type registration object -> org.hibernate.type.ObjectType@199049
15:11:07,915 DEBUG BasicTypeRegistry:147 – Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@199049
15:11:07,915 DEBUG BasicTypeRegistry:147 – Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@1ec725d
15:11:07,915 DEBUG BasicTypeRegistry:147 – Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@487113
15:11:07,915 DEBUG BasicTypeRegistry:147 – Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@1f79cb1
15:11:07,915 DEBUG BasicTypeRegistry:147 – Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@1505dca
15:11:07,916 DEBUG BasicTypeRegistry:147 – Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@13d9211
15:11:07,916 DEBUG BasicTypeRegistry:147 – Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@140a3f5
15:11:07,916 DEBUG BasicTypeRegistry:147 – Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@cc420f
15:11:07,916 DEBUG BasicTypeRegistry:147 – Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@505f8
15:11:07,916 DEBUG BasicTypeRegistry:147 – Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@4e9d33
15:11:07,916  INFO BasicTypeRegistry:150 – Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@4c8422
15:11:07,916 DEBUG BasicTypeRegistry:147 – Adding type registration characters_clob -> org.hibernate.type.PrimitiveCharacterArrayClobType@12b1ff9
15:11:07,916  INFO BasicTypeRegistry:150 – Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@1fc9fee
15:11:07,916 DEBUG BasicTypeRegistry:147 – Adding type registration wrapper_characters_clob -> org.hibernate.type.CharacterArrayClobType@be8958
15:11:07,916  INFO BasicTypeRegistry:150 – Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@1e55d39
15:11:07,916 DEBUG BasicTypeRegistry:147 – Adding type registration wrapper_materialized_blob -> org.hibernate.type.WrappedMaterializedBlobType@132ad96
15:11:07,916  INFO BasicTypeRegistry:150 – Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@17a6686
15:11:07,917 DEBUG BasicTypeRegistry:147 – Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@1f31079
15:11:07,917  INFO BasicTypeRegistry:150 – Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@25753d
15:11:07,917 DEBUG BasicTypeRegistry:147 – Adding type registration clob -> org.hibernate.type.ClobType@2283ad
15:11:07,917  INFO BasicTypeRegistry:150 – Type registration [clob] overrides previous : org.hibernate.type.ClobType@fbd1fc
15:11:07,917 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@2283ad
15:11:07,917  INFO BasicTypeRegistry:150 – Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@fbd1fc
15:11:07,917 DEBUG BasicTypeRegistry:147 – Adding type registration blob -> org.hibernate.type.BlobType@15430c8
15:11:07,917  INFO BasicTypeRegistry:150 – Type registration [blob] overrides previous : org.hibernate.type.BlobType@1346812
15:11:07,917 DEBUG BasicTypeRegistry:147 – Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@15430c8
15:11:07,917  INFO BasicTypeRegistry:150 – Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@1346812
15:11:07,919 DEBUG SessionFactoryImpl:228 – Session factory constructed with filter configurations : {}
15:11:07,919 DEBUG SessionFactoryImpl:232 – instantiating session factory with properties: {java.runtime.name=Java(TM) SE Runtime Environment, hibernate.connection.password=, sun.boot.library.path=C:\Program Files (x86)\Java\jdk1.7.0_01\jre\bin, java.vm.version=21.1-b02, hibernate.connection.username=, java.vm.vendor=Oracle Corporation, java.vendor.url=http://java.oracle.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.script=, user.country=DE, sun.java.launcher=SUN_STANDARD, sun.os.patch.level=Service Pack 1, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Users\XXX\programmieren\workspace\HolidayCalculatorDB, java.runtime.version=1.7.0_01-b08, hibernate.ejb.discard_pc_on_close=false, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Program Files (x86)\Java\jdk1.7.0_01\jre\lib\endorsed, os.arch=x86, hibernate.connection.autocommit=true, java.io.tmpdir=C:\Users\XXX\AppData\Local\Temp\, line.separator=
, java.vm.specification.vendor=Oracle Corporation, user.variant=, os.name=Windows 7, sun.jnu.encoding=Cp1252, java.library.path=C:\Program Files (x86)\Java\jdk1.7.0_01\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre7/bin/client;C:/Program Files (x86)/Java/jre7/bin;C:/Program Files (x86)/Java/jre7/lib/i386;C:\Program Files (x86)\Business Objects\Common\3.5\bin\NOTES\;C:\Program Files (x86)\Business Objects\Common\3.5\bin\NOTES\DATA\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files\csvn\bin\;C:\Program Files\csvn\Python25\;C:\Program Files (x86)\CollabNet\Subversion Client;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Programme\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Smart Projects\IsoBuster;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\TortoiseHg\;C:\Program Files\SlikSvn\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\eclipse;;., java.specification.name=Java Platform API Specification, java.class.version=51.0, sun.management.compiler=HotSpot Client Compiler, os.version=6.1, user.home=C:\Users\XXX, user.timezone=Europe/Berlin, java.awt.printerjob=sun.awt.windows.WPrinterJob, hibernate.connection.release_mode=auto, java.specification.version=1.7, file.encoding=Cp1252, hibernate.format_sql=true, hibernate.connection.driver_class=org.hsqldb.jdbcDriver, user.name=XXX, java.class.path=C:\Users\XXX\programmieren\workspace\HolidayCalculatorDB\build\classes;C:\Users\XXX\programmieren\workspace\libraries\hsqldb-2.2.6\hsqldb\lib\hsqldb.jar;C:\Users\XXX\programmieren\workspace\libraries\junit4.10\junit-4.10.jar;C:\Users\XXX\programmieren\workspace\libraries\slf4j-1.6.4\slf4j-api-1.6.4.jar;C:\Users\XXX\programmieren\servers\glassfish3\glassfish\modules\jaxb-osgi.jar;C:\Users\XXX\programmieren\workspace\libraries\hibernate-distribution-3.6.8.Final\hibernate3.jar;C:\Users\XXX\programmieren\workspace\libraries\hibernate-distribution-3.6.8.Final\hibernate-testing.jar;C:\Users\XXX\programmieren\workspace\libraries\hibernate-distribution-3.6.8.Final\lib\required\antlr-2.7.6.jar;C:\Users\XXX\programmieren\workspace\libraries\hibernate-distribution-3.6.8.Final\lib\required\commons-collections-3.1.jar;C:\Users\XXX\programmieren\workspace\libraries\hibernate-distribution-3.6.8.Final\lib\required\dom4j-1.6.1.jar;C:\Users\XXX\programmieren\workspace\libraries\hibernate-distribution-3.6.8.Final\lib\required\javassist-3.12.0.GA.jar;C:\Users\XXX\programmieren\workspace\libraries\hibernate-distribution-3.6.8.Final\lib\required\jta-1.1.jar;C:\Users\XXX\programmieren\workspace\libraries\hibernate-distribution-3.6.8.Final\lib\jpa\hibernate-jpa-2.0-api-1.0.1.Final.jar;C:\Users\XXX\programmieren\workspace\libraries\hibernate-distribution-3.6.8.Final\lib\optional\entitymanager\hibernate-entitymanager-3.4.0.GA.jar;C:\Users\XXX\programmieren\workspace\libraries\hibernate-distribution-3.6.8.Final\lib\bytecode\cglib\cglib-2.2.jar;C:\Users\XXX\programmieren\workspace\libraries\slf4j-1.6.4\slf4j-log4j12-1.6.4.jar;C:\Users\XXX\programmieren\workspace\libraries\apache-log4j-1.2.16\log4j-1.2.16.jar, hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=true, hibernate.use_identifier_rollback=false, java.vm.specification.version=1.7, sun.arch.data.model=32, java.home=C:\Program Files (x86)\Java\jdk1.7.0_01\jre, sun.java.command=model.StartApp, hibernate.connection.url=jdbc:hsqldb:MyDB, hibernate.dialect=org.hibernate.dialect.HSQLDialect, java.specification.vendor=Oracle Corporation, user.language=de, awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, sharing, java.version=1.7.0_01, hibernate.transaction.flush_before_completion=false, java.ext.dirs=C:\Program Files (x86)\Java\jdk1.7.0_01\jre\lib\ext;C:\Windows\Sun\Java\lib\ext, sun.boot.class.path=C:\Program Files (x86)\Java\jdk1.7.0_01\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.7.0_01\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.7.0_01\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.7.0_01\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.7.0_01\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.7.0_01\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.7.0_01\jre\classes, java.vendor=Oracle Corporation, hibernate.archive.autodetection=class, hbm, file.separator=\, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, hibernate.hbm2ddl.auto=create, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, hibernate.query.jpaql_strict_compliance=true, sun.desktop=windows, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86}
15:11:07,982 DEBUG SessionFactoryObjectFactory:61 – initializing class SessionFactoryObjectFactory
15:11:07,982 DEBUG SessionFactoryObjectFactory:99 – registered: 29c295cc-5492-4b61-95cc-08eb6ef49726 (unnamed)
15:11:07,983  INFO SessionFactoryObjectFactory:105 – Not binding factory to JNDI, no JNDI name configured
15:11:07,983 DEBUG SessionFactoryImpl:369 – instantiated session factory
15:11:07,986 DEBUG Configuration:3995 – Processing hbm.xml files
15:11:07,986 DEBUG Configuration:4025 – Process annotated classes
15:11:07,986 DEBUG Configuration:1466 – processing fk mappings (*ToOne and JoinedSubclass)
15:11:07,986 DEBUG Configuration:1708 – processing extends queue
15:11:07,986 DEBUG Configuration:1762 – processing extends queue
15:11:07,986 DEBUG Configuration:1711 – processing collection mappings
15:11:07,986 DEBUG Configuration:1721 – processing native query and ResultSetMapping mappings
15:11:07,986 DEBUG Configuration:1729 – processing association property references
15:11:07,986 DEBUG Configuration:1751 – processing foreign key constraints
15:11:07,988 DEBUG Configuration:3995 – Processing hbm.xml files
15:11:07,988 DEBUG Configuration:4025 – Process annotated classes
15:11:07,988 DEBUG Configuration:1466 – processing fk mappings (*ToOne and JoinedSubclass)
15:11:07,988 DEBUG Configuration:1708 – processing extends queue
15:11:07,988 DEBUG Configuration:1762 – processing extends queue
15:11:07,988 DEBUG Configuration:1711 – processing collection mappings
15:11:07,988 DEBUG Configuration:1721 – processing native query and ResultSetMapping mappings
15:11:07,988 DEBUG Configuration:1729 – processing association property references
15:11:07,989 DEBUG Configuration:1751 – processing foreign key constraints
15:11:07,991  INFO SchemaExport:234 – Running hbm2ddl schema export
15:11:07,992 DEBUG SchemaExport:252 – import file not found: /import.sql
15:11:07,992  INFO SchemaExport:262 – exporting generated schema to database
15:11:07,992  INFO SchemaExport:281 – schema export complete
15:11:07,994 DEBUG SessionFactoryImpl:539 – Checking 0 named HQL queries
15:11:07,994 DEBUG SessionFactoryImpl:559 – Checking 0 named SQL queries
15:11:08,076 DEBUG SessionImpl:265 – opened session at timestamp: 13238718680
15:11:08,080 DEBUG JDBCTransaction:78 – begin
15:11:08,080 DEBUG ConnectionManager:444 – opening JDBC connection
15:11:08,081 DEBUG JDBCTransaction:83 – current autocommit status: true
15:11:08,081 DEBUG JDBCTransaction:86 – disabling autocommit
Person id before creation: 0
Exception in thread "main" java.lang.IllegalArgumentException: Unknown entity: model.Person
   at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:840)
   at model.StartApp.main(StartApp.java:51)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.