2022-08-22 17:37:14.706 INFO 4460 --- [nio-8080-exec-3] e.controller.NodeExporterController : Starting reporting raw metrics
2022-08-22 17:37:14.736 INFO 4460 --- [nio-8080-exec-3] example.repository.AdditionalQueries : customFind: select sname as hostname,'dummy' as dc, aname as
application, iname as env from axixs x join server s on x.sid = s.sid left join
application a on x.aid = a.aid join instance i on x.iid = i.iid
2022-08-22 17:37:15.826 WARN 4460 --- [nio-8080-exec-3] org.hibernate.orm.connections.pooling : HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2022-08-22 17:37:15.831 INFO 4460 --- [nio-8080-exec-3] org.hibernate.orm.connections.pooling : HHH10001005: using driver [org.sqlite.JDBC] at URL [jdbc:sqlite:/c:/Users/Serguei/Desktop/data.db]
2022-08-22 17:37:15.834 INFO 4460 --- [nio-8080-exec-3] org.hibernate.orm.connections.pooling : HHH10001001: Connection properties: {user=, password=****}
2022-08-22 17:37:15.836 INFO 4460 --- [nio-8080-exec-3] org.hibernate.orm.connections.pooling : HHH10001003: Autocommit mode: false
2022-08-22 17:37:15.849 INFO 4460 --- [nio-8080-exec-3] .c.i.DriverManagerConnectionProviderImpl : HHH000115: Hibernate connection pool size: 20 (min=1)
2022-08-22 17:37:15.863 INFO 4460 --- [nio-8080-exec-3] org.hibernate.dialect.Dialect : HHH000400: Using dialect: example.sqlite.SQLiteDialect
2022-08-22 17:37:16.045 INFO 4460 --- [nio-8080-exec-3] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
Hibernate:
select
sname as hostname,
'dummy' as dc,
aname as application,
iname as env
from
axixs x
join
server s
on x.sid = s.sid
left join
application a
on x.aid = a.aid
join
instance i
on x.iid = i.iid
2022-08-22 17:37:16.172 INFO 4460 --- [nio-8080-exec-3] example.service.NodeExporter : Processing query result: [hostname00, dummy, application01,instance01]
Configuration configuration = new Configuration();
String propertiesFileName = "hibernate.cfg.xml";
/*
<hibernate-configuration>
<session-factory>
<property name="connection.driver_class">org.sqlite.JDBC</property>
<property name="hibernate.connection.url">jdbc:sqlite:/c:/Users/Serguei/Desktop/data.db</property>
<property name="connection.username"></property>
<property name="connection.password"></property>
<property name="dialect">example.sqlite.SQLiteDialect</property>
<property name="show_sql">true</property>
<property name="format_sql">true</property>
<mapping class="example.model.Server"/>
<mapping class="example.model.Instance"/>
<mapping class="example.model.Application"/>
</session-factory>
</hibernate-configuration>
*/
configuration.configure("hibernate.cfg.xml");
factory = configuration.buildSessionFactory();
put(webdriver.CommandName.SET_TIMEOUT,
post('/session/:sessionId/timeouts')).
put(webdriver.CommandName.SET_SCRIPT_TIMEOUT,
post('/session/:sessionId/timeouts/async_script')).
put(webdriver.CommandName.IMPLICITLY_WAIT,
... driver.manage().timeouts().setScriptTimeout(scriptTimeout, TimeUnit.SECONDS);
driver.manage().timeouts().implicitlyWait(implicitWait, TimeUnit.SECONDS);
driver.manage().timeouts().pageLoadTimeout(pageLoad , TimeUnit.SECONDS)
https://business.kazanexpress.ru/
отдает вместе с 403 кукуqrator_jsr
1661102257.122.Dy0herR6qWx9Ugvc-307lh3490cvmabj42tmo89gajvg8csor-00
https://business.kazanexpress.ru/__qrator
https://business.kazanexpress.ru/__qrator/validate??pow=88&nonce=1661102257.122.Dy0herR6qWx9Ugvc&qsessid=307lh3490cvmabj42tmo89gajvg8csor
qrator_jsid
Configuration configuration = new Configuration();
SessionFactory factory = configuration.buildSessionFactory();
String query = ...
Session session = factory.openSession()
Query<Object[]> nativeQuery = session.createNativeQuery(query);
List<Object[]> rows = nativeQuery.list();
не ран а кмд и
без запятой
но цвета в родительской консоли не будет
docker run -it xxx
\033[0;31mmessage\033[0m