Search Results
OK to copy?
Examples 1 through 10 of
77 (0.0080 seconds)
Class:
com.technoetic.xplanner.db.hibernate.HibernateIdentityGenerator
©,
Rating:
100% of 2,
C1
Class: org.springframework.jdbc.object.SqlFunctionTests ©, Rating: 100% of 1, C1
Class: com.technoetic.xplanner.db.hibernate.HibernateIdentityGenerator ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.db.hibernate.HibernateIdentityGenerator ©, Rating: 0% of 0, C1
Class: org.springframework.jdbc.object.BatchSqlUpdateTests ©, Rating: 0% of 0, C2
Class: com.technoetic.xplanner.db.AggregateTimesheetQuery ©, Rating: 100% of 2, C2
Class: com.technoetic.xplanner.upgrade.AttachmentUpgrader ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.db.PersonTimesheetQuery ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.db.PersonTimesheetQuery ©, Rating: 0% of 0, C1
Class: org.springframework.jdbc.object.SqlFunctionTests ©, Rating: 0% of 0, C1
088
089 private void populateIdentifierTable(Connection connection) throws SQLException {
090 PreparedStatement ips = connection.prepareStatement(
091 "insert into " + tableName + " values ( 0 )");
092 ips.execute();
Class: org.springframework.jdbc.object.SqlFunctionTests ©, Rating: 100% of 1, C1
194 ctrlPreparedStatement.setVoidCallable();
195
196 mockConnection.prepareStatement(FUNCTION_MIXED);
197 ctrlConnection.setReturnValue(mockPreparedStatement);
198
Class: com.technoetic.xplanner.db.hibernate.HibernateIdentityGenerator ©, Rating: 0% of 0, C1
066 }
067
068 PreparedStatement ups = conn.prepareStatement(update);
069 try {
070 ups.setInt(1, id + 1);
Class: com.technoetic.xplanner.db.hibernate.HibernateIdentityGenerator ©, Rating: 0% of 0, C1
050 // select + update even for no transaction
051 // or read committed isolation level
052 PreparedStatement qps = conn.prepareStatement(query);
053 try {
054 ResultSet rs = qps.executeQuery();
Class: org.springframework.jdbc.object.BatchSqlUpdateTests ©, Rating: 0% of 0, C2
071 ctrlDatabaseMetaData.setReturnValue(true);
072
073 mockConnection.prepareStatement(sql);
074 ctrlConnection.setReturnValue(mockPreparedStatement);
075 mockConnection.getMetaData();
Class: com.technoetic.xplanner.db.AggregateTimesheetQuery ©, Rating: 100% of 2, C2
070
071 Connection conn = session.connection();
072 PreparedStatement stmt = conn.prepareStatement(query);
073 stmt.setDate(1, new java.sql.Date(this.startDate.getTime()));
074 stmt.setDate(2, new java.sql.Date(this.endDate.getTime()));
Class: com.technoetic.xplanner.upgrade.AttachmentUpgrader ©, Rating: 0% of 0, C1
128
129 private void doNoteQuery(Session session, HashMap noteToProjectMap, String sql) throws SQLException, HibernateException {
130 PreparedStatement ps = session.connection().prepareStatement(
131 sql);
132 ResultSet rs = ps.executeQuery();
Class: com.technoetic.xplanner.db.PersonTimesheetQuery ©, Rating: 0% of 0, C1
113
114 private void doDailyQuery(Connection conn, Timesheet timesheet, String query) throws SQLException {
115 PreparedStatement stmt = conn.prepareStatement(query);
116 try {
117 stmt.setInt(1, this.personId);
Class: com.technoetic.xplanner.db.PersonTimesheetQuery ©, Rating: 0% of 0, C1
078 try {
079 Connection conn = session.connection();
080 PreparedStatement stmt = conn.prepareStatement(summaryQuery);
081 stmt.setDate(1, new java.sql.Date(this.startDate.getTime()));
082 stmt.setDate(2, new java.sql.Date(this.endDate.getTime()));
Class: org.springframework.jdbc.object.SqlFunctionTests ©, Rating: 0% of 0, C1
157 ctrlPreparedStatement.setVoidCallable();
158
159 mockConnection.prepareStatement(FUNCTION_INT);
160 ctrlConnection.setReturnValue(mockPreparedStatement);
161