Advertisement
Guest User

Untitled

a guest
Jan 29th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. sts@sts:~/workspace/business-function-kukuh$ mvn clean package jleaf:generate-entity-dao
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------------------------------------------------------------
  5. [INFO] Building Learn Jleaf Business Object 1.0.1-SNAPSHOT
  6. [INFO] ------------------------------------------------------------------------
  7. [INFO]
  8. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ learn-bo ---
  9. [INFO] Deleting /home/sts/workspace/business-function-kukuh/target
  10. [INFO]
  11. [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ learn-bo ---
  12. [debug] execute contextualize
  13. [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
  14. [INFO] Copying 1 resource
  15. [INFO]
  16. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ learn-bo ---
  17. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
  18. [INFO] Compiling 29 source files to /home/sts/workspace/business-function-kukuh/target/classes
  19. [INFO]
  20. [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ learn-bo ---
  21. [debug] execute contextualize
  22. [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
  23. [INFO] Copying 14 resources
  24. [INFO]
  25. [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ learn-bo ---
  26. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
  27. [INFO] Compiling 10 source files to /home/sts/workspace/business-function-kukuh/target/test-classes
  28. [INFO]
  29. [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ learn-bo ---
  30. [INFO] Tests are skipped.
  31. [INFO]
  32. [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ learn-bo ---
  33. [INFO] Building jar: /home/sts/workspace/business-function-kukuh/target/learn-bo-1.0.1-SNAPSHOT.jar
  34. [INFO]
  35. [INFO] --- jleaf-maven-plugin:2.1.4:generate-entity-dao (default-cli) @ learn-bo ---
  36. [INFO] BEGIN generate entity dao, daoimpl
  37. [INFO] Configuiration Generate Entity Dao Plugin :
  38. [INFO] # serverConfig.persistenceXml = /home/sts/workspace/business-function-kukuh/src/main/resources/META-INF/learn-persistence.xml
  39. [INFO] # serverConfig.groupId = org.jleaf
  40. [INFO] # serverConfig.artifactId = jleaf-server-config
  41. [INFO] # serverConfig.version = 2.1.0
  42. [INFO] # serverConfig.file.source = server-config-local.properties
  43. [INFO] # serverConfig.target.forClass = /home/sts/workspace/business-function-kukuh/src/main/java
  44. [INFO] # serverConfig.target.forClass = /home/sts/workspace/business-function-kukuh/src/main/java
  45. Press <ENTER> if unchaged
  46.  
  47. Database driver (org.postgresql.Driver) :
  48. Database url (jdbc:postgresql://localhost:5432/jleaf) : jdbc:postgresql://localhost:5432/learn-jleaf
  49. Database username (postgres) :
  50. Database password (postgres) :
  51. log4j:WARN No appenders could be found for logger (org.springframework.jdbc.datasource.DriverManagerDataSource).
  52. log4j:WARN Please initialize the log4j system properly.
  53. [INFO] List tablename :
  54. customer
  55.  
  56. Table Name () : customer
  57.  
  58. [INFO] Table found in database
  59. [INFO] Column :
  60. customer_id
  61. customer_code
  62. customer_name
  63. address_line_1
  64. address_line_2
  65. city
  66. state_of_province
  67. postal_code
  68. phone_number
  69. mobile_phone
  70. active
  71. active_datetime
  72. non_active_datetime
  73. create_user_id
  74. update_user_id
  75. create_datetime
  76. update_datetime
  77. version
  78.  
  79. [INFO] ENTITY CLASS
  80.  
  81. Entity Package () : org.jleaf.learnjleaf.entity
  82. Entity Name (CustomerCustomer) : Customer
  83. Author : Kukuh
  84.  
  85. [INFO] LIST ENTITY EXTENDS :
  86. Option list :
  87. 1. BaseEntity
  88. 2. BaseEntityMaster
  89. 3. None
  90.  
  91. Entity extends (2) : 2
  92.  
  93. [INFO] PRIMARY KEY USING SEQUENCE
  94.  
  95. column = customer_id, type = Long, sequence = lj_customer_seq
  96. customer_id (id) :
  97.  
  98. [INFO] LIST COLUMN INFO
  99.  
  100. 1. name = customer_code, data type = character varying, length = 50
  101. 2. name = customer_name, data type = character varying, length = 100
  102. 3. name = address_line_1, data type = character varying, length = 1024
  103. 4. name = address_line_2, data type = character varying, length = 1024
  104. 5. name = city, data type = character varying, length = 100
  105. 6. name = state_of_province, data type = character varying, length = 100
  106. 7. name = postal_code, data type = character varying, length = 50
  107. 8. name = phone_number, data type = character varying, length = 50
  108. 9. name = mobile_phone, data type = character varying, length = 50
  109.  
  110. [INFO] FILL COLUMN INFO
  111.  
  112. 1. customer_code (customerCode) :
  113. 2. customer_name (customerName) :
  114. 3. address_line_1 (addressLine1) :
  115. 4. address_line_2 (addressLine2) :
  116. 5. city (city) :
  117. 6. state_of_province (stateOfProvince) :
  118. 7. postal_code (postalCode) :
  119. 8. phone_number (phoneNumber) :
  120. 9. mobile_phone (mobilePhone) :
  121.  
  122. [INFO] Writing entity java file
  123. File /home/sts/workspace/business-function-kukuh/src/main/java/org/jleaf/learnjleaf/entity/Customer.java exists, ovewrite file? (N) : Y
  124.  
  125.  
  126. [INFO] GENERATE Dao and DaoImpl
  127.  
  128. Package name for Dao (org.jleaf.learnjleaf.dao) :
  129. Dao Name (CustomerDao) :
  130. Dao Impl Name (CustomerDaoImpl) :
  131.  
  132. [INFO] Writing Dao and DaoImpl file
  133. File /home/sts/workspace/business-function-kukuh/src/main/java/org/jleaf/learnjleaf/dao/CustomerDao.java exists, ovewrite file? (N) : Y
  134. File /home/sts/workspace/business-function-kukuh/src/main/java/org/jleaf/learnjleaf/dao/CustomerDaoImpl.java exists, ovewrite file? (N) : Y
  135. [INFO] Done generate Dao and DaoImpl
  136. entity : org.jleaf.learnjleaf.entity.Customer
  137. [INFO] Adding <class>org.jleaf.learnjleaf.entity.Customer</class> persistence xml
  138. persistenceXml :
  139.  
  140. <?xml version="1.0" encoding="UTF-8"?>
  141. <persistence version="1.0"
  142. xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  143. xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
  144. <persistence-unit name="default" transaction-type="RESOURCE_LOCAL">
  145.  
  146. <class>org.jleaf.learnjleaf.entity.Sample</class>
  147.  
  148. <class>org.jleaf.learnjleaf.entity.Customer</class>
  149. </persistence-unit>
  150. </persistence>
  151.  
  152.  
  153.  
  154. [INFO] PLEASE RESFRESH YOUR PROJECT IN ECLIPSE TO VIEW THE GENERATED CLASS FILE
  155.  
  156.  
  157. [INFO] END generate entity dao, daoimpl
  158. [INFO] ------------------------------------------------------------------------
  159. [INFO] BUILD SUCCESS
  160. [INFO] ------------------------------------------------------------------------
  161. [INFO] Total time: 6:47.400s
  162. [INFO] Finished at: Mon Jan 30 11:48:54 WIT 2017
  163. [INFO] Final Memory: 21M/216M
  164. [INFO] ------------------------------------------------------------------------
  165. sts@sts:~/workspace/business-function-kukuh$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement