Rev 2001 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2001 | Rev 2029 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | # <property name="hibernate.connection.username">@database.username@</property> |
44 | # <property name="hibernate.connection.username">@database.username@</property> |
45 | # <property name="hibernate.connection.password">@database.password@</property> |
45 | # <property name="hibernate.connection.password">@database.password@</property> |
46 | # <property name="show_sql">@hibernate.show.sql@</property> |
46 | # <property name="show_sql">@hibernate.show.sql@</property> |
47 | # |
47 | # |
48 | #3 - adicionar esta configuração ao compile no final da tarefa |
48 | #3 - adicionar esta configura��o ao compile no final da tarefa |
49 | # <copy file="conf/jdbc.properties" todir="build/ant/classes/pt/estgp/es/exemplos/hibernate"/> |
49 | # <copy file="conf/jdbc.properties" todir="build/ant/classes/pt/estgp/es/exemplos/hibernate"/> |
50 | # <replace file="build/ant/classes/pt/estgp/es/exemplos/hibernate/jdbc.properties"> |
50 | # <replace file="build/ant/classes/pt/estgp/es/exemplos/hibernate/jdbc.properties"> |
51 | # <replacefilter token="@database.username@" value="${database.username}"/> |
51 | # <replacefilter token="@database.username@" value="${database.username}"/> |
52 | # <replacefilter token="@database.password@" value="${database.password}"/> |
52 | # <replacefilter token="@database.password@" value="${database.password}"/> |
53 | # <replacefilter token="@database.connection.url@" value="${database.connection.url}"/> |
53 | # <replacefilter token="@database.connection.url@" value="${database.connection.url}"/> |
54 | # </replace> |
54 | # </replace> |
Line 114... | Line 114... | ||
114 | # <replacefilter token='<timestamp' value='<timestamp source="db"'/> |
114 | # <replacefilter token='<timestamp' value='<timestamp source="db"'/> |
115 | # </replace> |
115 | # </replace> |
116 | #</target> |
116 | #</target> |
117 | # |
117 | # |
118 | # 5 - Adicionar a pasta src/gen às sources no IntelliJ |
118 | # 5 - Adicionar a pasta src/gen �s sources no IntelliJ |
119 | # |
119 | # |
120 | # 6 - Adicionar a pasta src/gen à compilação no build.xml alterando o iajc para isto: |
120 | # 6 - Adicionar a pasta src/gen � compila��o no build.xml alterando o iajc para isto: |
121 | #<iajc source="1.8" target="1.8" destdir="build/ant/classes" classpath="lib/aspectj/aspectjrt.jar" classpathref="pathref"> |
121 | #<iajc source="1.8" target="1.8" destdir="build/ant/classes" classpath="lib/aspectj/aspectjrt.jar" classpathref="pathref"> |
122 | # <sourceroots> |
122 | # <sourceroots> |
123 | # <pathelement location="src/java"/> |
123 | # <pathelement location="src/java"/> |
124 | # <pathelement location="src/gen"/> |
124 | # <pathelement location="src/gen"/> |
125 | # </sourceroots> |
125 | # </sourceroots> |
126 | #</iajc> |
126 | #</iajc> |
Line 134... | Line 134... | ||
134 | ##database configuration |
134 | ##database configuration |
135 | hibernate.show.sql=false |
135 | hibernate.show.sql=false |
136 | database.host=localhost |
136 | database.host=localhost |
137 | database.port=3306 |
137 | database.port=3306 |
138 | database.catalog=teste |
138 | database.catalog=bacoalunos |
139 | database.username=root |
139 | database.username=root |
140 | database.password=root |
140 | database.password=root |
141 | database.connection.url=jdbc:mysql://${database.host}:${database.port}/${database.catalog}?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true |
141 | database.connection.url=jdbc:mysql://${database.host}:${database.port}/${database.catalog}?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true |
142 | 142 | ||
143 | pt.estgp.es.exemplos.hibernate.web.pluginSession.RegisterSession=pt.estgp.es.exemplos.hibernate.web.pluginSession.ServerRegisterSession |
143 | pt.estgp.es.exemplos.hibernate.web.pluginSession.RegisterSession=pt.estgp.es.exemplos.hibernate.web.pluginSession.ServerRegisterSession |
144 | 144 | ||
145 | Generated by GNU Enscript 1.6.5.2. |
145 | Generated by GNU Enscript 1.6.5.2. |