Advertisement
Guest User

Untitled

a guest
Jul 31st, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.84 KB | None | 0 0
  1. java -version
  2. java version "1.6.0_31"
  3. Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
  4. Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
  5. smarlow@smarlow: ~/test/javassist-test/target$ ..
  6. smarlow@smarlow: ~/test/javassist-test$ vim pom.xml
  7. smarlow@smarlow: ~/test/javassist-test$ cd target/
  8. smarlow@smarlow: ~/test/javassist-test/target$ java -jar javassist-test.jar
  9. 2013-07-31 19:47:37,882 INFO org.springframework.context.support.ClassPathXmlApplicationContext :503 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@690da5eb: startup date [Wed Jul 31 19:47:37 EDT 2013]; root of context hierarchy
  10. 2013-07-31 19:47:37,919 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader :315 - Loading XML bean definitions from class path resource [applicationContext.xml]
  11. 2013-07-31 19:47:38,238 INFO org.springframework.beans.factory.config.PropertyPlaceholderConfigurer :177 - Loading properties file from class path resource [application.properties]
  12. 2013-07-31 19:47:38,291 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor :115 - Initializing ExecutorService
  13. 2013-07-31 19:47:38,293 INFO org.springframework.context.support.ClassPathXmlApplicationContext :1362 - Bean 'yopCrawlerExecutor' of type [class org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  14. 2013-07-31 19:47:38,294 INFO org.springframework.context.support.ClassPathXmlApplicationContext :1362 - Bean 'yopCrawlerExecutor' of type [class org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  15. 2013-07-31 19:47:38,318 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler :115 - Initializing ExecutorService 'yopCrawlerScheduler'
  16. 2013-07-31 19:47:38,320 INFO org.springframework.context.support.ClassPathXmlApplicationContext :1362 - Bean 'yopCrawlerScheduler' of type [class org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  17. 2013-07-31 19:47:38,379 INFO com.mchange.v2.log.MLog :80 - MLog clients using log4j logging.
  18. 2013-07-31 19:47:38,433 INFO com.mchange.v2.c3p0.C3P0Registry :204 - Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
  19. 2013-07-31 19:47:38,777 INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean :283 - Building JPA container EntityManagerFactory for persistence unit 'puname'
  20. 2013-07-31 19:47:38,910 INFO org.hibernate.annotations.common.Version :37 - HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
  21. 2013-07-31 19:47:38,916 INFO org.hibernate.Version :41 - HHH000412: Hibernate Core {4.1.9.Final}
  22. 2013-07-31 19:47:38,917 INFO org.hibernate.cfg.Environment :239 - HHH000206: hibernate.properties not found
  23. 2013-07-31 19:47:38,919 INFO org.hibernate.cfg.Environment :342 - HHH000021: Bytecode provider name : javassist
  24. 2013-07-31 19:47:38,938 INFO org.hibernate.ejb.Ejb3Configuration :527 - HHH000204: Processing PersistenceUnitInfo [
  25. name: puname
  26. ...]
  27. 2013-07-31 19:47:40,152 INFO org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator :188 - HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
  28. 2013-07-31 19:47:40,196 INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource :462 - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 10, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> z8kflt8wfaobog1wfubon|d02b2b6, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.hsqldb.jdbcDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kflt8wfaobog1wfubon|d02b2b6, idleConnectionTestPeriod -> 3600, initialPoolSize -> 3, jdbcUrl -> jdbc:hsqldb:file:~/tmp/testdb;shutdown=true, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 14400, maxIdleTime -> 10800, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 1000, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 20, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> SELECT 1;, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
  29. 2013-07-31 19:47:40,567 INFO org.hibernate.dialect.Dialect :123 - HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
  30. 2013-07-31 19:47:40,574 INFO org.hibernate.engine.jdbc.internal.LobCreatorBuilder :120 - HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
  31. 2013-07-31 19:47:40,582 INFO org.hibernate.engine.transaction.internal.TransactionFactoryInitiator :73 - HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
  32. 2013-07-31 19:47:40,586 INFO org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory :48 - HHH000397: Using ASTQueryTranslatorFactory
  33. 2013-07-31 19:47:40,708 INFO org.hibernate.tool.hbm2ddl.SchemaExport :343 - HHH000227: Running hbm2ddl schema export
  34. Hibernate:
  35. alter table t_some_entity
  36. drop constraint FK2DE78243618E6F33
  37. Hibernate:
  38. drop table t_another_entity if exists
  39. Hibernate:
  40. drop table t_some_entity if exists
  41. Hibernate:
  42. create table t_another_entity (
  43. t_another_entity_id integer generated by default as identity (start with 1),
  44. name varchar(128) not null,
  45. primary key (t_another_entity_id)
  46. )
  47. Hibernate:
  48. create table t_some_entity (
  49. t_some_entity_id integer generated by default as identity (start with 1),
  50. name varchar(128) not null,
  51. t_another_id integer not null,
  52. primary key (t_some_entity_id)
  53. )
  54. Hibernate:
  55. alter table t_some_entity
  56. add constraint FK2DE78243618E6F33
  57. foreign key (t_another_id)
  58. references t_another_entity
  59. 2013-07-31 19:47:40,715 INFO org.hibernate.tool.hbm2ddl.SchemaExport :405 - HHH000230: Schema export complete
  60. 2013-07-31 19:47:40,742 INFO org.springframework.beans.factory.support.DefaultListableBeanFactory :577 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@67eb366: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.context.annotation.internalAsyncAnnotationProcessor,org.springframework.context.annotation.internalScheduledAnnotationProcessor,yopCrawlerExecutor,yopCrawlerScheduler,placeholderConfig,someServiceImpl,someEntityDAO,dataSource,entityManagerFactory,transactionManager,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
  61. Hibernate:
  62. insert
  63. into
  64. t_another_entity
  65. (t_another_entity_id, name)
  66. values
  67. (default, ?)
  68. Hibernate:
  69. insert
  70. into
  71. t_some_entity
  72. (t_some_entity_id, t_another_id, name)
  73. values
  74. (default, ?, ?)
  75. Hibernate:
  76. select
  77. someentity0_.t_some_entity_id as t1_1_,
  78. someentity0_.t_another_id as t3_1_,
  79. someentity0_.name as name1_
  80. from
  81. t_some_entity someentity0_
  82. 2013-07-31 19:47:41,125 INFO ru.zinin.service.SomeServiceImpl :44 - ID = 1
  83. Hibernate:
  84. select
  85. anotherent0_.t_another_entity_id as t1_0_0_,
  86. anotherent0_.name as name0_0_
  87. from
  88. t_another_entity anotherent0_
  89. where
  90. anotherent0_.t_another_entity_id=?
  91. 2013-07-31 19:47:41,127 INFO ru.zinin.service.SomeServiceImpl :48 - NAME = lalalala
  92. 2013-07-31 19:47:41,127 INFO ru.zinin.console.Main :26 - result: [SomeEntity{id=1, name='test1111', another=AnotherEntity{id=1, name='lalalala'}}]
  93. 2013-07-31 19:47:41,127 INFO org.springframework.context.support.ClassPathXmlApplicationContext :1032 - Closing org.springframework.context.support.ClassPathXmlApplicationContext@690da5eb: startup date [Wed Jul 31 19:47:37 EDT 2013]; root of context hierarchy
  94. 2013-07-31 19:47:41,128 INFO org.springframework.beans.factory.support.DefaultListableBeanFactory :434 - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@67eb366: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.context.annotation.internalAsyncAnnotationProcessor,org.springframework.context.annotation.internalScheduledAnnotationProcessor,yopCrawlerExecutor,yopCrawlerScheduler,placeholderConfig,someServiceImpl,someEntityDAO,dataSource,entityManagerFactory,transactionManager,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
  95. 2013-07-31 19:47:41,128 INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean :441 - Closing JPA EntityManagerFactory for persistence unit 'puname'
  96. 2013-07-31 19:47:41,130 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler :150 - Shutting down ExecutorService 'yopCrawlerScheduler'
  97. 2013-07-31 19:47:41,131 INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor :150 - Shutting down ExecutorService
  98. 2013-07-31 19:47:41,304 INFO hsqldb.db.HSQLDB3FF344AAB8.ENGINE :? - Database closed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement